LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxUnoXPropertyTable Class Referenceabstract
Inheritance diagram for SvxUnoXPropertyTable:
[legend]
Collaboration diagram for SvxUnoXPropertyTable:
[legend]

Public Member Functions

 SvxUnoXPropertyTable (sal_Int16 nWhich, XPropertyList *pList) throw ()
 
virtual uno::Any getAny (const XPropertyEntry *pEntry) const =0
 
virtual std::unique_ptr< XPropertyEntrycreateEntry (const OUString &rName, const uno::Any &rAny) const =0
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual void SAL_CALL insertByName (const OUString &aName, const uno::Any &aElement) override
 
virtual void SAL_CALL removeByName (const OUString &Name) override
 
virtual void SAL_CALL replaceByName (const OUString &aName, const uno::Any &aElement) override
 
virtual uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual sal_Bool SAL_CALL hasElements () override
 

Private Member Functions

long getCount () const
 
const XPropertyEntryget (long index) const
 

Private Attributes

XPropertyListmpList
 
sal_Int16 const mnWhich
 

Detailed Description

Definition at line 46 of file XPropertyTable.cxx.

Constructor & Destructor Documentation

SvxUnoXPropertyTable::SvxUnoXPropertyTable ( sal_Int16  nWhich,
XPropertyList pList 
)
throw (
)

Definition at line 82 of file XPropertyTable.cxx.

Member Function Documentation

virtual std::unique_ptr<XPropertyEntry> SvxUnoXPropertyTable::createEntry ( const OUString &  rName,
const uno::Any rAny 
) const
pure virtual
Exceptions
uno::RuntimeException
lang::IllegalArgumentException

Implemented in SvxUnoXBitmapTable, SvxUnoXGradientTable, SvxUnoXHatchTable, SvxUnoXDashTable, SvxUnoXLineEndTable, and SvxUnoXColorTable.

const XPropertyEntry * SvxUnoXPropertyTable::get ( long  index) const
private

Definition at line 87 of file XPropertyTable.cxx.

References XPropertyList::Get().

virtual uno::Any SvxUnoXPropertyTable::getAny ( const XPropertyEntry pEntry) const
pure virtual
uno::Any SAL_CALL SvxUnoXPropertyTable::getByName ( const OUString &  aName)
overridevirtual

Definition at line 169 of file XPropertyTable.cxx.

References XPropertyEntry::GetName(), i, and SvxUnogetInternalNameForItem().

long SvxUnoXPropertyTable::getCount ( ) const
inlineprivate

Definition at line 52 of file XPropertyTable.cxx.

References XPropertyList::Count().

uno::Sequence< OUString > SAL_CALL SvxUnoXPropertyTable::getElementNames ( )
overridevirtual

Definition at line 188 of file XPropertyTable.cxx.

References XPropertyEntry::GetName(), i, and SvxUnogetApiNameForItem().

sal_Bool SAL_CALL SvxUnoXPropertyTable::hasByName ( const OUString &  aName)
overridevirtual
sal_Bool SAL_CALL SvxUnoXPropertyTable::hasElements ( )
overridevirtual

Definition at line 226 of file XPropertyTable.cxx.

void SAL_CALL SvxUnoXPropertyTable::insertByName ( const OUString &  aName,
const uno::Any aElement 
)
overridevirtual

Definition at line 102 of file XPropertyTable.cxx.

References XPropertyList::Insert(), and SvxUnogetInternalNameForItem().

void SAL_CALL SvxUnoXPropertyTable::removeByName ( const OUString &  Name)
overridevirtual
void SAL_CALL SvxUnoXPropertyTable::replaceByName ( const OUString &  aName,
const uno::Any aElement 
)
overridevirtual
sal_Bool SAL_CALL SvxUnoXPropertyTable::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 96 of file XPropertyTable.cxx.

References cppu::supportsService().

Member Data Documentation

sal_Int16 const SvxUnoXPropertyTable::mnWhich
private

Definition at line 50 of file XPropertyTable.cxx.

XPropertyList* SvxUnoXPropertyTable::mpList
private

Definition at line 49 of file XPropertyTable.cxx.


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