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 COleLinkingDoc

CObject
   |
   +--CCmdTarget
         |
         +--CDocument
               |
               +--COleDocument
                     |
                     +--COleLinkingDoc

   in AFXOLE.H
Direct Known Subclasses:
COleServerDoc

class COleLinkingDoc
extends COleDocument

COleLinkingDoc - (enables linking to embeddings - beginnings of server fuctionality)


Field Summary
protected BOOL m_bDeferErrors
          
protected BOOL m_bVisibleLock
          
protected DWORD m_dwRegister
          
protected LPMONIKER m_lpMonikerROT
          
 COleObjectFactory* m_pFactory
          
protected CException* m_pLastException
          
protected CString m_strMoniker
          
   
Fields inherited from class COleDocument
m_docItemList, m_dwNextItemNumber, m_bLastVisible, m_bCompoundFile, m_lpRootStg, m_bSameAsLoad, m_bRemember, m_ptd
   
Fields inherited from class CDocument
m_strTitle, m_strPathName, m_pDocTemplate, m_viewList, m_bModified, m_bAutoDelete, m_bEmbedded, messageMap
   
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
COleLinkingDoc()
          
virtual ~COleLinkingDoc()
          
 
Method Summary
 void BeginDeferErrors()
          
 SCODE EndDeferErrors( SCODE sc )
          
 virtual LPOLEITEMCONTAINER GetContainer()
          
 virtual LPMONIKER GetMoniker( OLEGETMONIKER nAssign )
          
protected void LockExternal( BOOL bLock, BOOL bRemoveRefs )
          
 virtual void OnCloseDocument()
          
protected virtual COleClientItem* OnFindEmbeddedItem( LPCTSTR lpszItemName )
          
protected virtual COleServerItem* OnGetLinkedItem( LPCTSTR lpszItemName )
          
 virtual BOOL OnNewDocument()
          
 virtual BOOL OnOpenDocument( LPCTSTR lpszPathName )
          
 virtual BOOL OnSaveDocument( LPCTSTR lpszPathName )
          
protected virtual void OnShowViews( BOOL bVisible )
          
 BOOL Register( COleObjectFactory* pFactory, LPCTSTR lpszPathName )
          
protected virtual BOOL RegisterIfServerAttached( LPCTSTR lpszPathName, BOOL bMessage )
          
 virtual void ReportSaveLoadException( LPCTSTR lpszPathName, CException* e, BOOL bSaving, UINT nIDPDefault )
          
 void Revoke()
          
protected virtual void SaveToStorage( CObject* pObject = NULL )
          
protected void UpdateVisibleLock( BOOL bVisible, BOOL bRemoveRefs )
          
   
Methods inherited from class COleDocument
HasBlankItems, GetInPlaceActiveItem, GetStartPosition, GetNextItem, GetNextClientItem, GetNextServerItem, AddItem, RemoveItem, EnableCompoundFile, UpdateModifiedFlag, ApplyPrintDevice, ApplyPrintDevice, GetPrimarySelectedItem, OnShowViews, GetFirstFrame, SetPathName, DeleteContents, Serialize, PreCloseFrame, SaveModified, OnIdle, OnNewDocument, OnOpenDocument, OnSaveDocument, OnCloseDocument, CommitItems, GetMoniker, GetContainer, LoadFromStorage, SaveToStorage, GetNextItemOfKind, OnCmdMsg, OnUpdatePasteMenu, OnUpdatePasteLinkMenu, OnUpdateEditLinksMenu, OnEditLinks, OnEditConvert, OnUpdateEditChangeIcon, OnEditChangeIcon, OnUpdateObjectVerbMenu, OnFileSendMail
   
Methods inherited from class CDocument
GetTitle, SetTitle, GetPathName, SetPathName, GetDocTemplate, IsModified, SetModifiedFlag, AddView, RemoveView, GetFirstViewPosition, GetNextView, UpdateAllViews, OnChangedViewList, DeleteContents, OnNewDocument, OnOpenDocument, OnSaveDocument, OnCloseDocument, ReportSaveLoadException, GetFile, ReleaseFile, CanCloseFrame, SaveModified, PreCloseFrame, DoSave, DoFileSave, UpdateFrameCounts, DisconnectViews, SendInitialUpdate, GetDefaultMenu, GetDefaultAccelerator, OnIdle, OnFinalRelease, OnCmdMsg, OnFileClose, OnFileSave, OnFileSaveAs, OnFileSendMail, OnUpdateFileSendMail, GetMessageMap
   
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_bDeferErrors

protected BOOL m_bDeferErrors;

m_bVisibleLock

protected BOOL m_bVisibleLock;

m_dwRegister

protected DWORD m_dwRegister;

m_lpMonikerROT

protected LPMONIKER m_lpMonikerROT;

m_pFactory

public COleObjectFactory* m_pFactory;

m_pLastException

protected CException* m_pLastException;

m_strMoniker

protected CString m_strMoniker;


Constructor Detail

COleLinkingDoc

public COleLinkingDoc();

~COleLinkingDoc

public virtual ~COleLinkingDoc();


Method Detail

BeginDeferErrors

public void BeginDeferErrors();

EndDeferErrors

public SCODE EndDeferErrors( SCODE sc );

GetContainer

public virtual LPOLEITEMCONTAINER GetContainer();

GetMoniker

public virtual LPMONIKER GetMoniker( OLEGETMONIKER nAssign );

LockExternal

protected void LockExternal( BOOL bLock, BOOL bRemoveRefs );

OnCloseDocument

public virtual void OnCloseDocument();

OnFindEmbeddedItem

protected virtual COleClientItem* OnFindEmbeddedItem( LPCTSTR lpszItemName );

OnGetLinkedItem

protected virtual COleServerItem* OnGetLinkedItem( LPCTSTR lpszItemName );

OnNewDocument

public virtual BOOL OnNewDocument();

OnOpenDocument

public virtual BOOL OnOpenDocument( LPCTSTR lpszPathName );

OnSaveDocument

public virtual BOOL OnSaveDocument( LPCTSTR lpszPathName );

OnShowViews

protected virtual void OnShowViews( BOOL bVisible );

Register

public BOOL Register( COleObjectFactory* pFactory, LPCTSTR lpszPathName );

RegisterIfServerAttached

protected virtual BOOL RegisterIfServerAttached( LPCTSTR lpszPathName, BOOL bMessage );

ReportSaveLoadException

public virtual void ReportSaveLoadException( LPCTSTR lpszPathName, CException* e, BOOL bSaving, UINT nIDPDefault );

Revoke

public void Revoke();

SaveToStorage

protected virtual void SaveToStorage( CObject* pObject = NULL );

UpdateVisibleLock

protected void UpdateVisibleLock( BOOL bVisible, BOOL bRemoveRefs );

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