LibreOffice Module svl (master) 1
Public Member Functions | Private Attributes | List of all members
SfxItemPropertySet Class Referencefinal

#include <itemprop.hxx>

Collaboration diagram for SfxItemPropertySet:
[legend]

Public Member Functions

 SfxItemPropertySet (o3tl::span< const SfxItemPropertyMapEntry > pMap)
 
 ~SfxItemPropertySet ()
 
void getPropertyValue (const SfxItemPropertyMapEntry &rEntry, const SfxItemSet &rSet, css::uno::Any &rAny) const
 
void getPropertyValue (const OUString &rName, const SfxItemSet &rSet, css::uno::Any &rAny) const
 
css::uno::Any getPropertyValue (const OUString &rName, const SfxItemSet &rSet) const
 
void setPropertyValue (const SfxItemPropertyMapEntry &rEntry, const css::uno::Any &aVal, SfxItemSet &rSet) const
 
void setPropertyValue (const OUString &rPropertyName, const css::uno::Any &aVal, SfxItemSet &rSet) const
 
css::beans::PropertyState getPropertyState (const OUString &rName, const SfxItemSet &rSet) const
 
css::beans::PropertyState getPropertyState (const SfxItemPropertyMapEntry &rEntry, const SfxItemSet &rSet) const noexcept
 
css::uno::Reference< css::beans::XPropertySetInfo > const & getPropertySetInfo () const
 
const SfxItemPropertyMapgetPropertyMap () const
 

Private Attributes

SfxItemPropertyMap m_aMap
 
css::uno::Reference< css::beans::XPropertySetInfo > m_xInfo
 

Detailed Description

Definition at line 97 of file itemprop.hxx.

Constructor & Destructor Documentation

◆ SfxItemPropertySet()

SfxItemPropertySet::SfxItemPropertySet ( o3tl::span< const SfxItemPropertyMapEntry pMap)
inline

Definition at line 103 of file itemprop.hxx.

◆ ~SfxItemPropertySet()

SfxItemPropertySet::~SfxItemPropertySet ( )

Definition at line 112 of file itemprop.cxx.

Member Function Documentation

◆ getPropertyMap()

const SfxItemPropertyMap & SfxItemPropertySet::getPropertyMap ( ) const
inline

Definition at line 142 of file itemprop.hxx.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > const & SfxItemPropertySet::getPropertySetInfo ( ) const

Definition at line 237 of file itemprop.cxx.

References m_aMap, and m_xInfo.

◆ getPropertyState() [1/2]

PropertyState SfxItemPropertySet::getPropertyState ( const OUString &  rName,
const SfxItemSet rSet 
) const
Exceptions
css::beans::UnknownPropertyException

Definition at line 215 of file itemprop.cxx.

References DEFAULT, SfxItemPropertyMap::getByName(), SfxItemSet::GetItemState(), m_aMap, SfxItemPropertyMapEntry::nWID, and rSet.

◆ getPropertyState() [2/2]

PropertyState SfxItemPropertySet::getPropertyState ( const SfxItemPropertyMapEntry rEntry,
const SfxItemSet rSet 
) const
noexcept

Definition at line 199 of file itemprop.cxx.

References DEFAULT, SfxItemSet::GetItemState(), SfxItemPropertyMapEntry::nWID, and rSet.

◆ getPropertyValue() [1/3]

Any SfxItemPropertySet::getPropertyValue ( const OUString &  rName,
const SfxItemSet rSet 
) const
Exceptions
css::uno::RuntimeException
css::beans::UnknownPropertyException

Definition at line 154 of file itemprop.cxx.

References Any, getPropertyValue(), and rSet.

◆ getPropertyValue() [2/3]

void SfxItemPropertySet::getPropertyValue ( const OUString &  rName,
const SfxItemSet rSet,
css::uno::Any &  rAny 
) const
Exceptions
css::uno::RuntimeException
css::beans::UnknownPropertyException

References getPropertyValue().

◆ getPropertyValue() [3/3]

void SfxItemPropertySet::getPropertyValue ( const SfxItemPropertyMapEntry rEntry,
const SfxItemSet rSet,
css::uno::Any &  rAny 
) const
Exceptions
css::uno::RuntimeException

Referenced by getPropertyValue().

◆ setPropertyValue() [1/2]

void SfxItemPropertySet::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  aVal,
SfxItemSet rSet 
) const
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException
css::beans::UnknownPropertyException

◆ setPropertyValue() [2/2]

void SfxItemPropertySet::setPropertyValue ( const SfxItemPropertyMapEntry rEntry,
const css::uno::Any &  aVal,
SfxItemSet rSet 
) const
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

Member Data Documentation

◆ m_aMap

SfxItemPropertyMap SfxItemPropertySet::m_aMap
private

Definition at line 99 of file itemprop.hxx.

Referenced by getPropertySetInfo(), and getPropertyState().

◆ m_xInfo

css::uno::Reference<css::beans::XPropertySetInfo> SfxItemPropertySet::m_xInfo
mutableprivate

Definition at line 100 of file itemprop.hxx.

Referenced by getPropertySetInfo().


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