MFC
Class CDocObjectServer
CObject
|
+--CCmdTarget
|
+--CDocObjectServer
in AFXDOCOB.H
- class CDocObjectServer
- extends CCmdTarget
CDocObjectServer class
| Fields inherited from class CCmdTarget |
messageMap, commandMap, dispatchMap, connectionMap, interfaceMap, eventsinkMap, m_dwRef, m_pOuterUnknown, m_xInnerUnknown, m_xDispatch, m_bResultExpected, m_xConnPtContainer |
|
Method Summary |
void |
ActivateDocObject()
|
protected void |
DoBeginPrinting( CView* pView, CDC* pDC, CPrintInfo* pprintInfo )
|
protected void |
DoEndPrinting( CView* pView, CDC* pDC, CPrintInfo* pprintInfo )
|
protected void |
DoPrepareDC( CView* pView, CDC* pdcPrint, CPrintInfo* pprintInfo )
|
protected BOOL |
DoPreparePrinting( CView* pView, CPrintInfo* printInfo )
|
protected void |
DoPrint( CView* pView, CDC* pdcPrint, CPrintInfo* pprintInfo )
|
COleDocIPFrameWnd* |
GetControllingFrame() const
|
protected virtual HRESULT |
OnActivateView()
|
protected virtual void |
OnApplyViewState( CArchive& ar )
|
virtual void |
OnCloseDocument()
|
protected STDMETHODIMP |
OnExecOleCmd( const GUID* pguidCmdGroup, DWORD nCmdID, DWORD nCmdExecOpt, VARIANTARG* pvarargIn, VARIANTARG* pvarargOut )
|
protected virtual void |
OnSaveViewState( CArchive& ar )
|
protected void |
OnSetItemRects( LPRECT lprcPosRect, LPRECT lprcClipRect )
|
void |
ReleaseDocSite()
|
void |
SetDocSite( LPOLEDOCUMENTSITE pNewSite )
|
| Methods inherited from class CCmdTarget |
GetIDispatch, FromIDispatch, IsResultExpected, EnableAutomation, EnableConnections, BeginWaitCursor, EndWaitCursor, RestoreWaitCursor, EnumOleVerbs, DoOleVerb, OnCmdMsg, OnFinalRelease, IsInvokeAllowed, EnableTypeLib, GetTypeInfoOfGuid, GetDispatchIID, GetTypeInfoCount, GetTypeLibCache, GetTypeLib, GetNotSupported, SetNotSupported, GetRoutingView, GetRoutingFrame, GetRoutingView_, GetRoutingFrame_, GetMessageMap, GetCommandMap, GetDispatchMap, GetConnectionMap, GetInterfaceMap, GetEventSinkMap, EnableAggregation, ExternalDisconnect, GetControllingUnknown, InternalQueryInterface, InternalAddRef, InternalRelease, ExternalQueryInterface, ExternalAddRef, ExternalRelease, GetInterface, QueryAggregates, OnCreateAggregates, GetInterfaceHook, GetStandardProp, SetStandardProp, GetEntryCount, GetDispEntry, MemberIDFromName, GetStackSize, PushStackArgs, CallMemberFunc, OnEvent, GetEventSinkEntry, GetExtraConnectionPoints, GetConnectionHook |
m_nFirstPage
protected LONG m_nFirstPage;
m_pContinueCallback
protected LPCONTINUECALLBACK m_pContinueCallback;
m_pDocSite
protected LPOLEDOCUMENTSITE m_pDocSite;
m_pOwner
protected COleServerDoc* m_pOwner;
m_pViewSite
protected LPOLEINPLACESITE m_pViewSite;
CDocObjectServer
public CDocObjectServer( COleServerDoc* pOwner, LPOLEDOCUMENTSITE pDocSite = NULL );
~CDocObjectServer
public virtual ~CDocObjectServer();
ActivateDocObject
public void ActivateDocObject();
DoBeginPrinting
protected void DoBeginPrinting( CView* pView, CDC* pDC, CPrintInfo* pprintInfo );
DoEndPrinting
protected void DoEndPrinting( CView* pView, CDC* pDC, CPrintInfo* pprintInfo );
DoPrepareDC
protected void DoPrepareDC( CView* pView, CDC* pdcPrint, CPrintInfo* pprintInfo );
DoPreparePrinting
protected BOOL DoPreparePrinting( CView* pView, CPrintInfo* printInfo );
DoPrint
protected void DoPrint( CView* pView, CDC* pdcPrint, CPrintInfo* pprintInfo );
GetControllingFrame
public COleDocIPFrameWnd* GetControllingFrame() const;
OnActivateView
protected virtual HRESULT OnActivateView();
OnApplyViewState
protected virtual void OnApplyViewState( CArchive& ar );
OnCloseDocument
public virtual void OnCloseDocument();
OnExecOleCmd
protected STDMETHODIMP OnExecOleCmd( const GUID* pguidCmdGroup, DWORD nCmdID, DWORD nCmdExecOpt, VARIANTARG* pvarargIn, VARIANTARG* pvarargOut );
OnSaveViewState
protected virtual void OnSaveViewState( CArchive& ar );
OnSetItemRects
protected void OnSetItemRects( LPRECT lprcPosRect, LPRECT lprcClipRect );
ReleaseDocSite
public void ReleaseDocSite();
SetDocSite
public void SetDocSite( LPOLEDOCUMENTSITE pNewSite );