LibreOffice Module scripting (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
basprov::BasicScriptImpl Class Reference

#include <basscript.hxx>

Inheritance diagram for basprov::BasicScriptImpl:
[legend]
Collaboration diagram for basprov::BasicScriptImpl:
[legend]

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
 
SfxBroadcasterGetBroadcasterJOE (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::OBroadcastHelperGetBroadcastHelper ()
 
const ::cppu::OBroadcastHelperGetBroadcastHelper () const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< BasicScriptImpl >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () 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::IPropertyArrayHelpercreateArrayHelper () const =0
 

Private Attributes

SbMethodRef m_xMethod
 
OUString m_funcName
 
BasicManagerm_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::mutextheMutex ()
 
- 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::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 45 of file basscript.hxx.

Constructor & Destructor Documentation

◆ BasicScriptImpl() [1/2]

basprov::BasicScriptImpl::BasicScriptImpl ( OUString  funcName,
SbMethodRef  xMethod 
)

◆ BasicScriptImpl() [2/2]

basprov::BasicScriptImpl::BasicScriptImpl ( OUString  funcName,
SbMethodRef  xMethod,
BasicManager documentBasicManager,
const css::uno::Reference< css::document::XScriptInvocationContext > &  documentScriptContext 
)

References DECLARE_XINTERFACE.

◆ ~BasicScriptImpl()

basprov::BasicScriptImpl::~BasicScriptImpl ( )
overridevirtual

Definition at line 83 of file basscript.cxx.

References SfxListener::EndListening(), and m_documentBasicManager.

Member Function Documentation

◆ createArrayHelper()

cppu::IPropertyArrayHelper * basprov::BasicScriptImpl::createArrayHelper ( ) const
overrideprotectedvirtual

◆ getInfoHelper()

cppu::IPropertyArrayHelper & basprov::BasicScriptImpl::getInfoHelper ( )
overrideprotected

Definition at line 125 of file basscript.cxx.

Referenced by getPropertySetInfo().

◆ getPropertySetInfo()

Reference< XPropertySetInfo > basprov::BasicScriptImpl::getPropertySetInfo ( )
overridevirtual

Definition at line 145 of file basscript.cxx.

References getInfoHelper().

◆ invoke()

Any basprov::BasicScriptImpl::invoke ( const css::uno::Sequence< css::uno::Any > &  aParams,
css::uno::Sequence< sal_Int16 > &  aOutParamIndex,
css::uno::Sequence< css::uno::Any > &  aOutParam 
)
overridevirtual

◆ Notify()

void basprov::BasicScriptImpl::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 94 of file basscript.cxx.

References SfxListener::EndListening(), SfxHint::GetId(), and m_documentBasicManager.

Member Data Documentation

◆ m_caller

css::uno::Sequence< css::uno::Any > basprov::BasicScriptImpl::m_caller
private

Definition at line 60 of file basscript.hxx.

Referenced by BasicScriptImpl(), and invoke().

◆ m_documentBasicManager

BasicManager* basprov::BasicScriptImpl::m_documentBasicManager
private

Definition at line 54 of file basscript.hxx.

Referenced by invoke(), Notify(), and ~BasicScriptImpl().

◆ m_funcName

OUString basprov::BasicScriptImpl::m_funcName
private

Definition at line 53 of file basscript.hxx.

Referenced by invoke().

◆ m_xDocumentScriptContext

css::uno::Reference< css::document::XScriptInvocationContext > basprov::BasicScriptImpl::m_xDocumentScriptContext
private

Definition at line 56 of file basscript.hxx.

Referenced by invoke().

◆ m_xMethod

SbMethodRef basprov::BasicScriptImpl::m_xMethod
private

Definition at line 52 of file basscript.hxx.

Referenced by invoke().


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