20 #include <libxml/xmlwriter.h>
132 if(dynamic_cast<const SdrObjGroup*>( &
GetSdrObject() ) !=
nullptr)
161 xmlTextWriterStartElement(pWriter, BAD_CAST(
"BaseProperties"));
162 xmlTextWriterEndElement(pWriter);
170 if( bFillBitmap || bFillGradient || bFillHatch )
175 if( bFillBitmap && (pFillStyleItem->
GetValue() != drawing::FillStyle_BITMAP) )
180 if( bFillGradient && (pFillStyleItem->
GetValue() != drawing::FillStyle_GRADIENT) )
185 if( bFillHatch && (pFillStyleItem->
GetValue() != drawing::FillStyle_HATCH) )
virtual const SfxItemSet & GetObjectItemSet() const =0
const SfxPoolItem & GetItem(const sal_uInt16 nWhich) const
const tools::Rectangle & GetRectangle(sal_uInt32 nIndex) const
#define XATTR_FILLGRADIENT
struct _xmlTextWriter * xmlTextWriterPtr
virtual const SfxItemSet & GetMergedItemSet() const
virtual void ForceStyleToHardAttributes()
virtual ~BaseProperties()
virtual void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
virtual void ClearObjectItem(const sal_uInt16 nWhich=0)=0
void BroadcastItemChange(const ItemChangeBroadcaster &rChange)
virtual SfxStyleSheet * GetStyleSheet() const =0
virtual void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)=0
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
virtual void SetObjectItem(const SfxPoolItem &rItem)=0
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
void SetMergedItemSetAndBroadcast(const SfxItemSet &rSet, bool bClearAllItems=false)
void BroadcastObjectChange() const
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const
virtual void applyDefaultStyleSheetFromSdrModel()
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
sal_uInt32 GetRectangleCount() const
virtual void SetMergedItem(const SfxPoolItem &rItem)
const SdrObject & GetSdrObject() const
virtual sal_uInt32 getVersion() const
const SfxPoolItem * GetItem(sal_uInt16 nWhich, bool bSearchInParent=true) const
void CleanupFillProperties(SfxItemSet &rItemSet)
virtual void ClearMergedItem(const sal_uInt16 nWhich)
void SendUserCall(SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const
virtual void SetObjectItemSet(const SfxItemSet &rSet)=0