27#include <com/sun/star/drawing/FillStyle.hpp>
42 mbHasFillBitmap(false)
44 OUString aString(
SdResId( STR_UNDO_CHANGE_PAGEFORMAT ) );
77 std::unique_ptr<SdBackgroundObjUndoAction> pCopy = std::make_unique<SdBackgroundObjUndoAction>(*
mpDoc,
mrPage, *
mpItemSet);
81 return pCopy.release();
virtual void Redo() override
virtual SdUndoAction * Clone() const override
std::unique_ptr< SfxItemSet > mpItemSet
void restoreFillBitmap(SfxItemSet &rItemSet)
virtual void Undo() override
std::unique_ptr< SfxPoolItem > mpFillBitmapItem
void saveFillBitmap(SfxItemSet &rItemSet)
SdBackgroundObjUndoAction(SdDrawDocument &rDoc, SdPage &rPage, const SfxItemSet &rItemSet)
void ImplRestoreBackgroundObj()
void SetComment(const OUString &rStr)
const SfxItemSet & GetItemSet() const
void PutItemSet(const SfxItemSet &rSet)
void ClearItem(const sal_uInt16 nWhich=0)
SdrPageProperties & getSdrPageProperties()
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
OUString SdResId(TranslateId aId)
constexpr TypedWhichId< XFillBitmapItem > XATTR_FILLBITMAP(XATTR_FILL_FIRST+4)
constexpr TypedWhichId< XFillStyleItem > XATTR_FILLSTYLE(XATTR_FILL_FIRST)