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

#include <textund2.hxx>

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

Public Member Functions

 TextUndoSplitPara (TextEngine *pTextEngine, sal_uInt32 nPara, sal_Int32 nSepPos)
 
virtual ~TextUndoSplitPara () override
 
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
 
virtual void Undo () override=0
 
virtual void Redo () override=0
 
virtual OUString GetComment () const override
 
- 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

sal_uInt32 mnPara
 
sal_Int32 mnSepPos
 

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 57 of file textund2.hxx.

Constructor & Destructor Documentation

◆ TextUndoSplitPara()

TextUndoSplitPara::TextUndoSplitPara ( TextEngine pTextEngine,
sal_uInt32  nPara,
sal_Int32  nSepPos 
)

Definition at line 225 of file textundo.cxx.

References nPos.

◆ ~TextUndoSplitPara()

TextUndoSplitPara::~TextUndoSplitPara ( )
overridevirtual

Definition at line 232 of file textundo.cxx.

Member Function Documentation

◆ GetComment()

OUString TextUndoSplitPara::GetComment ( ) const
overridevirtual

Reimplemented from TextUndo.

Definition at line 248 of file textundo.cxx.

References VclResId().

◆ Redo()

void TextUndoSplitPara::Redo ( )
overridevirtual

◆ Undo()

void TextUndoSplitPara::Undo ( )
overridevirtual

Member Data Documentation

◆ mnPara

sal_uInt32 TextUndoSplitPara::mnPara
private

Definition at line 60 of file textund2.hxx.

Referenced by Redo(), and Undo().

◆ mnSepPos

sal_Int32 TextUndoSplitPara::mnSepPos
private

Definition at line 61 of file textund2.hxx.

Referenced by Redo().


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