Important: The information in this document is obsolete and should not be used for new development.
CreatePartInNewDocument
Creates a new part as a separate OpenDoc document.
ODPart CreatePartInNewDocument (in ODType partType, in ODEditor optionalEditor);
partType
- The part kind to use for the new part.
optionalEditor
- The part editor to use for the new part.
- return value
- The newly created part.
DISCUSSION
This method creates a new OpenDoc document with a new part as the root part of the document. The document is created in a temporary file. This method calls theODDraft::CreatePart
method.Cyberdog calls this method to create the Cyberdog session document. Cyberdog mail calls this method to create a new message.
Do not subclass this class.
SEE ALSO
TheCreatePartInCyberDocument
method (page 357).