DraftClosing
Document ShellThe
DraftClosingmethod is called to notify this link manager that the specified draft is about to be closed.
void DraftClosing (in ODDraft draft);
draft- A reference to the draft to be closed.
DISCUSSION
The document shell calls this method before reverting or closing the specified draft. If the draft contains any cross-document links created since the last save, the link manager breaks those links at the source; on the Mac OS platform, it deletes the edition files for those links.A container application can call the
UnsavedExportedLinksmethod to determine whether closing the document without saving the draft would result in the loss of cross-document links.SEE ALSO
TheODLinkManager::UnsavedExportedLinksmethod (page 369).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help