LibreOffice Module vbahelper (master) 1
|
#include <vbadocumentbase.hxx>
Public Member Functions | |
VbaDocumentBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::frame::XModel > xModel) | |
VbaDocumentBase (css::uno::Sequence< css::uno::Any > const &aArgs, css::uno::Reference< css::uno::XComponentContext >const &xContext) | |
virtual OUString SAL_CALL | getName () override |
virtual OUString SAL_CALL | getPath () override |
virtual OUString SAL_CALL | getFullName () override |
virtual sal_Bool SAL_CALL | getSaved () override |
virtual void SAL_CALL | setSaved (sal_Bool bSave) override |
virtual css::uno::Any SAL_CALL | getVBProject () override |
virtual void SAL_CALL | Close (const css::uno::Any &bSaveChanges, const css::uno::Any &aFileName, const css::uno::Any &bRouteWorkbook) override |
virtual void SAL_CALL | Protect (const css::uno::Any &aPassword) |
virtual void SAL_CALL | Unprotect (const css::uno::Any &aPassword) override |
virtual void SAL_CALL | Save () override |
virtual void SAL_CALL | Activate () override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< Ifc > | |
InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext) | |
virtual OUString | getServiceImplName ()=0 |
virtual css::uno::Sequence< OUString > | getServiceNames ()=0 |
virtual ::sal_Int32 SAL_CALL | getCreator () override |
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL | getParent () override |
virtual css::uno::Any SAL_CALL | Application () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Static Public Member Functions | |
static OUString | getNameFromModel (const css::uno::Reference< css::frame::XModel > &xModel) |
Protected Member Functions | |
const css::uno::Reference< css::frame::XModel > & | getModel () const |
Protected Attributes | |
css::uno::Reference< css::frame::XModel > | mxModel |
css::uno::Reference< css::uno::XInterface > | mxVBProject |
Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 48 of file vbadocumentbase.hxx.
VbaDocumentBase::VbaDocumentBase | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
css::uno::Reference< css::frame::XModel > | xModel | ||
) |
VbaDocumentBase::VbaDocumentBase | ( | css::uno::Sequence< css::uno::Any > const & | aArgs, |
css::uno::Reference< css::uno::XComponentContext >const & | xContext | ||
) |
|
overridevirtual |
Definition at line 269 of file vbadocumentbase.cxx.
References getModel(), and xFrame.
|
overridevirtual |
Definition at line 116 of file vbadocumentbase.cxx.
References aURL, getModel(), InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, xController, xDispatch, and xModel.
|
overridevirtual |
Definition at line 98 of file vbadocumentbase.cxx.
References getName(), getPath(), comphelper::Automation::AutomationInvokedZone::isActive(), and SAL_INFO.
|
inlineprotected |
Definition at line 54 of file vbadocumentbase.hxx.
References mxModel.
Referenced by Activate(), Close(), getName(), getPath(), getSaved(), getVBProject(), Protect(), Save(), setSaved(), and Unprotect().
|
overridevirtual |
Definition at line 56 of file vbadocumentbase.cxx.
References getModel(), getNameFromModel(), SAL_INFO, and sName.
Referenced by getFullName().
|
static |
|
overridevirtual |
Definition at line 82 of file vbadocumentbase.cxx.
References aURL, getModel(), SAL_INFO, and INetURLObject::ToIUri.
Referenced by getFullName().
|
overridevirtual |
Definition at line 255 of file vbadocumentbase.cxx.
References getModel().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 295 of file vbadocumentbase.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 301 of file vbadocumentbase.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 276 of file vbadocumentbase.cxx.
References InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::Application(), getModel(), InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and mxVBProject.
|
virtual |
css::uno::RuntimeException |
Definition at line 208 of file vbadocumentbase.cxx.
References getModel(), and SAL_INFO.
|
overridevirtual |
Definition at line 262 of file vbadocumentbase.cxx.
References ooo::vba::dispatchRequests(), getModel(), and xModel.
|
overridevirtual |
Definition at line 233 of file vbadocumentbase.cxx.
References getModel().
|
overridevirtual |
Definition at line 220 of file vbadocumentbase.cxx.
References getModel().
|
protected |
Definition at line 51 of file vbadocumentbase.hxx.
|
protected |
Definition at line 52 of file vbadocumentbase.hxx.
Referenced by getVBProject().