WritePartInfo
TheWritePartInfomethod should write the part info data for a display frame of this part into the specified storage-unit view object.
void WritePartInfo (in ODInfoType partInfo, in ODStorageUnitView storageUnitView);
partInfo- The part info data to write.
storageUnitView- A reference to a storage-unit view object that is focused to the frame's part info property, but not to any value within that property.
DISCUSSION
When a document is saved (using the Save command from the Document menu), OpenDoc may ask this part to save a display frame's part info data to a particular storage unit. OpenDoc calls this method when it writes out the part info data for a display frame of a part.Your part's
WritePartInfomethod should get the storage unit associated with the specified storage-unit view and focus it to the value(s) in the frame's part info property as necessary to write the formats it needs.OVERRIDING
When you subclassODPart, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheODInfoTypetype (page 883).
TheODPart::ClonePartInfomethod (page 487).
TheODPart::ReadPartInfomethod (page 538).
"The WritePartInfo Method" on page 110 in OpenDoc Cookbook.
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Reading and Writing Part Info" on page 302 in OpenDoc Programmer's Guide.