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

#include <fmundo.hxx>

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

Public Member Functions

 FmUndoModelReplaceAction (FmFormModel &rMod, SdrUnoObj *pObject, const css::uno::Reference< css::awt::XControlModel > &xReplaced)
 
virtual ~FmUndoModelReplaceAction () override
 
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
 

Static Public Member Functions

static void DisposeElement (const css::uno::Reference< css::awt::XControlModel > &xReplaced)
 

Private Attributes

css::uno::Reference< css::awt::XControlModel > m_xReplaced
 
SdrUnoObjm_pObject
 

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

Constructor & Destructor Documentation

◆ FmUndoModelReplaceAction()

FmUndoModelReplaceAction::FmUndoModelReplaceAction ( FmFormModel rMod,
SdrUnoObj pObject,
const css::uno::Reference< css::awt::XControlModel > &  xReplaced 
)

Definition at line 1192 of file fmundo.cxx.

◆ ~FmUndoModelReplaceAction()

FmUndoModelReplaceAction::~FmUndoModelReplaceAction ( )
overridevirtual

Definition at line 1200 of file fmundo.cxx.

References DisposeElement(), and m_xReplaced.

Member Function Documentation

◆ DisposeElement()

void FmUndoModelReplaceAction::DisposeElement ( const css::uno::Reference< css::awt::XControlModel > &  xReplaced)
static

Definition at line 1207 of file fmundo.cxx.

Referenced by ~FmUndoModelReplaceAction().

◆ GetComment()

OUString FmUndoModelReplaceAction::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1258 of file fmundo.cxx.

References SvxResId().

◆ Redo()

virtual void FmUndoModelReplaceAction::Redo ( )
inlineoverridevirtual

Reimplemented from SfxUndoAction.

Definition at line 110 of file fmundo.hxx.

References Undo().

◆ Undo()

void FmUndoModelReplaceAction::Undo ( )
overridevirtual

Member Data Documentation

◆ m_pObject

SdrUnoObj* FmUndoModelReplaceAction::m_pObject
private

Definition at line 103 of file fmundo.hxx.

Referenced by Undo().

◆ m_xReplaced

css::uno::Reference< css::awt::XControlModel> FmUndoModelReplaceAction::m_xReplaced
private

Definition at line 102 of file fmundo.hxx.

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


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