LibreOffice Module sd (master) 1
|
#include <undoback.hxx>
Public Member Functions | |
SdBackgroundObjUndoAction (SdDrawDocument &rDoc, SdPage &rPage, const SfxItemSet &rItemSet) | |
virtual void | Undo () override |
virtual void | Redo () override |
virtual SdUndoAction * | Clone () const override |
![]() | |
SdUndoAction (SdDrawDocument *pSdDrawDocument) | |
void | SetComment (const OUString &rStr) |
virtual OUString | GetComment () const override |
virtual SdUndoAction * | Clone () const |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
![]() | |
SfxUndoAction () | |
virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
virtual void | Undo () |
virtual void | UndoWithContext (SfxUndoContext &i_context) |
virtual void | Redo () |
virtual void | RedoWithContext (SfxUndoContext &i_context) |
virtual void | Repeat (SfxRepeatTarget &) |
virtual bool | CanRepeat (SfxRepeatTarget &) const |
virtual bool | Merge (SfxUndoAction *pNextAction) |
virtual OUString | GetComment () const |
virtual OUString | GetRepeatComment (SfxRepeatTarget &) const |
virtual ViewShellId | GetViewShellId () const |
const DateTime & | GetDateTime () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Member Functions | |
void | ImplRestoreBackgroundObj () |
void | saveFillBitmap (SfxItemSet &rItemSet) |
void | restoreFillBitmap (SfxItemSet &rItemSet) |
Private Attributes | |
SdPage & | mrPage |
std::unique_ptr< SfxItemSet > | mpItemSet |
std::unique_ptr< SfxPoolItem > | mpFillBitmapItem |
bool | mbHasFillBitmap |
Additional Inherited Members | |
![]() | |
SdDrawDocument * | mpDoc |
ViewShellId | mnViewShellId |
Definition at line 33 of file undoback.hxx.
SdBackgroundObjUndoAction::SdBackgroundObjUndoAction | ( | SdDrawDocument & | rDoc, |
SdPage & | rPage, | ||
const SfxItemSet & | rItemSet | ||
) |
Definition at line 35 of file undoback.cxx.
References mpItemSet, saveFillBitmap(), SdResId(), and SdUndoAction::SetComment().
|
overridevirtual |
Reimplemented from SdUndoAction.
Definition at line 75 of file undoback.cxx.
References mbHasFillBitmap, SdUndoAction::mpDoc, mpFillBitmapItem, mpItemSet, and mrPage.
|
private |
Definition at line 49 of file undoback.cxx.
References SdrPage::ActionChanged(), SdrPageProperties::ClearItem(), SdrPageProperties::GetItemSet(), SdrPage::getSdrPageProperties(), mbHasFillBitmap, mpFillBitmapItem, mpItemSet, mrPage, SdrPageProperties::PutItemSet(), restoreFillBitmap(), and saveFillBitmap().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 70 of file undoback.cxx.
References ImplRestoreBackgroundObj().
|
private |
Definition at line 98 of file undoback.cxx.
References mbHasFillBitmap, mpFillBitmapItem, and SfxItemSet::Put().
Referenced by ImplRestoreBackgroundObj().
|
private |
Definition at line 84 of file undoback.cxx.
References SfxItemSet::ClearItem(), SfxItemSet::GetItemIfSet(), mbHasFillBitmap, mpFillBitmapItem, XATTR_FILLBITMAP(), and XATTR_FILLSTYLE().
Referenced by ImplRestoreBackgroundObj(), and SdBackgroundObjUndoAction().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 65 of file undoback.cxx.
References ImplRestoreBackgroundObj().
|
private |
Definition at line 40 of file undoback.hxx.
Referenced by Clone(), ImplRestoreBackgroundObj(), restoreFillBitmap(), and saveFillBitmap().
|
private |
Definition at line 39 of file undoback.hxx.
Referenced by Clone(), ImplRestoreBackgroundObj(), restoreFillBitmap(), and saveFillBitmap().
|
private |
Definition at line 38 of file undoback.hxx.
Referenced by Clone(), ImplRestoreBackgroundObj(), and SdBackgroundObjUndoAction().
|
private |
Definition at line 37 of file undoback.hxx.
Referenced by Clone(), and ImplRestoreBackgroundObj().