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

#include <editundo.hxx>

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

Public Member Functions

 EditUndoInsertChars (EditEngine *pEE, const EPaM &rEPaM, OUString aStr)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual bool Merge (SfxUndoAction *pNextAction) 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
 
OUString aText
 

Detailed Description

Definition at line 101 of file editundo.hxx.

Constructor & Destructor Documentation

◆ EditUndoInsertChars()

EditUndoInsertChars::EditUndoInsertChars ( EditEngine pEE,
const EPaM rEPaM,
OUString  aStr 
)

Definition at line 306 of file editundo.cxx.

References aStr.

Member Function Documentation

◆ Merge()

bool EditUndoInsertChars::Merge ( SfxUndoAction pNextAction)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 332 of file editundo.cxx.

References aEPaM, aText, EPaM::nIndex, and EPaM::nPara.

◆ Redo()

void EditUndoInsertChars::Redo ( )
overridevirtual

◆ Undo()

void EditUndoInsertChars::Undo ( )
overridevirtual

Member Data Documentation

◆ aEPaM

EPaM EditUndoInsertChars::aEPaM
private

Definition at line 104 of file editundo.hxx.

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

◆ aText

OUString EditUndoInsertChars::aText
private

Definition at line 105 of file editundo.hxx.

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


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