LibreOffice Module editeng (master) 1
Public Member Functions | Private Attributes | List of all members
EditUndoInsertFeature Class Reference

#include <editundo.hxx>

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

Public Member Functions

 EditUndoInsertFeature (EditEngine *pEE, const EPaM &rEPaM, const SfxPoolItem &rFeature)
 
virtual ~EditUndoInsertFeature () override
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from EditUndo
 EditUndo (sal_uInt16 nI, EditEngine *pEE)
 
virtual ~EditUndo () override
 
EditEngineGetEditEngine ()
 
virtual void Undo () override=0
 
virtual void Redo () override=0
 
virtual bool CanRepeat (SfxRepeatTarget &) const override
 
virtual OUString GetComment () const override
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
sal_uInt16 GetId () const
 
- 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

EPaM aEPaM
 
std::unique_ptr< SfxPoolItempFeature
 

Detailed Description

Definition at line 135 of file editundo.hxx.

Constructor & Destructor Documentation

◆ EditUndoInsertFeature()

EditUndoInsertFeature::EditUndoInsertFeature ( EditEngine pEE,
const EPaM rEPaM,
const SfxPoolItem rFeature 
)

Definition at line 374 of file editundo.cxx.

References Clone(), DBG_ASSERT, and pFeature.

◆ ~EditUndoInsertFeature()

EditUndoInsertFeature::~EditUndoInsertFeature ( )
overridevirtual

Definition at line 383 of file editundo.cxx.

Member Function Documentation

◆ Redo()

void EditUndoInsertFeature::Redo ( )
overridevirtual

◆ Undo()

void EditUndoInsertFeature::Undo ( )
overridevirtual

Member Data Documentation

◆ aEPaM

EPaM EditUndoInsertFeature::aEPaM
private

Definition at line 138 of file editundo.hxx.

Referenced by Redo(), and Undo().

◆ pFeature

std::unique_ptr<SfxPoolItem> EditUndoInsertFeature::pFeature
private

Definition at line 139 of file editundo.hxx.

Referenced by EditUndoInsertFeature(), and Redo().


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