LibreOffice Module svx (master) 1
|
Changing the object attributes. More...
#include <svdundo.hxx>
Public Member Functions | |
SdrUndoAttrObj (SdrObject &rNewObj, bool bStyleSheet1=false, bool bSaveText=false) | |
virtual | ~SdrUndoAttrObj () override |
virtual void | Undo () override |
virtual void | Redo () override |
virtual OUString | GetComment () const override |
virtual OUString | GetSdrRepeatComment () const override |
Public Member Functions inherited from SdrUndoAction | |
virtual | ~SdrUndoAction () override |
virtual bool | CanRepeat (SfxRepeatTarget &rView) const override |
virtual void | Repeat (SfxRepeatTarget &rView) override |
virtual OUString | GetRepeatComment (SfxRepeatTarget &rView) const override |
virtual OUString | GetSdrRepeatComment () const |
virtual bool | CanSdrRepeat (SdrView &rView) const |
virtual void | SdrRepeat (SdrView &rView) |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
Public Member Functions inherited from SfxUndoAction | |
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 |
Static Protected Member Functions | |
static void | ensureStyleSheetInStyleSheetPool (SfxStyleSheetBasePool &rStyleSheetPool, SfxStyleSheet &rSheet) |
Static Protected Member Functions inherited from SdrUndoObj | |
static OUString | GetDescriptionStringForObject (const SdrObject &_rForObject, TranslateId pStrCacheID, bool bRepeat=false) |
Private Attributes | |
std::optional< SfxItemSet > | moUndoSet |
std::optional< SfxItemSet > | moRedoSet |
rtl::Reference< SfxStyleSheetBase > | mxUndoStyleSheet |
rtl::Reference< SfxStyleSheetBase > | mxRedoStyleSheet |
bool | bStyleSheet |
bool | bHaveToTakeRedoSet |
std::optional< OutlinerParaObject > | pTextUndo |
std::optional< OutlinerParaObject > | pTextRedo |
std::unique_ptr< SdrUndoGroup > | pUndoGroup |
Additional Inherited Members | |
Protected Member Functions inherited from SdrUndoObj | |
SdrUndoObj (SdrObject &rNewObj) | |
virtual | ~SdrUndoObj () override |
OUString | ImpGetDescriptionStr (TranslateId pStrCacheID, bool bRepeat=false) const |
void | ImpShowPageOfThisObject () |
Protected Member Functions inherited from SdrUndoAction | |
SdrUndoAction (SdrModel &rNewMod) | |
Protected Attributes inherited from SdrUndoObj | |
rtl::Reference< SdrObject > | mxObj |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Changing the object attributes.
Create Action right before setting the new attributes. Also for StyleSheets.
Definition at line 150 of file svdundo.hxx.
SdrUndoAttrObj::SdrUndoAttrObj | ( | SdrObject & | rNewObj, |
bool | bStyleSheet1 = false , |
||
bool | bSaveText = false |
||
) |
Definition at line 252 of file svdundo.cxx.
References bStyleSheet, DynCastE3dScene(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetSubList(), moUndoSet, SdrUndoObj::mxObj, mxUndoStyleSheet, p, pTextUndo, and pUndoGroup.
|
overridevirtual |
Definition at line 291 of file svdundo.cxx.
References moRedoSet, moUndoSet, pTextRedo, pTextUndo, pUndoGroup, and std::optional< OutlinerParaObject >::reset().
|
staticprotected |
Definition at line 236 of file svdundo.cxx.
References SfxStyleSheetBasePool::Find(), SfxStyleSheetBase::GetFamily(), SfxStyleSheetBase::GetName(), SfxStyleSheetBase::GetParent(), SfxStyleSheetBasePool::Insert(), and SfxStyleSheet::SetParent().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 494 of file svdundo.cxx.
References bStyleSheet, and SdrUndoObj::ImpGetDescriptionStr().
|
overridevirtual |
Reimplemented from SdrUndoAction.
Definition at line 506 of file svdundo.cxx.
References bStyleSheet, and SdrUndoObj::ImpGetDescriptionStr().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 409 of file svdundo.cxx.
References bStyleSheet, DynCastE3dScene(), ensureStyleSheetInStyleSheetPool(), SfxWhichIter::FirstWhich(), SfxWhichIter::GetItemState(), SdrUndoObj::ImpShowPageOfThisObject(), moRedoSet, SdrUndoObj::mxObj, mxRedoStyleSheet, mxUndoStyleSheet, SfxWhichIter::NextWhich(), pTextRedo, and pUndoGroup.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 300 of file svdundo.cxx.
References bHaveToTakeRedoSet, bStyleSheet, DynCastE3dScene(), ensureStyleSheetInStyleSheetPool(), SfxWhichIter::FirstWhich(), SfxWhichIter::GetItemState(), SdrUndoObj::ImpShowPageOfThisObject(), moRedoSet, moUndoSet, SdrUndoObj::mxObj, mxRedoStyleSheet, mxUndoStyleSheet, SfxWhichIter::NextWhich(), p, pTextRedo, pTextUndo, and pUndoGroup.
|
private |
Definition at line 159 of file svdundo.hxx.
Referenced by Undo().
|
private |
Definition at line 158 of file svdundo.hxx.
Referenced by GetComment(), GetSdrRepeatComment(), Redo(), SdrUndoAttrObj(), and Undo().
|
private |
Definition at line 153 of file svdundo.hxx.
Referenced by Redo(), Undo(), and ~SdrUndoAttrObj().
|
private |
Definition at line 152 of file svdundo.hxx.
Referenced by SdrUndoAttrObj(), Undo(), and ~SdrUndoAttrObj().
|
private |
Definition at line 157 of file svdundo.hxx.
|
private |
Definition at line 156 of file svdundo.hxx.
Referenced by Redo(), SdrUndoAttrObj(), and Undo().
|
private |
Definition at line 165 of file svdundo.hxx.
Referenced by Redo(), Undo(), and ~SdrUndoAttrObj().
|
private |
Definition at line 162 of file svdundo.hxx.
Referenced by SdrUndoAttrObj(), Undo(), and ~SdrUndoAttrObj().
|
private |
Definition at line 168 of file svdundo.hxx.
Referenced by Redo(), SdrUndoAttrObj(), Undo(), and ~SdrUndoAttrObj().