CanSaveFileType |
protected
virtual bool CanSaveFileType( const ACFString &inTypeName) const
Determine if the given file type is currently available for saving. Called by GenerateSaveTypes.
CompleteSaveAction |
protected
virtual void CompleteSaveAction();
If the document was being saved before closing, this method finishes by deleting the document.
DocumentTypeName |
public
virtual ACFString DocumentTypeName() const;
The default implementation returns the first type listed in the Info.plist file.
FileCreator |
public
virtual OSType FileCreator();
The default implementation returns the creator type from the Info.plist file.
FileType |
public
virtual OSType FileType();
The default implementation returns the first OSType listed in the Info.plist dictionary, using DocumentTypeName() to look up the document info.
FinishSaveAs |
protected
virtual void FinishSaveAs( ANavReply &inReply);
ShouldSave |
protected
virtual bool ShouldSave()
For example, an application in demo mode would return false from this function if saving is restricted.
ShowSearchText |
protected
virtual void ShowSearchText( const std::string &inSearchText)
This method is called from Initialize() when a document was opened from a Spotlight search.
- inSearchText
- The text from the Spotlight search.
(Last Updated October 06, 2006)