CDocTemplate Methods

Constructors Methods

Method Description
CDocTemplate Constructs a CDocTemplate object.

Attributes Methods

Method Description
GetFirstDocPosition Retrieves the position of the first document associated with this template.
GetNextDoc Retrieves a document and the position of the next one.
LoadTemplate Loads the resources for a specified CDocTemplate or derived class.

Operations Methods

Methods Description
AddDocument Adds a document to a template.
RemoveDocument Removes a document from a template.
GetDocString Retrieves a string associated with the document type.

Overridable Methods

Method Description
MatchDocType Determines the degree of confidence in the match between a document type and this template.
CreateNewDocument Creates a new document.
CreateNewFrame Creates a new frame window containing a document and view.
InitialUpdateFrame Initializes the frame window, and optionally makes it visible.
SaveAllModified Saves all documents associated with this template which have been modified.
CloseAllDocuments Closes all documents associated with this template.
OpenDocumentFile Opens a file specified by a pathname.