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

#include <textund2.hxx>

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

Public Member Functions

 TextUndoRemoveChars (TextEngine *pTextEngine, const TextPaM &rTextPaM, const OUString &rStr)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from TextUndo
 TextUndo (TextEngine *pTextEngine)
 
virtual ~TextUndo () override
 
TextEngineGetTextEngine () const
 
- 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 void Repeat (SfxRepeatTarget &)
 
virtual bool CanRepeat (SfxRepeatTarget &) const
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
virtual ViewShellId GetViewShellId () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

TextPaM const maTextPaM
 
OUString const maText
 

Additional Inherited Members

- Protected Member Functions inherited from TextUndo
TextViewGetView () const
 
void SetSelection (const TextSelection &rSel)
 
TextDocGetDoc () const
 
TEParaPortionsGetTEParaPortions () const
 

Detailed Description

Definition at line 91 of file textund2.hxx.

Constructor & Destructor Documentation

TextUndoRemoveChars::TextUndoRemoveChars ( TextEngine pTextEngine,
const TextPaM rTextPaM,
const OUString &  rStr 
)

Definition at line 300 of file textundo.cxx.

References maText.

Member Function Documentation

OUString TextUndoRemoveChars::GetComment ( ) const
overridevirtual

Reimplemented from TextUndo.

Definition at line 322 of file textundo.cxx.

References maText, and VclResId().

void TextUndoRemoveChars::Redo ( )
overridevirtual
void TextUndoRemoveChars::Undo ( )
overridevirtual

Member Data Documentation

OUString const TextUndoRemoveChars::maText
private

Definition at line 95 of file textund2.hxx.

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

TextPaM const TextUndoRemoveChars::maTextPaM
private

Definition at line 94 of file textund2.hxx.

Referenced by Redo(), and Undo().


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