LibreOffice Module scripting (master) 1
|
#include <basmethnode.hxx>
Public Member Functions | |
BasicMethodNodeImpl (const css::uno::Reference< css::uno::XComponentContext > &rxContext, OUString sScriptingContext, SbMethod *pMethod, bool isAppScript) | |
virtual | ~BasicMethodNodeImpl () override |
virtual OUString SAL_CALL | getName () override |
virtual css::uno::Sequence< css::uno::Reference< css::script::browse::XBrowseNode > > SAL_CALL | getChildNodes () override |
virtual sal_Bool SAL_CALL | hasChildNodes () override |
virtual sal_Int16 SAL_CALL | getType () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual css::uno::Reference< css::beans::XIntrospectionAccess > SAL_CALL | getIntrospection () override |
virtual css::uno::Any SAL_CALL | invoke (const OUString &aFunctionName, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam) override |
virtual void SAL_CALL | setValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getValue (const OUString &aPropertyName) override |
virtual sal_Bool SAL_CALL | hasMethod (const OUString &aName) override |
virtual sal_Bool SAL_CALL | hasProperty (const OUString &aName) override |
![]() | |
OBroadcastHelperHolder (::osl::Mutex &rMutex) | |
::cppu::OBroadcastHelper & | GetBroadcastHelper () |
const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
![]() | |
virtual | ~OPropertyContainer () |
![]() | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
![]() | |
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 |
![]() | |
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 | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
OUString | m_sScriptingContext |
SbMethod * | m_pMethod |
bool | m_bIsAppScript |
OUString | m_sURI |
bool | m_bEditable |
Additional Inherited Members | |
![]() | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
![]() | |
static std::mutex & | theMutex () |
![]() | |
mutable::osl::Mutex | m_aMutex |
![]() | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 47 of file basmethnode.hxx.
basprov::BasicMethodNodeImpl::BasicMethodNodeImpl | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
OUString | sScriptingContext, | ||
SbMethod * | pMethod, | ||
bool | isAppScript | ||
) |
Definition at line 60 of file basmethnode.cxx.
References BASPROV_DEFAULT_ATTRIBS, BASPROV_PROPERTY_EDITABLE, BASPROV_PROPERTY_ID_EDITABLE, BASPROV_PROPERTY_ID_URI, BASPROV_PROPERTY_URI, SbMethod::GetModule(), SbxVariable::GetName(), SbxVariable::GetParent(), m_aMutex, m_bEditable, m_bIsAppScript, m_pMethod, m_pMethod, m_sURI, m_xContext, and comphelper::OPropertyContainerHelper::registerProperty().
|
overridevirtual |
Definition at line 98 of file basmethnode.cxx.
|
overrideprotectedvirtual |
Implements comphelper::OPropertyArrayUsageHelper< BasicMethodNodeImpl >.
Definition at line 160 of file basmethnode.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
|
overridevirtual |
Definition at line 130 of file basmethnode.cxx.
Referenced by pythonscript.FileBrowseNode::hasChildNodes().
|
overrideprotected |
Definition at line 151 of file basmethnode.cxx.
References comphelper::OPropertyArrayUsageHelper< BasicMethodNodeImpl >::getArrayHelper().
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 181 of file basmethnode.cxx.
|
overridevirtual |
Definition at line 118 of file basmethnode.cxx.
References m_pMethod.
|
overridevirtual |
Definition at line 171 of file basmethnode.cxx.
References getInfoHelper().
|
overridevirtual |
Definition at line 142 of file basmethnode.cxx.
|
overridevirtual |
Definition at line 266 of file basmethnode.cxx.
References Any.
|
overridevirtual |
Definition at line 136 of file basmethnode.cxx.
|
overridevirtual |
Definition at line 273 of file basmethnode.cxx.
References aName, and BASPROV_PROPERTY_EDITABLE.
|
overridevirtual |
Definition at line 283 of file basmethnode.cxx.
|
overridevirtual |
Definition at line 187 of file basmethnode.cxx.
References Any, BASPROV_PROPERTY_EDITABLE, SbMethod::GetLineRange(), SbMethod::GetModule(), SbxVariable::GetName(), SbxVariable::GetParent(), m_bIsAppScript, m_pMethod, m_sScriptingContext, m_xContext, comphelper::makePropertyValue(), and xModel.
|
overridevirtual |
Definition at line 259 of file basmethnode.cxx.
|
private |
Definition at line 61 of file basmethnode.hxx.
Referenced by BasicMethodNodeImpl().
|
private |
Definition at line 57 of file basmethnode.hxx.
Referenced by BasicMethodNodeImpl(), and invoke().
|
private |
Definition at line 56 of file basmethnode.hxx.
Referenced by BasicMethodNodeImpl(), and invoke().
|
private |
Definition at line 55 of file basmethnode.hxx.
Referenced by invoke().
|
private |
Definition at line 60 of file basmethnode.hxx.
Referenced by BasicMethodNodeImpl().
|
private |
Definition at line 54 of file basmethnode.hxx.
Referenced by invoke().