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

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

Constructor & Destructor Documentation

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

Definition at line 1196 of file fmundo.cxx.

FmUndoModelReplaceAction::~FmUndoModelReplaceAction ( )
overridevirtual

Definition at line 1204 of file fmundo.cxx.

References DisposeElement(), and m_xReplaced.

Member Function Documentation

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

Definition at line 1211 of file fmundo.cxx.

Referenced by ~FmUndoModelReplaceAction().

OUString FmUndoModelReplaceAction::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1262 of file fmundo.cxx.

References SvxResId().

virtual void FmUndoModelReplaceAction::Redo ( )
inlineoverridevirtual

Reimplemented from SfxUndoAction.

Definition at line 111 of file fmundo.hxx.

References Undo().

void FmUndoModelReplaceAction::Undo ( )
overridevirtual

Member Data Documentation

SdrUnoObj* FmUndoModelReplaceAction::m_pObject
private

Definition at line 104 of file fmundo.hxx.

Referenced by Undo().

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

Definition at line 103 of file fmundo.hxx.

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


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