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

#include <fmundo.hxx>

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

Public Member Functions

 FmUndoPropertyAction (FmFormModel &rMod, const css::beans::PropertyChangeEvent &evt)
 
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 DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

css::uno::Reference< css::beans::XPropertySet > xObj
 
OUString aPropertyName
 
css::uno::Any aNewValue
 
css::uno::Any aOldValue
 

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 46 of file fmundo.hxx.

Constructor & Destructor Documentation

◆ FmUndoPropertyAction()

FmUndoPropertyAction::FmUndoPropertyAction ( FmFormModel rMod,
const css::beans::PropertyChangeEvent &  evt 
)

Member Function Documentation

◆ GetComment()

OUString FmUndoPropertyAction::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1014 of file fmundo.cxx.

References aPropertyName, aStr, and static_STR_UNDO_PROPERTY.

◆ Redo()

void FmUndoPropertyAction::Redo ( )
overridevirtual

◆ Undo()

void FmUndoPropertyAction::Undo ( )
overridevirtual

Member Data Documentation

◆ aNewValue

css::uno::Any FmUndoPropertyAction::aNewValue
private

Definition at line 50 of file fmundo.hxx.

Referenced by Redo().

◆ aOldValue

css::uno::Any FmUndoPropertyAction::aOldValue
private

Definition at line 51 of file fmundo.hxx.

Referenced by Undo().

◆ aPropertyName

OUString FmUndoPropertyAction::aPropertyName
private

Definition at line 49 of file fmundo.hxx.

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

◆ xObj

css::uno::Reference< css::beans::XPropertySet> FmUndoPropertyAction::xObj
private

Definition at line 48 of file fmundo.hxx.

Referenced by Redo(), and Undo().


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