다음을 통해 공유


COleServerDoc Members

Base Class Members

Construction

Attributes

Operations

Overridables

Base Class Members

CObject Members

CCmdTarget Members

CDocument Members

COleDocument Members

COleLinkingDoc Members

Construction

COleServerDoc

Constructs a COleServerDoc object.

Attributes

GetClientSite

Retrieves a pointer to the underlying IOleClientSite interface.

GetEmbeddedItem

Returns a pointer to an item representing the entire document.

GetItemClipRect

Returns the current clipping rectangle for in-place editing.

GetItemPosition

Returns the current position rectangle, relative to the container application's client area, for in-place editing.

GetZoomFactor

Returns the zoom factor in pixels.

IsDocObject

Determines if the document is a DocObject.

IsEmbedded

Indicates whether the document is embedded in a container document or running stand-alone.

IsInPlaceActive

Returns TRUE if the item is currently activated in place.

Operations

ActivateDocObject

Activates the associated DocObject document.

ActivateInPlace

Activates the document for in-place editing.

DeactivateAndUndo

Deactivates the server's user interface.

DiscardUndoState

Discards undo-state information.

NotifyChanged

Notifies containers that the user has changed the document.

NotifyClosed

Notifies containers that the user has closed the document.

NotifyRename

Notifies containers that the user has renamed the document.

NotifySaved

Notifies containers that the user has saved the document.

OnExecOleCmd

Executes a specified command or displays help for the command.

RequestPositionChange

Changes the position of the in-place editing frame.

SaveEmbedding

Tells the container application to save the document.

ScrollContainerBy

Scrolls the container document.

UpdateAllItems

Notifies containers that the user has changed the document.

Overridables

CreateInPlaceFrame

Called by the framework to create a frame window for in-place editing.

DestroyInPlaceFrame

Called by the framework to destroy a frame window for in-place editing.

GetDocObjectServer

Override this function to create a new CDocObjectServer object and indicate that this document is a DocObject container.

OnClose

Called by the framework when a container requests to close the document.

OnDeactivate

Called by the framework when the user deactivates an item that was activated in place.

OnDeactivateUI

Called by the framework to destroy controls and other user-interface elements created for in-place activation.

OnDocWindowActivate

Called by the framework when the container's document frame window is activated or deactivated.

OnFrameWindowActivate

Called by the framework when the container's frame window is activated or deactivated.

OnGetEmbeddedItem

Called to get a COleServerItem that represents the entire document; used to get an embedded item. Implementation required.

OnReactivateAndUndo

Called by the framework to undo changes made during in-place editing.

OnResizeBorder

Called by the framework when the container application's frame window or document window is resized.

OnSetHostNames

Called by the framework when a container sets the window title for an embedded object.

OnSetItemRects

Called by the framework to position the in-place editing frame window within the container application's window.

OnShowControlBars

Called by the framework to show or hide control bars for in-place editing.

OnShowDocument

Called by the framework to show or hide the document.

OnUpdateDocument

Called by the framework when a server document that is an embedded item is saved, updating the container's copy of the item.

See Also

Concepts

COleServerDoc Class

Hierarchy Chart