20 #ifndef INCLUDED_SVX_SDR_PROPERTIES_PROPERTIES_HXX
21 #define INCLUDED_SVX_SDR_PROPERTIES_PROPERTIES_HXX
31 struct _xmlTextWriter;
43 class ItemChangeBroadcaster;
99 virtual std::unique_ptr<BaseProperties>
Clone(
SdrObject& rObj)
const = 0;
103 virtual const SfxItemSet& GetObjectItemSet()
const = 0;
110 virtual const SfxItemSet& GetMergedItemSet()
const;
114 virtual void SetObjectItemSet(
const SfxItemSet& rSet) = 0;
117 virtual void SetMergedItemSet(
const SfxItemSet& rSet,
bool bClearAllItems =
false);
121 virtual void SetObjectItem(
const SfxPoolItem& rItem) = 0;
125 virtual void SetObjectItemDirect(
const SfxPoolItem& rItem) = 0;
129 virtual void ClearObjectItem(
const sal_uInt16 nWhich = 0) = 0;
133 virtual void SetMergedItem(
const SfxPoolItem& rItem);
137 virtual void ClearMergedItem(
const sal_uInt16 nWhich);
142 virtual void ClearObjectItemDirect(
const sal_uInt16 nWhich) = 0;
146 virtual void SetStyleSheet(
SfxStyleSheet* pNewStyleSheet,
bool bDontRemoveHardAttr,
147 bool bBroadcast) = 0;
154 virtual void ForceStyleToHardAttributes();
161 void SetMergedItemSetAndBroadcast(
const SfxItemSet& rSet,
bool bClearAllItems =
false);
167 return static_cast<const T&
>(
GetItem(sal_uInt16(nWhich)));
178 virtual sal_uInt32 getVersion()
const;
188 #endif // INCLUDED_SVX_SDR_PROPERTIES_PROPERTIES_HXX
struct _xmlTextWriter * xmlTextWriterPtr
struct _xmlTextWriter * xmlTextWriterPtr
void CleanupFillProperties(SfxItemSet &rItemSet)
Reference< XAnimationNode > Clone(const Reference< XAnimationNode > &xSourceNode, const SdPage *pSource, const SdPage *pTarget)
#define SVXCORE_DLLPUBLIC
const T & GetItem(TypedWhichId< T > nWhich) const