共用方式為


CDocTemplate Members

Base Class Members

CObject Members

CCmdTarget Members

Constructors

CDocTemplate

Constructs a CDocTemplate object.

Attributes

SetContainerInfo

Determines the resources for OLE containers when editing an in-place OLE item.

SetServerInfo

Determines the resources and classes when the server document is embedded or edited in-place.

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.

CreateOleFrame

Creates an OLE-enabled frame window.

CreatePreviewFrame

Creates a child frame used for Rich Preview.

SetPreviewInfo

Setups out of process preview handler.

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.

SetDefaultTitle

Displays the default title in the document window's title bar.

See Also

Reference

CDocTemplate Class

Hierarchy Chart