2.2.2.1 MetaFilePresentationObject

The MetaFilePresentationObject structure specifies a presentation data type that is used to display linked objects or embedded objects in container applications. The presentation data is in the form of a Windows metafile (as specified in [MS-WMF] section 1.3.1).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header (variable)

...

PresentationDataSize

Reserved1

Reserved2

Reserved3

Reserved4

PresentationData (variable)

...

Header (variable): This MUST be a StandardPresentationObject (section 2.2.2). The ClassName field of the contained PresentationObjectHeader (section 2.2.1) MUST be set to the case-sensitive value "METAFILEPICT".

PresentationDataSize (4 bytes): This MUST be an unsigned long integer set to the sum of the size, in bytes, of the PresentationData field and the number 8. If this field contains the value 8, the PresentationData field MUST NOT be present.

Reserved1 (2 bytes): Reserved. This can be set to any arbitrary value and MUST be ignored on processing.

Reserved2 (2 bytes): Reserved. This can be set to any arbitrary value and MUST be ignored on processing.

Reserved3 (2 bytes): Reserved. This can be set to any arbitrary value and MUST be ignored on processing.

Reserved4 (2 bytes): Reserved. This can be set to any arbitrary value and MUST be ignored on processing.

PresentationData (variable):  This MUST be an array of bytes that contain a metafile (as specified in [MS-WMF] section 1.3.1).