20#include <libxml/xmlwriter.h>
144 (void)xmlTextWriterStartElement(pWriter, BAD_CAST(
"BaseProperties"));
145 (void)xmlTextWriterEndElement(pWriter);
153 if( !(bFillBitmap || bFillGradient || bFillHatch) )
157 if( !pFillStyleItem )
160 if( bFillBitmap && (pFillStyleItem->
GetValue() != drawing::FillStyle_BITMAP) )
165 if( bFillGradient && (pFillStyleItem->
GetValue() != drawing::FillStyle_GRADIENT) )
170 if( bFillHatch && (pFillStyleItem->
GetValue() != drawing::FillStyle_HATCH) )
void BroadcastObjectChange() const
void SendUserCall(SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const
virtual SdrObjKind GetObjIdentifier() const
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
const SfxPoolItem * GetItem(sal_uInt16 nWhich, bool bSearchInParent=true) const
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
virtual void SetObjectItemSet(const SfxItemSet &rSet)=0
virtual void ClearMergedItem(const sal_uInt16 nWhich)
const SdrObject & GetSdrObject() const
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const
virtual void ForceStyleToHardAttributes()
BaseProperties(SdrObject &rObj)
virtual const SfxItemSet & GetMergedItemSet() const
void SetMergedItemSetAndBroadcast(const SfxItemSet &rSet, bool bClearAllItems=false)
virtual sal_uInt32 getVersion() const
void BroadcastItemChange(const ItemChangeBroadcaster &rChange)
virtual ~BaseProperties()
virtual void SetMergedItem(const SfxPoolItem &rItem)
const SfxPoolItem & GetItem(const sal_uInt16 nWhich) const
virtual void SetObjectItem(const SfxPoolItem &rItem)=0
virtual void ClearObjectItem(const sal_uInt16 nWhich=0)=0
virtual void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
virtual const SfxItemSet & GetObjectItemSet() const =0
sal_uInt32 GetRectangleCount() const
const tools::Rectangle & GetRectangle(sal_uInt32 nIndex) const
struct _xmlTextWriter * xmlTextWriterPtr
void CleanupFillProperties(SfxItemSet &rItemSet)
@ Group
abstract object (SdrObject)
constexpr TypedWhichId< XFillHatchItem > XATTR_FILLHATCH(XATTR_FILL_FIRST+3)
constexpr TypedWhichId< XFillBitmapItem > XATTR_FILLBITMAP(XATTR_FILL_FIRST+4)
constexpr TypedWhichId< XFillStyleItem > XATTR_FILLSTYLE(XATTR_FILL_FIRST)
constexpr TypedWhichId< XFillGradientItem > XATTR_FILLGRADIENT(XATTR_FILL_FIRST+2)