CDocTemplate Member Functions

Constructors
CDocTemplate Constructs a CDocTemplate object.

Attributes
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 given CDocTemplate or derived class.

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

Overridables
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.

See Also

CDocTemplate Overview, Application Architecture Classes