docobj.h header

This header is used by Component Object Model (COM). For more information, see:

docobj.h contains the following programming interfaces:

Interfaces

 
IContinueCallback

Provides a generic callback mechanism for interruptible processes that should periodically ask an object whether to continue.
IEnumOleDocumentViews

Enumerates the views supported by a document object.
IOleCommandTarget

Enables objects and their containers to dispatch commands to each other. For example, an object's toolbars may contain buttons for commands such as Print, Print Preview, Save, New, and Zoom.
IOleDocument

Enables a document object to communicate to containers its ability to create views of its data.
IOleDocumentSite

Enables a document that has been implemented as a document object to bypass the normal activation sequence for in-place-active objects and to directly instruct its client site to activate it as a document object.
IOleDocumentView

The IOleDocumentView interface enables a container to communicate with each view supported by a document object.
IPrint

Enables compound documents in general and active documents in particular to support programmatic printing.

Structures

 
OLECMD

Associates command flags from the OLECMDF enumeration with a command identifier through a call to IOleCommandTarget::QueryStatus.
OLECMDTEXT

Specifies a text name or status string for a single command identifier.
PAGERANGE

Specifies a range of pages.
PAGESET

Identifies one or more page-ranges to be printed and, optionally, identifies only the even or odd pages as part of a pageset.

Enumerations

 
DOCMISC

Provides miscellaneous property information about a document object.
OLECMDEXECOPT

Specifies command execution options.
OLECMDF

Specifies the type of support provided by an object for the command specified in an OLECMD structure.
OLECMDID

Specifies which standard command is to be executed. A single value from this enumeration is passed in the nCmdID argument of IOleCommandTarget::Exec.
OLECMDID_WINDOWSTATE_FLAG

Specifies the window state.
OLECMDTEXTF

Specifies the type of information that an object should store in the OLECMDTEXT structure passed in IOleCommandTarget::QueryStatus.