LibreOffice Module embedserv (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EmbedDocument_Impl Class Reference

#include <embeddoc.hxx>

Inheritance diagram for EmbedDocument_Impl:
[legend]
Collaboration diagram for EmbedDocument_Impl:
[legend]

Public Member Functions

 EmbedDocument_Impl (const css::uno::Reference< css::lang::XMultiServiceFactory > &smgr, const GUID *guid)
 
virtual ~EmbedDocument_Impl ()
 
STDMETHOD() QueryInterface (REFIID riid, LPVOID *ppvObj) override
 
 STDMETHOD_ (ULONG, AddRef)() override
 
 STDMETHOD_ (ULONG, Release)() override
 
STDMETHOD() GetClassID (CLSID *pClassID) override
 
STDMETHOD() IsDirty () override
 
STDMETHOD() InitNew (IStorage *pStg) override
 
STDMETHOD() Load (IStorage *pStr) override
 
STDMETHOD() Save (IStorage *pStgSave, BOOL fSameAsLoad) override
 
STDMETHOD() SaveCompleted (IStorage *pStgNew) override
 
STDMETHOD() HandsOffStorage (void) override
 
STDMETHOD() GetData (FORMATETC *pFormatetc, STGMEDIUM *pMedium) override
 
STDMETHOD() GetDataHere (FORMATETC *pFormatetc, STGMEDIUM *pMedium) override
 
STDMETHOD() QueryGetData (FORMATETC *pFormatetc) override
 
STDMETHOD() GetCanonicalFormatEtc (FORMATETC *pFormatetcIn, FORMATETC *pFormatetcOut) override
 
STDMETHOD() SetData (FORMATETC *pFormatetc, STGMEDIUM *pMedium, BOOL fRelease) override
 
STDMETHOD() EnumFormatEtc (DWORD dwDirection, IEnumFORMATETC **ppFormatetc) override
 
STDMETHOD() DAdvise (FORMATETC *pFormatetc, DWORD advf, IAdviseSink *pAdvSink, DWORD *pdwConnection) override
 
STDMETHOD() DUnadvise (DWORD dwConnection) override
 
STDMETHOD() EnumDAdvise (IEnumSTATDATA **ppenumAdvise) override
 
STDMETHOD() SetClientSite (IOleClientSite *pSite) override
 
STDMETHOD() GetClientSite (IOleClientSite **pSite) override
 
STDMETHOD() SetHostNames (LPCOLESTR szContainerApp, LPCOLESTR szContainerObj) override
 
STDMETHOD() Close (DWORD dwSaveOption) override
 
STDMETHOD() SetMoniker (DWORD dwWhichMoniker, IMoniker *pmk) override
 
STDMETHOD() GetMoniker (DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk) override
 
STDMETHOD() InitFromData (IDataObject *pDataObject, BOOL fCreation, DWORD dwReserved) override
 
STDMETHOD() GetClipboardData (DWORD dwReserved, IDataObject **ppDataObject) override
 
STDMETHOD() DoVerb (LONG iVerb, LPMSG lpmsg, IOleClientSite *pActiveSite, LONG lindex, HWND hwndParent, LPCRECT lprcPosRect) override
 Well, this is a not so very inefficient way to deliver. More...
 
STDMETHOD() EnumVerbs (IEnumOLEVERB **ppEnumOleVerb) override
 
STDMETHOD() Update () override
 
STDMETHOD() IsUpToDate () override
 
STDMETHOD() GetUserClassID (CLSID *pClsid) override
 
STDMETHOD() GetUserType (DWORD dwFormOfType, LPOLESTR *pszUserType) override
 
STDMETHOD() SetExtent (DWORD dwDrawAspect, SIZEL *psizel) override
 
STDMETHOD() GetExtent (DWORD dwDrawAspect, SIZEL *psizel) override
 
STDMETHOD() Advise (IAdviseSink *pAdvSink, DWORD *pdwConnection) override
 
STDMETHOD() Unadvise (DWORD dwConnection) override
 
STDMETHOD() EnumAdvise (IEnumSTATDATA **ppenumAdvise) override
 
STDMETHOD() GetMiscStatus (DWORD dwAspect, DWORD *pdwStatus) override
 
STDMETHOD() SetColorScheme (LOGPALETTE *pLogpal) override
 
STDMETHOD() GetWindow (HWND *) override
 
STDMETHOD() ContextSensitiveHelp (BOOL) override
 
STDMETHOD() InPlaceDeactivate () override
 
STDMETHOD() UIDeactivate () override
 
STDMETHOD() SetObjectRects (LPCRECT, LPCRECT) override
 
STDMETHOD() ReactivateAndUndo () override
 
STDMETHOD() Load (LPCOLESTR pszFileName, DWORD dwMode) override
 
STDMETHOD() Save (LPCOLESTR pszFileName, BOOL fRemember) override
 
STDMETHOD() SaveCompleted (LPCOLESTR pszFileName) override
 
STDMETHOD() GetCurFile (LPOLESTR *ppszFileName) override
 
STDMETHOD() GetTypeInfoCount (unsigned int *pctinfo) override
 
STDMETHOD() GetTypeInfo (unsigned int iTInfo, LCID lcid, ITypeInfo **ppTInfo) override
 
STDMETHOD() GetIDsOfNames (REFIID riid, OLECHAR **rgszNames, unsigned int cNames, LCID lcid, DISPID *rgDispId) override
 
STDMETHOD() Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, unsigned int *puArgErr) override
 
virtual DWORD STDMETHODCALLTYPE AddConnection (DWORD extconn, DWORD reserved) override
 
virtual DWORD STDMETHODCALLTYPE ReleaseConnection (DWORD extconn, DWORD reserved, BOOL fLastReleaseCloses) override
 
void notify (bool bDataChanged=true)
 
HRESULT SaveObject ()
 
HRESULT ShowObject ()
 
GUID GetGUID () const
 
HRESULT OLENotifyClosing ()
 
void Deactivate ()
 
HRESULT OLENotifyDeactivation ()
 

Protected Member Functions

css::uno::Sequence< css::beans::PropertyValue > fillArgsForLoading_Impl (css::uno::Reference< css::io::XInputStream > const &xStream, DWORD nStreamMode, LPCOLESTR pFilePath=nullptr)
 
css::uno::Sequence< css::beans::PropertyValue > fillArgsForStoring_Impl (css::uno::Reference< css::io::XOutputStream > const &xStream)
 
HRESULT SaveTo_Impl (IStorage *pStg)
 
sal_uInt64 getMetaFileHandle_Impl (bool isEnhMeta)
 

Protected Attributes

oslInterlockedCount m_refCount
 
css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory
 
rtl::Reference< DocumentHolderm_pDocHolder
 
OUString m_aFileName
 
CComPtr< IStorage > m_pMasterStorage
 
CComPtr< IStream > m_pOwnStream
 
CComPtr< IStream > m_pExtStream
 
GUID m_guid
 
bool m_bIsDirty
 
CComPtr< IOleClientSite > m_pClientSite
 
CComPtr< IDataAdviseHolder > m_pDAdviseHolder
 
AdviseSinkHashMap m_aAdviseHashMap
 
DWORD m_nAdviseNum
 
::rtl::Reference< EmbeddedDocumentInstanceAccess_Implm_xOwnAccess
 
bool m_bIsInVerbHandling
 

Detailed Description

Definition at line 39 of file embeddoc.hxx.

Constructor & Destructor Documentation

◆ EmbedDocument_Impl()

EmbedDocument_Impl::EmbedDocument_Impl ( const css::uno::Reference< css::lang::XMultiServiceFactory > &  smgr,
const GUID *  guid 
)

Definition at line 167 of file ed_ipersiststr.cxx.

References m_pDocHolder, m_xOwnAccess, and xFactory.

◆ ~EmbedDocument_Impl()

EmbedDocument_Impl::~EmbedDocument_Impl ( )
virtual

Definition at line 180 of file ed_ipersiststr.cxx.

References m_pDocHolder.

Member Function Documentation

◆ AddConnection()

DWORD STDMETHODCALLTYPE EmbedDocument_Impl::AddConnection ( DWORD  extconn,
DWORD  reserved 
)
overridevirtual

Definition at line 389 of file ed_ioleobject.cxx.

◆ Advise()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Advise ( IAdviseSink *  pAdvSink,
DWORD *  pdwConnection 
)
override

Definition at line 288 of file ed_ioleobject.cxx.

References m_aAdviseHashMap, and m_nAdviseNum.

◆ Close()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Close ( DWORD  dwSaveOption)
override

◆ ContextSensitiveHelp()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::ContextSensitiveHelp ( BOOL  )
override

Definition at line 34 of file ed_iinplace.cxx.

◆ DAdvise()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::DAdvise ( FORMATETC *  pFormatetc,
DWORD  advf,
IAdviseSink *  pAdvSink,
DWORD *  pdwConnection 
)
override

Definition at line 266 of file ed_idataobj.cxx.

References m_pDAdviseHolder.

◆ Deactivate()

void EmbedDocument_Impl::Deactivate ( )

◆ DoVerb()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::DoVerb ( LONG  iVerb,
LPMSG  lpmsg,
IOleClientSite *  pActiveSite,
LONG  lindex,
HWND  hwndParent,
LPCRECT  lprcPosRect 
)
override

Well, this is a not so very inefficient way to deliver.

Definition at line 128 of file ed_ioleobject.cxx.

References FALSE, m_aFileName, m_bIsInVerbHandling, m_pClientSite, m_pDocHolder, m_pMasterStorage, m_pOwnStream, notify(), and TRUE.

◆ DUnadvise()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::DUnadvise ( DWORD  dwConnection)
override

Definition at line 275 of file ed_idataobj.cxx.

References m_pDAdviseHolder.

◆ EnumAdvise()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::EnumAdvise ( IEnumSTATDATA **  ppenumAdvise)
override

Definition at line 314 of file ed_ioleobject.cxx.

◆ EnumDAdvise()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::EnumDAdvise ( IEnumSTATDATA **  ppenumAdvise)
override

Definition at line 284 of file ed_idataobj.cxx.

References m_pDAdviseHolder.

◆ EnumFormatEtc()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::EnumFormatEtc ( DWORD  dwDirection,
IEnumFORMATETC **  ppFormatetc 
)
override

Definition at line 258 of file ed_idataobj.cxx.

◆ EnumVerbs()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::EnumVerbs ( IEnumOLEVERB **  ppEnumOleVerb)
override

Definition at line 236 of file ed_ioleobject.cxx.

◆ fillArgsForLoading_Impl()

uno::Sequence< beans::PropertyValue > EmbedDocument_Impl::fillArgsForLoading_Impl ( css::uno::Reference< css::io::XInputStream > const &  xStream,
DWORD  nStreamMode,
LPCOLESTR  pFilePath = nullptr 
)
protected

◆ fillArgsForStoring_Impl()

uno::Sequence< beans::PropertyValue > EmbedDocument_Impl::fillArgsForStoring_Impl ( css::uno::Reference< css::io::XOutputStream > const &  xStream)
protected

Definition at line 235 of file ed_ipersiststr.cxx.

References getFilterNameFromGUID_Impl(), m_guid, and xStream.

Referenced by Save().

◆ GetCanonicalFormatEtc()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetCanonicalFormatEtc ( FORMATETC *  pFormatetcIn,
FORMATETC *  pFormatetcOut 
)
override

Definition at line 220 of file ed_idataobj.cxx.

◆ GetClassID()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetClassID ( CLSID *  pClassID)
override

Definition at line 359 of file ed_ipersiststr.cxx.

References m_guid.

Referenced by GetUserClassID().

◆ GetClientSite()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetClientSite ( IOleClientSite **  pSite)
override

Definition at line 37 of file ed_ioleobject.cxx.

References m_pClientSite.

◆ GetClipboardData()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetClipboardData ( DWORD  dwReserved,
IDataObject **  ppDataObject 
)
override

Definition at line 118 of file ed_ioleobject.cxx.

◆ GetCurFile()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetCurFile ( LPOLESTR *  ppszFileName)
override

Definition at line 885 of file ed_ipersiststr.cxx.

References hr, and m_aFileName.

◆ GetData()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetData ( FORMATETC *  pFormatetc,
STGMEDIUM *  pMedium 
)
override

Definition at line 67 of file ed_idataobj.cxx.

References getMetaFileHandle_Impl(), hr, and SaveTo_Impl().

◆ GetDataHere()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetDataHere ( FORMATETC *  pFormatetc,
STGMEDIUM *  pMedium 
)
override

Definition at line 144 of file ed_idataobj.cxx.

References hr, and SaveTo_Impl().

◆ GetExtent()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetExtent ( DWORD  dwDrawAspect,
SIZEL psizel 
)
override

Definition at line 273 of file ed_ioleobject.cxx.

References m_pDocHolder.

◆ GetGUID()

GUID EmbedDocument_Impl::GetGUID ( ) const
inline

Definition at line 144 of file embeddoc.hxx.

References m_guid.

◆ GetIDsOfNames()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetIDsOfNames ( REFIID  riid,
OLECHAR **  rgszNames,
unsigned int  cNames,
LCID  lcid,
DISPID *  rgDispId 
)
override

Definition at line 349 of file ed_ioleobject.cxx.

References m_pDocHolder.

◆ getMetaFileHandle_Impl()

sal_uInt64 EmbedDocument_Impl::getMetaFileHandle_Impl ( bool  isEnhMeta)
protected

Definition at line 35 of file ed_idataobj.cxx.

References cppu::UnoType< typename T >::get(), and m_pDocHolder.

Referenced by GetData().

◆ GetMiscStatus()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetMiscStatus ( DWORD  dwAspect,
DWORD *  pdwStatus 
)
override

Definition at line 319 of file ed_ioleobject.cxx.

◆ GetMoniker()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetMoniker ( DWORD  dwAssign,
DWORD  dwWhichMoniker,
IMoniker **  ppmk 
)
override

Definition at line 108 of file ed_ioleobject.cxx.

◆ GetTypeInfo()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetTypeInfo ( unsigned int  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
override

Definition at line 340 of file ed_ioleobject.cxx.

References m_pDocHolder.

◆ GetTypeInfoCount()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetTypeInfoCount ( unsigned int pctinfo)
override

Definition at line 332 of file ed_ioleobject.cxx.

References m_pDocHolder.

◆ GetUserClassID()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetUserClassID ( CLSID *  pClsid)
override

Definition at line 253 of file ed_ioleobject.cxx.

References GetClassID().

◆ GetUserType()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetUserType ( DWORD  dwFormOfType,
LPOLESTR *  pszUserType 
)
override

Definition at line 258 of file ed_ioleobject.cxx.

◆ GetWindow()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::GetWindow ( HWND *  hWnd)
override

Definition at line 23 of file ed_iinplace.cxx.

References ERROR, and m_pDocHolder.

◆ HandsOffStorage()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::HandsOffStorage ( void  )
override

Definition at line 711 of file ed_ipersiststr.cxx.

References m_pExtStream, m_pMasterStorage, and m_pOwnStream.

◆ InitFromData()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::InitFromData ( IDataObject *  pDataObject,
BOOL  fCreation,
DWORD  dwReserved 
)
override

Definition at line 113 of file ed_ioleobject.cxx.

◆ InitNew()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::InitNew ( IStorage *  pStg)
override

◆ InPlaceDeactivate()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::InPlaceDeactivate ( )
override

Definition at line 36 of file ed_iinplace.cxx.

References m_bIsInVerbHandling, m_pDocHolder, and notify().

◆ Invoke()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Invoke ( DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT *  pVarResult,
EXCEPINFO *  pExcepInfo,
unsigned int puArgErr 
)
override

Definition at line 364 of file ed_ioleobject.cxx.

References m_pDocHolder.

◆ IsDirty()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::IsDirty ( )
override

Definition at line 368 of file ed_ipersiststr.cxx.

References m_aFileName, m_bIsDirty, and m_pDocHolder.

Referenced by SaveObject().

◆ IsUpToDate()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::IsUpToDate ( )
override

Definition at line 248 of file ed_ioleobject.cxx.

◆ Load() [1/2]

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Load ( IStorage *  pStr)
override

◆ Load() [2/2]

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Load ( LPCOLESTR  pszFileName,
DWORD  dwMode 
)
override

◆ notify()

void EmbedDocument_Impl::notify ( bool  bDataChanged = true)

◆ OLENotifyClosing()

HRESULT EmbedDocument_Impl::OLENotifyClosing ( )

Definition at line 89 of file ed_ioleobject.cxx.

References m_aAdviseHashMap.

Referenced by Close(), and LockedEmbedDocument_Impl::ExecuteMethod().

◆ OLENotifyDeactivation()

HRESULT EmbedDocument_Impl::OLENotifyDeactivation ( )

Definition at line 458 of file ed_ioleobject.cxx.

References FALSE, hr, and m_pClientSite.

Referenced by Close(), and Deactivate().

◆ QueryGetData()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::QueryGetData ( FORMATETC *  pFormatetc)
override

Definition at line 179 of file ed_idataobj.cxx.

◆ QueryInterface()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::QueryInterface ( REFIID  riid,
LPVOID *  ppvObj 
)
override

Definition at line 271 of file ed_ipersiststr.cxx.

◆ ReactivateAndUndo()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::ReactivateAndUndo ( )
override

Definition at line 77 of file ed_iinplace.cxx.

◆ ReleaseConnection()

DWORD STDMETHODCALLTYPE EmbedDocument_Impl::ReleaseConnection ( DWORD  extconn,
DWORD  reserved,
BOOL  fLastReleaseCloses 
)
overridevirtual

Definition at line 394 of file ed_ioleobject.cxx.

◆ Save() [1/2]

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Save ( IStorage *  pStgSave,
BOOL  fSameAsLoad 
)
override

◆ Save() [2/2]

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Save ( LPCOLESTR  pszFileName,
BOOL  fRemember 
)
override

◆ SaveCompleted() [1/2]

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SaveCompleted ( IStorage *  pStgNew)
override

◆ SaveCompleted() [2/2]

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SaveCompleted ( LPCOLESTR  pszFileName)
override

Definition at line 878 of file ed_ipersiststr.cxx.

References m_aFileName.

◆ SaveObject()

HRESULT EmbedDocument_Impl::SaveObject ( )

◆ SaveTo_Impl()

HRESULT EmbedDocument_Impl::SaveTo_Impl ( IStorage *  pStg)
protected

Definition at line 251 of file ed_ipersiststr.cxx.

References hr, m_pExtStream, m_pMasterStorage, m_pOwnStream, and Save().

Referenced by GetData(), and GetDataHere().

◆ SetClientSite()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SetClientSite ( IOleClientSite *  pSite)
override

Definition at line 31 of file ed_ioleobject.cxx.

References m_pClientSite.

◆ SetColorScheme()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SetColorScheme ( LOGPALETTE *  pLogpal)
override

Definition at line 324 of file ed_ioleobject.cxx.

◆ SetData()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SetData ( FORMATETC *  pFormatetc,
STGMEDIUM *  pMedium,
BOOL  fRelease 
)
override

Definition at line 253 of file ed_idataobj.cxx.

◆ SetExtent()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SetExtent ( DWORD  dwDrawAspect,
SIZEL psizel 
)
override

Definition at line 263 of file ed_ioleobject.cxx.

References m_pDocHolder.

◆ SetHostNames()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SetHostNames ( LPCOLESTR  szContainerApp,
LPCOLESTR  szContainerObj 
)
override

Definition at line 43 of file ed_ioleobject.cxx.

References m_aFileName, and m_pDocHolder.

◆ SetMoniker()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SetMoniker ( DWORD  dwWhichMoniker,
IMoniker *  pmk 
)
override

Definition at line 103 of file ed_ioleobject.cxx.

◆ SetObjectRects()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::SetObjectRects ( LPCRECT  aRect,
LPCRECT  aClip 
)
override

Definition at line 70 of file ed_iinplace.cxx.

References m_pDocHolder.

◆ ShowObject()

HRESULT EmbedDocument_Impl::ShowObject ( )

Definition at line 427 of file ed_ioleobject.cxx.

References hr, and m_pClientSite.

Referenced by LockedEmbedDocument_Impl::ExecuteMethod().

◆ STDMETHOD_() [1/2]

EmbedDocument_Impl::STDMETHOD_ ( ULONG  ,
AddRef   
)
override

◆ STDMETHOD_() [2/2]

EmbedDocument_Impl::STDMETHOD_ ( ULONG  ,
Release   
)
override

References lindex, and LONG.

◆ UIDeactivate()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::UIDeactivate ( )
override

Definition at line 53 of file ed_iinplace.cxx.

References m_bIsInVerbHandling, m_pDocHolder, and notify().

◆ Unadvise()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Unadvise ( DWORD  dwConnection)
override

Definition at line 300 of file ed_ioleobject.cxx.

References m_aAdviseHashMap.

◆ Update()

COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedDocument_Impl::Update ( )
override

Definition at line 241 of file ed_ioleobject.cxx.

Member Data Documentation

◆ m_aAdviseHashMap

AdviseSinkHashMap EmbedDocument_Impl::m_aAdviseHashMap
protected

Definition at line 168 of file embeddoc.hxx.

Referenced by Advise(), notify(), OLENotifyClosing(), SaveCompleted(), SaveObject(), and Unadvise().

◆ m_aFileName

OUString EmbedDocument_Impl::m_aFileName
protected

◆ m_bIsDirty

bool EmbedDocument_Impl::m_bIsDirty
protected

Definition at line 163 of file embeddoc.hxx.

Referenced by InitNew(), IsDirty(), Load(), and Save().

◆ m_bIsInVerbHandling

bool EmbedDocument_Impl::m_bIsInVerbHandling
protected

Definition at line 173 of file embeddoc.hxx.

Referenced by DoVerb(), InPlaceDeactivate(), and UIDeactivate().

◆ m_guid

GUID EmbedDocument_Impl::m_guid
protected

◆ m_nAdviseNum

DWORD EmbedDocument_Impl::m_nAdviseNum
protected

Definition at line 169 of file embeddoc.hxx.

Referenced by Advise().

◆ m_pClientSite

CComPtr< IOleClientSite > EmbedDocument_Impl::m_pClientSite
protected

◆ m_pDAdviseHolder

CComPtr< IDataAdviseHolder > EmbedDocument_Impl::m_pDAdviseHolder
protected

Definition at line 166 of file embeddoc.hxx.

Referenced by DAdvise(), DUnadvise(), EnumDAdvise(), and notify().

◆ m_pDocHolder

rtl::Reference<DocumentHolder> EmbedDocument_Impl::m_pDocHolder
protected

◆ m_pExtStream

CComPtr< IStream > EmbedDocument_Impl::m_pExtStream
protected

Definition at line 160 of file embeddoc.hxx.

Referenced by HandsOffStorage(), InitNew(), Load(), Save(), SaveCompleted(), and SaveTo_Impl().

◆ m_pMasterStorage

CComPtr< IStorage > EmbedDocument_Impl::m_pMasterStorage
protected

Definition at line 158 of file embeddoc.hxx.

Referenced by DoVerb(), HandsOffStorage(), InitNew(), Load(), Save(), SaveCompleted(), and SaveTo_Impl().

◆ m_pOwnStream

CComPtr< IStream > EmbedDocument_Impl::m_pOwnStream
protected

Definition at line 159 of file embeddoc.hxx.

Referenced by DoVerb(), HandsOffStorage(), InitNew(), Load(), Save(), SaveCompleted(), and SaveTo_Impl().

◆ m_refCount

oslInterlockedCount EmbedDocument_Impl::m_refCount
protected

Definition at line 151 of file embeddoc.hxx.

Referenced by STDMETHODIMP_().

◆ m_xFactory

css::uno::Reference< css::lang::XMultiServiceFactory > EmbedDocument_Impl::m_xFactory
protected

Definition at line 153 of file embeddoc.hxx.

Referenced by fillArgsForLoading_Impl(), InitNew(), Load(), and Save().

◆ m_xOwnAccess

::rtl::Reference< EmbeddedDocumentInstanceAccess_Impl > EmbedDocument_Impl::m_xOwnAccess
protected

Definition at line 171 of file embeddoc.hxx.

Referenced by EmbedDocument_Impl().


The documentation for this class was generated from the following files: