Export (0) Print
Expand All

3.8.5 External Video Example

Office

This example shows how to locate the external video object on presentation slide 4 as shown in figure titled "Presentation slide 4" in section 3.1.

The child-record hierarchy of the DrawingContainer (section 2.5.13) record A from the table titled "SlideContainer record I child-record hierarchy" in section 3.5.2 is shown expanded in the following table.

DrawingContainer child-record hierarhcy

Offset

Size

Structure

000037DD

01BA

DrawingContainer - drawing

000037DD

0008

    RecordHeader- rh

000037E5

01B2

    OfficeArtDgContainer - OfficeArtDg

000037E5

0008

        OfficeArtRecordHeader - rh

000037ED

0010

        OfficeArtFDG - drawingData

000037FD

014A

        OfficeArtSpgrContainer - groupShape

000037FD

0008

            OfficeArtRecordHeader - rh

00003805

0030

            OfficeArtSpContainer - case of msofbtSpContainer

00003835

007A

            A: OfficeArtSpContainer - case of msofbtSpContainer

000038AF

0098

            OfficeArtSpContainer - case of msofbtSpContainer

00003947

0050

        OfficeArtSpContainer - shape

The child-record hierarchy of the OfficeArtSpContainer ([MS-ODRAW] section 2.2.14) record A from the previous table is shown expanded in the following table.

OfficeArtSpContainer record A child-record hierarchy

Offset

Size

Structure

Value

000038AF

0098

A: OfficeArtSpContainer - case of msofbtSpContainer

000038AF

0008

    OfficeArtRecordHeader - rh

000038B7

0010

    OfficeArtFSP - shapeProp

000038C7

002C

    OfficeArtFOPT - shapePrimaryOptions

000038F3

0010

    OfficeArtClientAnchor- clientAnchor

00003903

0044

    OfficeArtClientData- clientData

00003903

0008

        OfficeArtRecordHeader - rh

0000390B

000C

        ExObjRefAtom- exObjRefAtom

0000390B

0008

            RecordHeader - rh

00003913

0004

            unsigned integer - exObjIdRef

0x0000001B

00003917

0020

        MouseClickInteractiveInfoContainer- mouseClickInteractiveInfo

00003937

0010

        PlaceholderAtom- placeholderAtom

clientData.exObjRefAtom.exObjIdRef: 0x0000001B specifies a reference to an external object with exObjId value 0x0000001B in the ExObjListContainer record (section 2.10.1) at the document level.

The ExObjListContainer record is shown as record F in the table titled "DocumentContainer child-record hierarchy" in section 3.4, and is shown expanded in the table titled "ExObjListContainer child-record hierarchy" in this section. The child-record hierarchy of ExMCIMovieContainer record H is shown expanded in the following table.

ExMCIMovieContainer record H child-record hierarchy

Offset

Size

Structure

Value

00005D57

003E

H: ExMCIMovieContainer - case of RT_ExternalMciMovie

00005D57

0008

    RecordHeader - rh

00005D57

4 bits

        unsigned integer - recVer

0xF

00005D57

12 bits

        unsigned integer - recInstance

0x000

00005D59

0002

        RecordType- recType

0x1007

00005D5B

0004

        unsigned integer - recLen

0x00000036

00005D5F

0036

    ExVideoContainer- exVideo

00005D5F

0008

        RecordHeader - rh

00005D67

0010

        ExMediaAtom- exMediaAtom

00005D67

0008

            RecordHeader - rh

00005D6F

0004

            unsigned integer - exObjId

0x0000001B

00005D73

0002

            unsigned integer - fLoop

0x0000

00005D73

0002

            unsigned integer - fRewind

0x0000

00005D73

0002

            unsigned integer - fNarration

0x0000

00005D73

0002

            unsigned integer - reserved

0x0000

00005D77

001E

        UncOrLocalPathAtom- videoFilePathAtom

00005D77

0008

            RecordHeader - rh

00005D7F

0016

            UncOrLocalPath- path

C:\Bear.wmv

exVideo.exMediaAtom.exObjId: 0x0000001B specifies the identifier of the external object. It matches the value of the exObjRefAtom.exObjIdRef field in the table titled "OfficeArtSpContainer record A child-record hierarchy" in this section.

exVideo.exMediaAtom.fLoop: 0x0000 specifies that the video data is not repeated continuously.

exVideo.exMediaAtom.fRewind: 0x0000 specifies that the video data is not rewound after playing.

exVideo.exMediaAtom.fNarration: 0x0000 specifies that the video data is not recorded narration for the slide show.

exVideo.videoFilePathAtom.path: "C:\Bear.wmv" specifies the local path string to the video file.

Show:
© 2014 Microsoft