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 | ObjStrAttrType { ObjStrAttrType::Name, ObjStrAttrType::Title, ObjStrAttrType::Description } |
Public Member Functions | |
SdrUndoObjStrAttr (SdrObject &rNewObj, const ObjStrAttrType eObjStrAttr, const OUString &sOldStr, const OUString &sNewStr) | |
virtual void | Undo () override |
virtual void | Redo () override |
virtual OUString | GetComment () const override |
![]() | |
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... | |
![]() | |
SfxUndoAction () | |
virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
virtual void | UndoWithContext (SfxUndoContext &i_context) |
virtual void | RedoWithContext (SfxUndoContext &i_context) |
virtual bool | Merge (SfxUndoAction *pNextAction) |
const DateTime & | GetDateTime () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Attributes | |
const ObjStrAttrType | meObjStrAttr |
const OUString | msOldStr |
const OUString | msNewStr |
Additional Inherited Members | |
![]() | |
SdrUndoObj (SdrObject &rNewObj) | |
OUString | ImpGetDescriptionStr (TranslateId pStrCacheID, bool bRepeat=false) const |
void | ImpShowPageOfThisObject () |
![]() | |
SdrUndoAction (SdrModel &rNewMod) | |
![]() | |
static OUString | GetDescriptionStringForObject (const SdrObject &_rForObject, TranslateId pStrCacheID, bool bRepeat=false) |
![]() | |
SdrObject * | pObj |
![]() | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Implement Title/Description Elements UI for Writer text frames, graphics and embedded objects (#i73249#)
Definition at line 467 of file svdundo.hxx.
|
strong |
Enumerator | |
---|---|
Name | |
Title | |
Description |
Definition at line 470 of file svdundo.hxx.
SdrUndoObjStrAttr::SdrUndoObjStrAttr | ( | SdrObject & | rNewObj, |
const ObjStrAttrType | eObjStrAttr, | ||
const OUString & | sOldStr, | ||
const OUString & | sNewStr | ||
) |
Definition at line 1231 of file svdundo.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1278 of file svdundo.cxx.
References aStr, Description, SdrUndoObj::ImpGetDescriptionStr(), meObjStrAttr, msNewStr, Name, and Title.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1260 of file svdundo.cxx.
References Description, SdrUndoObj::ImpShowPageOfThisObject(), meObjStrAttr, msNewStr, Name, SdrUndoObj::pObj, SdrObject::SetDescription(), SdrObject::SetName(), SdrObject::SetTitle(), and Title.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1242 of file svdundo.cxx.
References Description, SdrUndoObj::ImpShowPageOfThisObject(), meObjStrAttr, msOldStr, Name, SdrUndoObj::pObj, SdrObject::SetDescription(), SdrObject::SetName(), SdrObject::SetTitle(), and Title.
|
private |
Definition at line 488 of file svdundo.hxx.
Referenced by GetComment(), Redo(), and Undo().
|
private |
Definition at line 490 of file svdundo.hxx.
Referenced by GetComment(), and Redo().
|
private |
Definition at line 489 of file svdundo.hxx.
Referenced by Undo().