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

#include <textund2.hxx>

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

Public Member Functions

 TextUndoInsertChars (TextEngine *pTextEngine, const TextPaM &rTextPaM, const OUString &rStr)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual bool Merge (SfxUndoAction *pNextAction) 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 OUString GetRepeatComment (SfxRepeatTarget &) const
 
virtual ViewShellId GetViewShellId () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

TextPaM maTextPaM
 
OUString 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 74 of file textund2.hxx.

Constructor & Destructor Documentation

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

Definition at line 251 of file textundo.cxx.

References maText.

Member Function Documentation

OUString TextUndoInsertChars::GetComment ( ) const
overridevirtual

Reimplemented from TextUndo.

Definition at line 292 of file textundo.cxx.

References maText, and VclResId().

bool TextUndoInsertChars::Merge ( SfxUndoAction pNextAction)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 274 of file textundo.cxx.

References TextPaM::GetIndex(), TextPaM::GetPara(), maText, and maTextPaM.

void TextUndoInsertChars::Redo ( )
overridevirtual
void TextUndoInsertChars::Undo ( )
overridevirtual

Member Data Documentation

OUString TextUndoInsertChars::maText
private

Definition at line 78 of file textund2.hxx.

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

TextPaM TextUndoInsertChars::maTextPaM
private

Definition at line 77 of file textund2.hxx.

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


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