20#ifndef INCLUDED_SVX_SDASITM_HXX
21#define INCLUDED_SVX_SDASITM_HXX
25#include <com/sun/star/beans/PropertyValue.hpp>
26#include <com/sun/star/uno/Sequence.hxx>
27#include <rtl/ustring.hxx>
29#include <unordered_map>
49 css::uno::Sequence< css::beans::PropertyValue >
m_aPropSeq;
54 mutable HashState m_aHashState = HashState::Unknown;
55 mutable size_t m_aHash = 0xdeadbeef;
57 void SetPropSeq(
const css::uno::Sequence< css::beans::PropertyValue >& rPropSeq );
58 inline void UpdateHash()
const;
59 inline void InvalidateHash();
74 virtual bool IsSortable()
const override {
return true; }
78 OUString &rText,
const IntlWrapper&)
const override;
85 css::uno::Any* GetPropertyValueByName(
const OUString& rPropName );
86 const css::uno::Any* GetPropertyValueByName(
const OUString& rPropName )
const;
87 css::uno::Any* GetPropertyValueByName(
const OUString& rPropName,
const OUString& rPropName2 );
88 const css::uno::Any* GetPropertyValueByName(
const OUString& rPropName,
const OUString& rPropName2 )
const;
91 void SetPropertyValue(
const OUString& rSequenceName,
const css::beans::PropertyValue& rPropVal );
93 void ClearPropertyValue(
const OUString& rPropertyName );
105 hash = hash * 37 + r1.first.hashCode();
106 hash = hash * 37 + r1.second.hashCode();
css::uno::Sequence< css::beans::PropertyValue > m_aPropSeq
virtual bool IsSortable() const override
std::pair< const OUString, const OUString > PropertyPair
std::unordered_map< PropertyPair, sal_Int32, PropertyPairHash > PropertyPairHashMap
PropertyPairHashMap m_aPropPairHashMap
SdrCustomShapeGeometryItem(SdrCustomShapeGeometryItem &&)=default
std::unordered_map< OUString, sal_Int32 > PropertyHashMap
PropertyHashMap m_aPropHashMap
SdrCustomShapeGeometryItem(const css::uno::Sequence< css::beans::PropertyValue > &)
SdrCustomShapeGeometryItem(SdrCustomShapeGeometryItem const &)=default
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
virtual bool operator==(const SfxPoolItem &) const=0
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId)
virtual bool operator<(const SfxPoolItem &) const
SfxPoolItem & operator=(const SfxPoolItem &)=delete
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const=0
void SetPropertyValue(SwPaM &rPaM, const SfxItemPropertySet &rPropSet, const OUString &rPropertyName, const css::uno::Any &rValue, const SetAttrMode nAttrMode=SetAttrMode::DEFAULT)
SdrOnOffItem makeSdrTextWordWrapItem(bool bAuto)
size_t operator()(const SdrCustomShapeGeometryItem::PropertyPair &) const
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_TEXT_WORDWRAP(SDRATTR_MISC_FIRST+24)
#define SVXCORE_DLLPUBLIC