IOleDocument interface
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.
When to implement
An OLE document that is to be activated as a document object at the very least must implement this interface. If an application exposes more than one type of document object, each type must implement IOleDocument.
When to use
A container of document objects calls the methods of this interface to ask a document object to create views of itself, enumerate the views it supports, or provide miscellaneous information about its capabilities.
Members
The IOleDocument interface inherits from the IUnknown interface. IOleDocument also has these types of members:
Methods
The IOleDocument interface has these methods.
| Method | Description |
|---|---|
| CreateView |
Creates a document view object. |
| EnumViews |
Creates an object that enumerates the views supported by a document object. |
| GetDocMiscStatus |
Retrieves status information about the document object. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleDocument is defined as b722bcc5-4e68-101b-a2bc-00aa00404770 |
See also