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)
| Fields inherited from class CCmdTarget |
messageMap, commandMap, dispatchMap, connectionMap, interfaceMap, eventsinkMap, m_dwRef, m_pOuterUnknown, m_xInnerUnknown, m_xDispatch, m_bResultExpected, m_xConnPtContainer |
| 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 |
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;
COleLinkingDoc
public COleLinkingDoc();
~COleLinkingDoc
public virtual ~COleLinkingDoc();
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 );