Important: The information in this document is obsolete and should not be used for new development.
GetDestinationDraft
Retrieves the OpenDoc draft in which this opener part is embedded.
ODDraft GetDestinationDraft ();
- return value
- The opener part's draft if the opener part is embedded; otherwise,
kODNULL
.DISCUSSION
TheCyberSession::CreateCyberPart
method calls this method to determine in which document to create a Cyberdog display part. IfGetDestinationDraft
returns a draft, the opener part is embedded in an OpenDoc document and the display part should be as well. IfGetDestinationDraft
returnskODNULL
, the opener part is not embedded in an OpenDoc document; in this case,CreateCyberPart
callsCreatePartInCyberDocument
to create the display part in the Cyberdog session document.If you subclass
CyberOpenerPartExtension
, you must override this method. Your override must call its inherited method.SEE ALSO
TheCyberSession::CreateCyberPart
method (page 356).
TheCyberSession::CreatePartInCyberDocument
method (page 357).