C.1.5 Generic Presentation Object Storage Layout

Windows

OLE Version # Format ID = 5 Class String Clipboard format value Clipboard format name (present only if preceding value is null) Presentation data size in Bytes Presentation Data
Long Long Variable Long Variable Long Variable

Macintosh

OLE Version # Format ID = 5 Class String Clipboard format type Presentation data size in Bytes Presentation Data
Long Long Variable Long Long Variable

The class string is the class name of the server application for that object. In Windows, the clipboard format name will only be included if the clipboard format value is NULL. Otherwise Presentation data size follows the clipboard format value.

On the Macintosh, only a clipboard type is used. It is the responsibility of either the client application or the object handler to save and load (or set) the bounds of the object in HIMETRIC or Pixel units along with the object.

When loading an object from a foreign file system (such as in the case of going from Macintosh to Windows), TEXT and RTF clipboard formats will be converted by the DLLs and the data will persist. All other generic formats will be skipped and a blank picture will be substituted.