LibreOffice Module svx (master) 1
|
Implement Title/Description Elements UI for Writer text frames, graphics and embedded objects (#i73249#) More...
#include <svdundo.hxx>
Public Types | |
enum class | ObjStrAttrType { Name , Title , Description } |
Public Member Functions | |
SdrUndoObjStrAttr (SdrObject &rNewObj, const ObjStrAttrType eObjStrAttr, OUString sOldStr, OUString sNewStr) | |
virtual void | Undo () override |
virtual void | Redo () override |
virtual OUString | GetComment () 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 |
Private Attributes | |
const ObjStrAttrType | meObjStrAttr |
const OUString | msOldStr |
const OUString | msNewStr |
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) | |
Static Protected Member Functions inherited from SdrUndoObj | |
static OUString | GetDescriptionStringForObject (const SdrObject &_rForObject, TranslateId pStrCacheID, bool bRepeat=false) |
Protected Attributes inherited from SdrUndoObj | |
rtl::Reference< SdrObject > | mxObj |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Implement Title/Description Elements UI for Writer text frames, graphics and embedded objects (#i73249#)
Definition at line 452 of file svdundo.hxx.
|
strong |
Enumerator | |
---|---|
Name | |
Title | |
Description |
Definition at line 455 of file svdundo.hxx.
SdrUndoObjStrAttr::SdrUndoObjStrAttr | ( | SdrObject & | rNewObj, |
const ObjStrAttrType | eObjStrAttr, | ||
OUString | sOldStr, | ||
OUString | sNewStr | ||
) |
Definition at line 1152 of file svdundo.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1199 of file svdundo.cxx.
References aStr, Description, SdrUndoObj::ImpGetDescriptionStr(), meObjStrAttr, msNewStr, Name, and Title.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1181 of file svdundo.cxx.
References Description, SdrUndoObj::ImpShowPageOfThisObject(), meObjStrAttr, msNewStr, SdrUndoObj::mxObj, Name, and Title.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1163 of file svdundo.cxx.
References Description, SdrUndoObj::ImpShowPageOfThisObject(), meObjStrAttr, msOldStr, SdrUndoObj::mxObj, Name, and Title.
|
private |
Definition at line 473 of file svdundo.hxx.
Referenced by GetComment(), Redo(), and Undo().
|
private |
Definition at line 475 of file svdundo.hxx.
Referenced by GetComment(), and Redo().
|
private |
Definition at line 474 of file svdundo.hxx.
Referenced by Undo().