LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
|
This interface is used by the OPropertyHelper, to access the property description. More...
#include <propshlp.hxx>
Public Member Functions | |
virtual | ~IPropertyArrayHelper () |
Following the rule, the first virtual method implies a virtual destructor. More... | |
virtual sal_Bool | fillPropertyMembersByHandle (::rtl::OUString *pPropName, sal_Int16 *pAttributes, sal_Int32 nHandle)=0 |
Return the property members Name and Attribute from the handle nHandle. More... | |
virtual css::uno::Sequence< css::beans::Property > | getProperties ()=0 |
Return the sequence of properties. More... | |
virtual css::beans::Property | getPropertyByName (const ::rtl::OUString &rPropertyName)=0 |
Return the property with the name rPropertyName. More... | |
virtual sal_Bool | hasPropertyByName (const ::rtl::OUString &rPropertyName)=0 |
Return true if the property with the name rPropertyName exist, otherwise false. More... | |
virtual sal_Int32 | getHandleByName (const ::rtl::OUString &rPropertyName)=0 |
Return the handle of the property with the name rPropertyName. More... | |
virtual sal_Int32 | fillHandles (sal_Int32 *pHandles, const css::uno::Sequence< ::rtl::OUString > &rPropNames)=0 |
Fill the array with the handles of the properties. More... | |
Static Public Member Functions | |
static void * | operator new (size_t nSize) |
static void | operator delete (void *pMem) |
static void * | operator new (size_t, void *pMem) |
static void | operator delete (void *, void *) |
This interface is used by the OPropertyHelper, to access the property description.
|
virtual |
Following the rule, the first virtual method implies a virtual destructor.
|
pure virtual |
Fill the array with the handles of the properties.
Implemented in cppu::OPropertyArrayHelper.
|
pure virtual |
Return the property members Name and Attribute from the handle nHandle.
nHandle | the handle of a property. If the values of the handles are sorted in the same way as the names and the highest handle value is getCount() -1, then it must be an indexed access to the property array. |
pPropName | is an out parameter filled with property name of the property with the handle nHandle. May be NULL. |
pAttributes | is an out parameter filled with attributes of the property with the handle nHandle. May be NULL. |
Implemented in cppu::OPropertyArrayHelper.
|
pure virtual |
Return the handle of the property with the name rPropertyName.
If the property does not exist -1 is returned.
rPropertyName | the name of the property. |
Implemented in cppu::OPropertyArrayHelper.
|
pure virtual |
Return the sequence of properties.
The sequence is sorted by name.
Implemented in cppu::OPropertyArrayHelper.
|
pure virtual |
Return the property with the name rPropertyName.
rPropertyName | the name of the property. |
UnknownPropertyException | thrown if the property name is unknown. |
Implemented in cppu::OPropertyArrayHelper.
|
pure virtual |
Return true if the property with the name rPropertyName exist, otherwise false.
rPropertyName | the name of the property. |
Implemented in cppu::OPropertyArrayHelper.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |