IOleDocument interface (docobj.h)

Enables a document object to communicate to containers its ability to create views of its data. This interface also enables a document object to enumerate its views and to provide containers with miscellaneous information about itself, such as whether it supports multiple views or complex rectangles.

Inheritance

The IOleDocument interface inherits from the IUnknown interface. IOleDocument also has these types of members:

Methods

The IOleDocument interface has these methods.

 
IOleDocument::CreateView

Creates a document view object in the caller's process and obtains a pointer to that object's IOleDocumentView interface.
IOleDocument::EnumViews

Creates an object that enumerates the views supported by a document object, or if only one view is supported, returns a pointer to that view.
IOleDocument::GetDocMiscStatus

Retrieves status information about the document object.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header docobj.h

See also

IOleCommandTarget

IOleDocumentSite

IOleDocumentView

IPrint