LibreOffice Module svx (master)
1
|
#include <sdasitm.hxx>
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 | |
SdrCustomShapeGeometryItem & | operator= (SdrCustomShapeGeometryItem const &)=delete |
SdrCustomShapeGeometryItem & | operator= (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 SdrCustomShapeGeometryItem * | Clone (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) |
![]() | |
void | AddRef (sal_uInt32 n=1) const |
virtual | ~SfxPoolItem () |
void | SetWhich (sal_uInt16 nId) |
sal_uInt16 | Which () const |
T & | StaticWhichCast (TypedWhichId< T > nId) |
const T & | StaticWhichCast (TypedWhichId< T > nId) const |
T * | DynamicWhichCast (TypedWhichId< T > nId) |
const T * | DynamicWhichCast (TypedWhichId< T > nId) const |
bool | operator!= (const SfxPoolItem &rItem) const |
virtual bool | operator< (const SfxPoolItem &) const |
virtual bool | IsSortable () const |
virtual void | ScaleMetrics (tools::Long lMult, tools::Long lDiv) |
virtual bool | HasMetrics () const |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (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 boost::property_tree::ptree | dumpAsJSON () const |
virtual bool | IsVoidItem () const |
Private Types | |
typedef std::unordered_map< PropertyPair, sal_Int32, PropertyPairHash > | PropertyPairHashMap |
typedef std::unordered_map< OUString, sal_Int32 > | PropertyHashMap |
Private Attributes | |
PropertyHashMap | aPropHashMap |
PropertyPairHashMap | aPropPairHashMap |
css::uno::Sequence< css::beans::PropertyValue > | aPropSeq |
Additional Inherited Members | |
![]() | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Definition at line 33 of file sdasitm.hxx.
|
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.
|
private |
Definition at line 43 of file sdasitm.hxx.
SdrCustomShapeGeometryItem::SdrCustomShapeGeometryItem | ( | ) |
Definition at line 31 of file customshapeitem.cxx.
Referenced by Clone().
SdrCustomShapeGeometryItem::SdrCustomShapeGeometryItem | ( | const css::uno::Sequence< css::beans::PropertyValue > & | ) |
|
overridevirtual |
Definition at line 237 of file customshapeitem.cxx.
|
default |
|
default |
void SdrCustomShapeGeometryItem::ClearPropertyValue | ( | const OUString & | rPropertyName | ) |
Definition at line 202 of file customshapeitem.cxx.
References aPropHashMap, aPropPairHashMap, aPropSeq, nIndex, nLength, and o3tl::tryAccess().
Referenced by GetGeometryForCustomShape().
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 263 of file customshapeitem.cxx.
References aPropSeq, and SdrCustomShapeGeometryItem().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 248 of file customshapeitem.cxx.
css::uno::Any * SdrCustomShapeGeometryItem::GetPropertyValueByName | ( | const OUString & | rPropName | ) |
Definition at line 64 of file customshapeitem.cxx.
References aPropHashMap, and aPropSeq.
Referenced by EnhancedCustomShape2d::CreateSubPath(), SdrTextObj::GetCameraZRotation(), SdrObjCustomShape::GetCustomShapeName(), SdrObjCustomShape::GetExtraTextRotation(), getExtrusionProjectionState(), GetFontWorkOutline(), GetGeometryForCustomShape(), GetPropertyValueByName(), impl_execute(), InitializeFontWorkData(), SdrObjCustomShape::IsDefaultGeometry(), SdrObjCustomShape::IsMirroredX(), SdrObjCustomShape::IsMirroredY(), SdrObjCustomShape::IsTextPath(), SdrObjCustomShape::MergeDefaultAttributes(), SetPropertyValue(), and SdrObjCustomShape::UseNoFillStyle().
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 |
Definition at line 100 of file customshapeitem.cxx.
References aPropPairHashMap, GetPropertyValueByName(), and o3tl::tryAccess().
|
delete |
|
delete |
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 240 of file customshapeitem.cxx.
References aPropSeq, and SfxPoolItem::operator==().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 274 of file customshapeitem.cxx.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 268 of file customshapeitem.cxx.
References aPropSeq.
void SdrCustomShapeGeometryItem::SetPropertyValue | ( | const css::beans::PropertyValue & | rPropVal | ) |
Definition at line 118 of file customshapeitem.cxx.
References aPropHashMap, aPropPairHashMap, aPropSeq, assert(), GetPropertyValueByName(), nIndex, and o3tl::tryAccess().
Referenced by GetGeometryForCustomShape(), impl_execute(), SdrObjCustomShape::MergeDefaultAttributes(), SdrObjCustomShape::RestoreGeoData(), SdrObjCustomShape::SetMirroredX(), and SdrObjCustomShape::SetMirroredY().
void SdrCustomShapeGeometryItem::SetPropertyValue | ( | const OUString & | rSequenceName, |
const css::beans::PropertyValue & | rPropVal | ||
) |
Definition at line 155 of file customshapeitem.cxx.
References aPropHashMap, aPropPairHashMap, aPropSeq, aSeq, assert(), GetPropertyValueByName(), nCount, nIndex, and o3tl::tryAccess().
|
private |
Definition at line 46 of file sdasitm.hxx.
Referenced by ClearPropertyValue(), GetPropertyValueByName(), and SetPropertyValue().
|
private |
Definition at line 47 of file sdasitm.hxx.
Referenced by ClearPropertyValue(), GetPropertyValueByName(), and SetPropertyValue().
|
private |
Definition at line 49 of file sdasitm.hxx.
Referenced by ClearPropertyValue(), Clone(), GetPropertyValueByName(), operator==(), PutValue(), QueryValue(), and SetPropertyValue().