home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CDocObjectServer

CObject
   |
   +--CCmdTarget
         |
         +--CDocObjectServer

   in AFXDOCOB.H

class CDocObjectServer
extends CCmdTarget

CDocObjectServer class


Field Summary
protected LONG m_nFirstPage
          
protected LPCONTINUECALLBACK m_pContinueCallback
          
protected LPOLEDOCUMENTSITE m_pDocSite
          
protected COleServerDoc* m_pOwner
          
protected LPOLEINPLACESITE m_pViewSite
          
   
Fields inherited from class CCmdTarget
messageMap, commandMap, dispatchMap, connectionMap, interfaceMap, eventsinkMap, m_dwRef, m_pOuterUnknown, m_xInnerUnknown, m_xDispatch, m_bResultExpected, m_xConnPtContainer
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CDocObjectServer( COleServerDoc* pOwner, LPOLEDOCUMENTSITE pDocSite = NULL )
          
virtual ~CDocObjectServer()
          
 
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
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

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;


Constructor Detail

CDocObjectServer

public CDocObjectServer( COleServerDoc* pOwner, LPOLEDOCUMENTSITE pDocSite = NULL );

~CDocObjectServer

public virtual ~CDocObjectServer();


Method Detail

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 );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD