LibreOffice Module sd (master) 1
|
#include <unchss.hxx>
Public Member Functions | |
StyleSheetUndoAction (SdDrawDocument *pTheDoc, SfxStyleSheet *pTheStyleSheet, const SfxItemSet *pTheNewItemSet) | |
virtual void | Undo () override |
virtual void | Redo () 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 Attributes | |
SfxStyleSheet * | mpStyleSheet |
std::unique_ptr< SfxItemSet > | mpNewSet |
std::unique_ptr< SfxItemSet > | mpOldSet |
Additional Inherited Members | |
![]() | |
SdDrawDocument * | mpDoc |
ViewShellId | mnViewShellId |
Definition at line 32 of file unchss.hxx.
StyleSheetUndoAction::StyleSheetUndoAction | ( | SdDrawDocument * | pTheDoc, |
SfxStyleSheet * | pTheStyleSheet, | ||
const SfxItemSet * | pTheNewItemSet | ||
) |
Definition at line 36 of file unchss.cxx.
References aName, DBG_ASSERT, SdrObject::GetGlobalDrawObjectItemPool(), SfxStyleSheetBase::GetItemSet(), SfxStyleSheetBase::GetName(), SfxItemSet::GetRanges(), SdrModel::MigrateItemSet(), mpNewSet, mpOldSet, mpStyleSheet, nPos, SD_LT_SEPARATOR, SdResId(), SdUndoAction::SetComment(), STR_LAYOUT_BACKGROUND, STR_LAYOUT_BACKGROUNDOBJECTS, STR_LAYOUT_NOTES, STR_LAYOUT_OUTLINE, STR_LAYOUT_SUBTITLE, and STR_LAYOUT_TITLE.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 107 of file unchss.cxx.
References SfxBroadcaster::Broadcast(), SfxStyleSheetBase::GetFamily(), SdrModel::GetItemPool(), SfxStyleSheetBase::GetItemSet(), SdrModel::MigrateItemSet(), SdUndoAction::mpDoc, mpNewSet, mpOldSet, mpStyleSheet, and SfxItemSet::Set().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 95 of file unchss.cxx.
References SfxBroadcaster::Broadcast(), SfxStyleSheetBase::GetFamily(), SdrModel::GetItemPool(), SfxStyleSheetBase::GetItemSet(), SdrModel::MigrateItemSet(), SdUndoAction::mpDoc, mpOldSet, mpStyleSheet, and SfxItemSet::Set().
|
private |
Definition at line 36 of file unchss.hxx.
Referenced by Redo(), and StyleSheetUndoAction().
|
private |
Definition at line 37 of file unchss.hxx.
Referenced by Redo(), StyleSheetUndoAction(), and Undo().
|
private |
Definition at line 34 of file unchss.hxx.
Referenced by Redo(), StyleSheetUndoAction(), and Undo().