LibreOffice Module svx (master)  1
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
SdrUndoAttrObj Class Reference

Changing the object attributes. More...

#include <svdundo.hxx>

Inheritance diagram for SdrUndoAttrObj:
[legend]
Collaboration diagram for SdrUndoAttrObj:
[legend]

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 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 UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
const DateTimeGetDateTime () 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, const char *pStrCacheID, bool bRepeat=false)
 

Protected Attributes

std::unique_ptr< SfxItemSetpUndoSet
 
std::unique_ptr< SfxItemSetpRedoSet
 
rtl::Reference< SfxStyleSheetBasemxUndoStyleSheet
 
rtl::Reference< SfxStyleSheetBasemxRedoStyleSheet
 
bool bStyleSheet
 
bool bHaveToTakeRedoSet
 
std::unique_ptr< OutlinerParaObjectpTextUndo
 
std::unique_ptr< OutlinerParaObjectpTextRedo
 
std::unique_ptr< SdrUndoGrouppUndoGroup
 
- Protected Attributes inherited from SdrUndoObj
SdrObjectpObj
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoObj
 SdrUndoObj (SdrObject &rNewObj)
 
OUString ImpGetDescriptionStr (const char *pStrCacheID, bool bRepeat=false) const
 
void ImpShowPageOfThisObject ()
 
- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 

Detailed Description

Changing the object attributes.

Create Action right before setting the new attributes. Also for StyleSheets.

Definition at line 142 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoAttrObj::SdrUndoAttrObj ( SdrObject rNewObj,
bool  bStyleSheet1 = false,
bool  bSaveText = false 
)
SdrUndoAttrObj::~SdrUndoAttrObj ( )
overridevirtual

Definition at line 289 of file svdundo.cxx.

References pRedoSet, pTextRedo, pTextUndo, pUndoGroup, and pUndoSet.

Member Function Documentation

void SdrUndoAttrObj::ensureStyleSheetInStyleSheetPool ( SfxStyleSheetBasePool rStyleSheetPool,
SfxStyleSheet rSheet 
)
staticprotected
OUString SdrUndoAttrObj::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 483 of file svdundo.cxx.

References bStyleSheet, and SdrUndoObj::ImpGetDescriptionStr().

OUString SdrUndoAttrObj::GetSdrRepeatComment ( ) const
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 495 of file svdundo.cxx.

References bStyleSheet, and SdrUndoObj::ImpGetDescriptionStr().

void SdrUndoAttrObj::Redo ( )
overridevirtual
void SdrUndoAttrObj::Undo ( )
overridevirtual

Member Data Documentation

bool SdrUndoAttrObj::bHaveToTakeRedoSet
protected

Definition at line 152 of file svdundo.hxx.

Referenced by Undo().

bool SdrUndoAttrObj::bStyleSheet
protected

Definition at line 151 of file svdundo.hxx.

Referenced by GetComment(), GetSdrRepeatComment(), Redo(), SdrUndoAttrObj(), and Undo().

rtl::Reference< SfxStyleSheetBase > SdrUndoAttrObj::mxRedoStyleSheet
protected

Definition at line 150 of file svdundo.hxx.

Referenced by Redo(), and Undo().

rtl::Reference< SfxStyleSheetBase > SdrUndoAttrObj::mxUndoStyleSheet
protected

Definition at line 149 of file svdundo.hxx.

Referenced by Redo(), SdrUndoAttrObj(), and Undo().

std::unique_ptr<SfxItemSet> SdrUndoAttrObj::pRedoSet
protected

Definition at line 146 of file svdundo.hxx.

Referenced by Redo(), Undo(), and ~SdrUndoAttrObj().

std::unique_ptr<OutlinerParaObject> SdrUndoAttrObj::pTextRedo
protected

Definition at line 160 of file svdundo.hxx.

Referenced by Redo(), Undo(), and ~SdrUndoAttrObj().

std::unique_ptr<OutlinerParaObject> SdrUndoAttrObj::pTextUndo
protected

Definition at line 156 of file svdundo.hxx.

Referenced by SdrUndoAttrObj(), Undo(), and ~SdrUndoAttrObj().

std::unique_ptr<SdrUndoGroup> SdrUndoAttrObj::pUndoGroup
protected

Definition at line 163 of file svdundo.hxx.

Referenced by Redo(), SdrUndoAttrObj(), Undo(), and ~SdrUndoAttrObj().

std::unique_ptr<SfxItemSet> SdrUndoAttrObj::pUndoSet
protected

Definition at line 145 of file svdundo.hxx.

Referenced by SdrUndoAttrObj(), Undo(), and ~SdrUndoAttrObj().


The documentation for this class was generated from the following files: