Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberSession


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 the ODDraft::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
The CreatePartInCyberDocument method (page 357).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996