LibreOffice Module shell (master) 1
|
#include <COMOpenDocuments.hpp>
Classes | |
class | Error |
Public Member Functions | |
COMOpenDocuments () | |
virtual | ~COMOpenDocuments () override |
HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID riid, void **ppvObject) override |
HRESULT STDMETHODCALLTYPE | GetTypeInfoCount (UINT *pctinfo) override |
HRESULT STDMETHODCALLTYPE | GetTypeInfo (UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) override |
HRESULT STDMETHODCALLTYPE | GetIDsOfNames (REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) override |
HRESULT STDMETHODCALLTYPE | Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) override |
HRESULT STDMETHODCALLTYPE | CreateNewDocument (BSTR bstrTemplateLocation, BSTR bstrDefaultSaveLocation, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | EditDocument (BSTR bstrDocumentLocation, VARIANT varProgID, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | ViewDocument (BSTR bstrDocumentLocation, VARIANT varProgID, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | ViewDocument2 (IDispatch *pdisp, BSTR bstrDocumentLocation, VARIANT varProgID, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | EditDocument2 (IDispatch *pdisp, BSTR bstrDocumentLocation, VARIANT varProgID, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | CreateNewDocument2 (IDispatch *pdisp, BSTR bstrTemplateLocation, BSTR bstrDefaultSaveLocation, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | PromptedOnLastOpen (VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | ViewDocument3 (IDispatch *pdisp, BSTR bstrDocumentLocation, int OpenType, VARIANT varProgID, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | CheckinDocument (BSTR bstrDocumentLocation, int CheckinType, BSTR CheckinComment, VARIANT_BOOL bKeepCheckout, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | DiscardLocalCheckout (BSTR bstrDocumentLocationRaw, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | ViewInExcel (BSTR SiteUrl, BSTR FileName, BSTR SessionId, BSTR Cmd, BSTR Sheet, int Row, int Column, VARIANT varProgID) override |
HRESULT STDMETHODCALLTYPE | CheckoutDocumentPrompt (BSTR bstrDocumentLocationRaw, VARIANT_BOOL fEditAfterCheckout, VARIANT varProgID, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | EditDocument3 (IDispatch *pdisp, BSTR bstrDocumentLocation, VARIANT_BOOL fUseLocalCopy, VARIANT varProgID, VARIANT_BOOL *pbResult) override |
HRESULT STDMETHODCALLTYPE | NewBlogPost (BSTR bstrProviderId, BSTR bstrBlogUrl, BSTR bstrBlogName) override |
HRESULT STDMETHODCALLTYPE | GetInterfaceSafetyOptions (REFIID riid, DWORD *pdwSupportedOptions, DWORD *pdwEnabledOptions) override |
HRESULT STDMETHODCALLTYPE | SetInterfaceSafetyOptions (REFIID riid, DWORD dwOptionSetMask, DWORD dwEnabledOptions) override |
Public Member Functions inherited from COMRefCounted< IOWSNewDocument3, IObjectSafety > | |
virtual | ~COMRefCounted () |
ULONG STDMETHODCALLTYPE | AddRef () override |
ULONG STDMETHODCALLTYPE | Release () override |
Static Public Member Functions | |
static LONG | GetObjectCount () |
Private Attributes | |
DWORD | m_iEnabledOptions = 0 |
Static Private Attributes | |
static LONG | m_nObjCount = 0 |
static ITypeInfo * | m_pTypeInfo = nullptr |
static constexpr DWORD | iSupportedOptionsMask = INTERFACESAFE_FOR_UNTRUSTED_CALLER | INTERFACESAFE_FOR_UNTRUSTED_DATA |
Definition at line 18 of file COMOpenDocuments.hpp.
COMOpenDocuments::COMOpenDocuments | ( | ) |
Definition at line 90 of file COMOpenDocuments.cxx.
References GetTypeLib(), hr, m_nObjCount, and m_pTypeInfo.
|
overridevirtual |
Definition at line 102 of file COMOpenDocuments.cxx.
References m_nObjCount, and m_pTypeInfo.
|
override |
Definition at line 308 of file COMOpenDocuments.cxx.
|
override |
Definition at line 343 of file COMOpenDocuments.cxx.
|
override |
Definition at line 187 of file COMOpenDocuments.cxx.
References CreateNewDocument2().
|
override |
Definition at line 245 of file COMOpenDocuments.cxx.
Referenced by CreateNewDocument().
|
override |
Definition at line 320 of file COMOpenDocuments.cxx.
|
override |
Definition at line 197 of file COMOpenDocuments.cxx.
References EditDocument3(), and FALSE.
|
override |
Definition at line 235 of file COMOpenDocuments.cxx.
References EditDocument3(), and FALSE.
|
override |
Definition at line 356 of file COMOpenDocuments.cxx.
Referenced by EditDocument(), and EditDocument2().
|
override |
Definition at line 161 of file COMOpenDocuments.cxx.
References m_pTypeInfo.
|
override |
Definition at line 380 of file COMOpenDocuments.cxx.
References hr, iSupportedOptionsMask, m_iEnabledOptions, and QueryInterface().
|
static |
Definition at line 422 of file COMOpenDocuments.cxx.
References LONG, and m_nObjCount.
Referenced by DllCanUnloadNow().
|
override |
Definition at line 148 of file COMOpenDocuments.cxx.
References COMRefCounted< IOWSNewDocument3, IObjectSafety >::AddRef(), and m_pTypeInfo.
|
override |
Definition at line 139 of file COMOpenDocuments.cxx.
|
override |
Definition at line 171 of file COMOpenDocuments.cxx.
References m_pTypeInfo.
|
override |
Definition at line 370 of file COMOpenDocuments.cxx.
|
override |
Definition at line 263 of file COMOpenDocuments.cxx.
|
override |
Definition at line 113 of file COMOpenDocuments.cxx.
Referenced by ClassFactory::CreateInstance(), GetInterfaceSafetyOptions(), and SetInterfaceSafetyOptions().
|
override |
Definition at line 399 of file COMOpenDocuments.cxx.
References hr, iSupportedOptionsMask, m_iEnabledOptions, and QueryInterface().
|
override |
Definition at line 211 of file COMOpenDocuments.cxx.
References ViewDocument3().
|
override |
Definition at line 224 of file COMOpenDocuments.cxx.
References ViewDocument3().
|
override |
Definition at line 295 of file COMOpenDocuments.cxx.
References OpenType.
Referenced by ViewDocument(), and ViewDocument2().
|
override |
Definition at line 329 of file COMOpenDocuments.cxx.
|
staticconstexprprivate |
Definition at line 173 of file COMOpenDocuments.hpp.
Referenced by GetInterfaceSafetyOptions(), and SetInterfaceSafetyOptions().
|
private |
Definition at line 174 of file COMOpenDocuments.hpp.
Referenced by GetInterfaceSafetyOptions(), and SetInterfaceSafetyOptions().
|
staticprivate |
Definition at line 171 of file COMOpenDocuments.hpp.
Referenced by COMOpenDocuments(), GetObjectCount(), and ~COMOpenDocuments().
|
staticprivate |
Definition at line 172 of file COMOpenDocuments.hpp.
Referenced by COMOpenDocuments(), GetIDsOfNames(), GetTypeInfo(), Invoke(), and ~COMOpenDocuments().