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

#include <e3dundo.hxx>

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

Public Member Functions

 E3dRotateUndoAction (E3dObject &r3DObj, basegfx::B3DHomMatrix aOldRotation, basegfx::B3DHomMatrix aNewRotation)
 
virtual ~E3dRotateUndoAction () override
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from E3dUndoAction
 E3dUndoAction (E3dObject &r3DObj)
 
virtual ~E3dUndoAction () override
 
virtual bool CanRepeat (SfxRepeatTarget &) 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 DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

basegfx::B3DHomMatrix maMyOldRotation
 
basegfx::B3DHomMatrix maMyNewRotation
 

Additional Inherited Members

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

Detailed Description

Definition at line 56 of file e3dundo.hxx.

Constructor & Destructor Documentation

◆ E3dRotateUndoAction()

E3dRotateUndoAction::E3dRotateUndoAction ( E3dObject r3DObj,
basegfx::B3DHomMatrix  aOldRotation,
basegfx::B3DHomMatrix  aNewRotation 
)
inline

Definition at line 63 of file e3dundo.hxx.

◆ ~E3dRotateUndoAction()

E3dRotateUndoAction::~E3dRotateUndoAction ( )
overridevirtual

Definition at line 38 of file e3dundo.cxx.

Member Function Documentation

◆ Redo()

void E3dRotateUndoAction::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 50 of file e3dundo.cxx.

References maMyNewRotation, E3dUndoAction::mrMy3DObj, and E3dObject::SetTransform().

◆ Undo()

void E3dRotateUndoAction::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 43 of file e3dundo.cxx.

References maMyOldRotation, E3dUndoAction::mrMy3DObj, and E3dObject::SetTransform().

Member Data Documentation

◆ maMyNewRotation

basegfx::B3DHomMatrix E3dRotateUndoAction::maMyNewRotation
private

Definition at line 60 of file e3dundo.hxx.

Referenced by Redo().

◆ maMyOldRotation

basegfx::B3DHomMatrix E3dRotateUndoAction::maMyOldRotation
private

Definition at line 59 of file e3dundo.hxx.

Referenced by Undo().


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