LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
E3dAttributesUndoAction Class Referencefinal

#include <e3dundo.hxx>

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

Public Member Functions

 E3dAttributesUndoAction (E3dObject &rInObject, SfxItemSet aNewSet, SfxItemSet aOldSet)
 
virtual ~E3dAttributesUndoAction () override
 
virtual bool CanRepeat (SfxRepeatTarget &rView) const override
 
virtual void Undo () override
 
virtual void Redo () 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 DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

virtual void Repeat (SfxRepeatTarget &rView) override
 

Private Attributes

SdrObjectmrObject
 
const SfxItemSet maNewSet
 
const SfxItemSet maOldSet
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Definition at line 84 of file e3dundo.hxx.

Constructor & Destructor Documentation

◆ E3dAttributesUndoAction()

E3dAttributesUndoAction::E3dAttributesUndoAction ( E3dObject rInObject,
SfxItemSet  aNewSet,
SfxItemSet  aOldSet 
)

Definition at line 56 of file e3dundo.cxx.

◆ ~E3dAttributesUndoAction()

E3dAttributesUndoAction::~E3dAttributesUndoAction ( )
overridevirtual

Definition at line 67 of file e3dundo.cxx.

Member Function Documentation

◆ CanRepeat()

bool E3dAttributesUndoAction::CanRepeat ( SfxRepeatTarget &  rView) const
overridevirtual

Reimplemented from SdrUndoAction.

Definition at line 87 of file e3dundo.cxx.

◆ Redo()

void E3dAttributesUndoAction::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 80 of file e3dundo.cxx.

References maNewSet, mrObject, and SdrObject::SetMergedItemSetAndBroadcast().

◆ Repeat()

void SdrUndoAction::Repeat ( SfxRepeatTarget &  rView)
overrideprivatevirtual

Reimplemented from SdrUndoAction.

Definition at line 73 of file svdundo.cxx.

References SdrUndoAction::CanSdrRepeat().

◆ Undo()

void E3dAttributesUndoAction::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 74 of file e3dundo.cxx.

References maOldSet, mrObject, and SdrObject::SetMergedItemSetAndBroadcast().

Member Data Documentation

◆ maNewSet

const SfxItemSet E3dAttributesUndoAction::maNewSet
private

Definition at line 90 of file e3dundo.hxx.

Referenced by Redo().

◆ maOldSet

const SfxItemSet E3dAttributesUndoAction::maOldSet
private

Definition at line 91 of file e3dundo.hxx.

Referenced by Undo().

◆ mrObject

SdrObject& E3dAttributesUndoAction::mrObject
private

Definition at line 89 of file e3dundo.hxx.

Referenced by Redo(), and Undo().


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