CDocument Members
Base Class Members
Construction
Constructs a CDocument object. |
Operations
Attaches a view to the document. |
|
Initializes chunk reading. |
|
Clears the chunk list. |
|
Looks for a chunk with specified GUID. |
|
Returns a pointer to object implementing IDocument interface. |
|
Returns a pointer to the document template that describes the type of the document. |
|
Returns the position of the first in the list of views; used to begin iteration. |
|
Iterates through the list of views associated with the document. |
|
Returns the path of the document's data file. |
|
Called to create a bitmap to be used by thumbnail provider to display thumbnail. |
|
Returns the document's title. |
|
Called to initialize search content for Search Handler. |
|
Indicates whether the document has been modified since it was last saved. |
|
Tells whether this instance of CDocument object was created for Search & Organize handler. |
|
Called to load document data from stream. |
|
Reads next chunk value. |
|
Removes a chunk with specified GUID |
|
Detaches a view from the document. |
|
Sets a chunk value. |
|
Sets a flag indicating that you have modified the document since it was last saved. |
|
Sets the path of the data file used by the document. |
|
Sets the document's title. |
|
Notifies all views that document has been modified. |
Public Data Members
Specifies that CDocument object was created by dllhost for thumbnails. Should be checked in CView::OnDraw. |
|
Specifies that CDocument object was created by prevhost for Rich Preview. Should be checked in CView::OnDraw. |
|
Specifies that CDocument object was created by indexer or other search application. |
|
Specifies background color of Rich Preview window. This color is set by host. |
|
Specifies foreground color of Rich Preview window. This color is set by host. |
|
Specifies text font for Rich Preview window. This font information is set by host. |
Overridables
Advanced overridable; called before closing a frame window viewing this document. |
|
Clears the path of the document object. |
|
Called to perform cleanup of the document. |
|
Returns a pointer to the desired CFile object. |
|
Called before Rich Preview font is changed. |
|
Called after a view is added to or removed from the document. |
|
Called to close the document. |
|
Called by the framework when it needs to create a preview frame for Rich Preview. |
|
Called by the framework in response to a document event. |
|
Override this method in a derived class to draw content of thumbnail. |
|
Called by the framework when it needs to load the document data from stream. |
|
Called to create a new document. |
|
Called to open an existing document. |
|
Directs the preview handler to return the HWND from calling the GetFocus Function. |
|
Directs the preview handler to handle a keystroke passed up from the message pump of the process in which the preview handler is running. |
|
Called when Rich Preview background color has changed. |
|
Called when Rich Preview font has changed. |
|
Called when Rich Preview site has changed. |
|
Called when Rich Preview text color has changed. |
|
Called to save the document to disk. |
|
Called by the framework when the preview handler is being unloaded. |
|
Called before the frame window is closed. |
|
Releases a file to make it available for use by other applications. |
|
Advanced overridable; called when an open or save operation cannot be completed because of an exception. |
|
Advanced overridable; called to ask the user whether the document should be saved. |
Mail Functions
Sends a mail message with the document attached. |
|
Enables the Send Mail command if mail support is present. |