|
LibreOffice Module scripting (master) 1
|
#include <basscript.hxx>
Public Member Functions | |
| BasicScriptImpl (OUString funcName, SbMethodRef xMethod) | |
| BasicScriptImpl (OUString funcName, SbMethodRef xMethod, BasicManager &documentBasicManager, const css::uno::Reference< css::document::XScriptInvocationContext > &documentScriptContext) | |
| virtual | ~BasicScriptImpl () override |
| virtual css::uno::Any SAL_CALL | invoke (const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam) override |
| virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Public Member Functions inherited from SfxListener | |
| SfxListener () | |
| SfxListener (const SfxListener &rCopy) | |
| virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
| void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
| void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
| void | EndListeningAll () |
| bool | IsListening (SfxBroadcaster &rBroadcaster) const |
| sal_uInt16 | GetBroadcasterCount () const |
| SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
| void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
| virtual bool | IsSdrView () const |
Public Member Functions inherited from scripting_helper::OBroadcastHelperHolder | |
| OBroadcastHelperHolder (::osl::Mutex &rMutex) | |
| ::cppu::OBroadcastHelper & | GetBroadcastHelper () |
| const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
Public Member Functions inherited from comphelper::OPropertyContainer | |
| virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< BasicScriptImpl > | |
| OPropertyArrayUsageHelper () | |
| virtual | ~OPropertyArrayUsageHelper () |
| ::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
| virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
| virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
Protected Member Functions inherited from comphelper::OPropertyContainer | |
| OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper) | |
| virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
| virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
| virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
| virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override final |
| virtual void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0 |
| virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final |
Protected Member Functions inherited from comphelper::OPropertyContainerHelper | |
| OPropertyContainerHelper () | |
| ~OPropertyContainerHelper () | |
| void | registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType) |
| void | registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType) |
| void | registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue) |
| void | revokeProperty (sal_Int32 _nHandle) |
| bool | isRegisteredProperty (sal_Int32 _nHandle) const |
| bool | isRegisteredProperty (const OUString &_rName) const |
| bool | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) |
| void | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) |
| void | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const |
| void | describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const |
| const css::beans::Property & | getProperty (const OUString &_rName) const |
| virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Private Attributes | |
| SbMethodRef | m_xMethod |
| OUString | m_funcName |
| BasicManager * | m_documentBasicManager |
| css::uno::Reference< css::document::XScriptInvocationContext > | m_xDocumentScriptContext |
| css::uno::Sequence< css::uno::Any > | m_caller |
Additional Inherited Members | |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
| static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< BasicScriptImpl > | |
| static std::mutex & | theMutex () |
Protected Attributes inherited from cppu::BaseMutex | |
| mutable::osl::Mutex | m_aMutex |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< BasicScriptImpl > | |
| static sal_Int32 | s_nRefCount |
| ::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 45 of file basscript.hxx.
| basprov::BasicScriptImpl::BasicScriptImpl | ( | OUString | funcName, |
| SbMethodRef | xMethod | ||
| ) |
Definition at line 58 of file basscript.cxx.
References BASSCRIPT_DEFAULT_ATTRIBS, basprov::BASSCRIPT_PROPERTY_CALLER, BASSCRIPT_PROPERTY_ID_CALLER, m_aMutex, m_caller, comphelper::OPropertyContainerHelper::registerProperty(), and xMethod.
| basprov::BasicScriptImpl::BasicScriptImpl | ( | OUString | funcName, |
| SbMethodRef | xMethod, | ||
| BasicManager & | documentBasicManager, | ||
| const css::uno::Reference< css::document::XScriptInvocationContext > & | documentScriptContext | ||
| ) |
References DECLARE_XINTERFACE.
|
overridevirtual |
Definition at line 83 of file basscript.cxx.
References SfxListener::EndListening(), and m_documentBasicManager.
|
overrideprotectedvirtual |
Implements comphelper::OPropertyArrayUsageHelper< BasicScriptImpl >.
Definition at line 134 of file basscript.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
|
overrideprotected |
Definition at line 125 of file basscript.cxx.
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 145 of file basscript.cxx.
References getInfoHelper().
|
overridevirtual |
Definition at line 155 of file basscript.cxx.
References a, Any, SbModule::Compile(), ERRCODE_NONE, SbxParamInfo::eType, tools::SvRef< typename T >::get(), i, tools::SvRef< typename T >::is(), SbModule::IsCompiled(), m_caller, m_documentBasicManager, m_funcName, m_xDocumentScriptContext, m_xMethod, n, nCount, p, SbxBYREF, SbxDOUBLE, SbxINTEGER, SbxLONG, SbxSINGLE, sbxToUnoValue(), SbxULONG, SbxUSHORT, SbxVARIANT, BasicManager::SetGlobalUNOConstant(), t, and unoToSbxValue().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 94 of file basscript.cxx.
References SfxListener::EndListening(), SfxHint::GetId(), and m_documentBasicManager.
|
private |
Definition at line 60 of file basscript.hxx.
Referenced by BasicScriptImpl(), and invoke().
|
private |
Definition at line 54 of file basscript.hxx.
Referenced by invoke(), Notify(), and ~BasicScriptImpl().
|
private |
Definition at line 53 of file basscript.hxx.
Referenced by invoke().
|
private |
Definition at line 56 of file basscript.hxx.
Referenced by invoke().
|
private |
Definition at line 52 of file basscript.hxx.
Referenced by invoke().