LibreOffice Module svx (master)  1
Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
SdrCustomShapeGeometryItem Class Reference

#include <sdasitm.hxx>

Inheritance diagram for SdrCustomShapeGeometryItem:
[legend]
Collaboration diagram for SdrCustomShapeGeometryItem:
[legend]

Classes

struct  PropertyPairHash
 

Public Types

typedef std::pair< const OUString, const OUString > PropertyPair
 

Public Member Functions

 SdrCustomShapeGeometryItem ()
 
 SdrCustomShapeGeometryItem (const css::uno::Sequence< css::beans::PropertyValue > &)
 
virtual ~SdrCustomShapeGeometryItem () override
 
 SdrCustomShapeGeometryItem (SdrCustomShapeGeometryItem const &)=default
 
 SdrCustomShapeGeometryItem (SdrCustomShapeGeometryItem &&)=default
 
SdrCustomShapeGeometryItemoperator= (SdrCustomShapeGeometryItem const &)=delete
 
SdrCustomShapeGeometryItemoperator= (SdrCustomShapeGeometryItem &&)=delete
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &) const override
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override
 
css::uno::Any * GetPropertyValueByName (const OUString &rPropName)
 
const css::uno::Any * GetPropertyValueByName (const OUString &rPropName) const
 
css::uno::Any * GetPropertyValueByName (const OUString &rPropName, const OUString &rPropName2)
 
const css::uno::Any * GetPropertyValueByName (const OUString &rPropName, const OUString &rPropName2) const
 
void SetPropertyValue (const css::beans::PropertyValue &rPropVal)
 
void SetPropertyValue (const OUString &rSequenceName, const css::beans::PropertyValue &rPropVal)
 
void ClearPropertyValue (const OUString &rPropertyName)
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual void ScaleMetrics (long lMult, long lDiv)
 
virtual bool HasMetrics () const
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual bool IsVoidItem () const
 

Private Types

typedef std::unordered_map< PropertyPair, sal_Int32, PropertyPairHashPropertyPairHashMap
 
typedef std::unordered_map< OUString, sal_Int32 > PropertyHashMap
 

Private Attributes

PropertyHashMap aPropHashMap
 
PropertyPairHashMap aPropPairHashMap
 
css::uno::Sequence< css::beans::PropertyValue > aPropSeq
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 33 of file sdasitm.hxx.

Member Typedef Documentation

typedef std::unordered_map<OUString, sal_Int32> SdrCustomShapeGeometryItem::PropertyHashMap
private

Definition at line 44 of file sdasitm.hxx.

typedef std::pair< const OUString, const OUString > SdrCustomShapeGeometryItem::PropertyPair

Definition at line 36 of file sdasitm.hxx.

typedef std::unordered_map<PropertyPair, sal_Int32, PropertyPairHash> SdrCustomShapeGeometryItem::PropertyPairHashMap
private

Definition at line 43 of file sdasitm.hxx.

Constructor & Destructor Documentation

SdrCustomShapeGeometryItem::SdrCustomShapeGeometryItem ( )

Definition at line 31 of file customshapeitem.cxx.

Referenced by Clone().

SdrCustomShapeGeometryItem::SdrCustomShapeGeometryItem ( const css::uno::Sequence< css::beans::PropertyValue > &  )
SdrCustomShapeGeometryItem::~SdrCustomShapeGeometryItem ( )
overridevirtual

Definition at line 238 of file customshapeitem.cxx.

SdrCustomShapeGeometryItem::SdrCustomShapeGeometryItem ( SdrCustomShapeGeometryItem const &  )
default
SdrCustomShapeGeometryItem::SdrCustomShapeGeometryItem ( SdrCustomShapeGeometryItem &&  )
default

Member Function Documentation

void SdrCustomShapeGeometryItem::ClearPropertyValue ( const OUString &  rPropertyName)
SfxPoolItem * SdrCustomShapeGeometryItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 264 of file customshapeitem.cxx.

References aPropSeq, and SdrCustomShapeGeometryItem().

bool SdrCustomShapeGeometryItem::GetPresentation ( SfxItemPresentation  ePresentation,
MapUnit  eCoreMetric,
MapUnit  ePresentationMetric,
OUString &  rText,
const IntlWrapper  
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 249 of file customshapeitem.cxx.

css::uno::Any * SdrCustomShapeGeometryItem::GetPropertyValueByName ( const OUString &  rPropName)
const css::uno::Any * SdrCustomShapeGeometryItem::GetPropertyValueByName ( const OUString &  rPropName) const

Definition at line 73 of file customshapeitem.cxx.

References aPropHashMap, and aPropSeq.

css::uno::Any * SdrCustomShapeGeometryItem::GetPropertyValueByName ( const OUString &  rPropName,
const OUString &  rPropName2 
)

Definition at line 82 of file customshapeitem.cxx.

References aPropPairHashMap, GetPropertyValueByName(), and o3tl::tryAccess().

const css::uno::Any * SdrCustomShapeGeometryItem::GetPropertyValueByName ( const OUString &  rPropName,
const OUString &  rPropName2 
) const
SdrCustomShapeGeometryItem& SdrCustomShapeGeometryItem::operator= ( SdrCustomShapeGeometryItem const &  )
delete
SdrCustomShapeGeometryItem& SdrCustomShapeGeometryItem::operator= ( SdrCustomShapeGeometryItem &&  )
delete
bool SdrCustomShapeGeometryItem::operator== ( const SfxPoolItem rCmp) const
overridevirtual

Implements SfxPoolItem.

Definition at line 241 of file customshapeitem.cxx.

References aPropSeq, and SfxPoolItem::operator==().

bool SdrCustomShapeGeometryItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 275 of file customshapeitem.cxx.

References aPropSeq, Name, and name.

bool SdrCustomShapeGeometryItem::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 269 of file customshapeitem.cxx.

References aPropSeq.

void SdrCustomShapeGeometryItem::SetPropertyValue ( const css::beans::PropertyValue &  rPropVal)
void SdrCustomShapeGeometryItem::SetPropertyValue ( const OUString &  rSequenceName,
const css::beans::PropertyValue &  rPropVal 
)

Member Data Documentation

PropertyHashMap SdrCustomShapeGeometryItem::aPropHashMap
private

Definition at line 46 of file sdasitm.hxx.

Referenced by ClearPropertyValue(), GetPropertyValueByName(), and SetPropertyValue().

PropertyPairHashMap SdrCustomShapeGeometryItem::aPropPairHashMap
private

Definition at line 47 of file sdasitm.hxx.

Referenced by ClearPropertyValue(), GetPropertyValueByName(), and SetPropertyValue().

css::uno::Sequence< css::beans::PropertyValue > SdrCustomShapeGeometryItem::aPropSeq
private

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