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

#include <editundo.hxx>

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

Public Member Functions

 EditUndoMoveParagraphs (EditEngine *pEE, const Range &rParas, sal_Int32 nDest)
 
virtual ~EditUndoMoveParagraphs () 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

Range nParagraphs
 
sal_Int32 nDest
 

Detailed Description

Definition at line 152 of file editundo.hxx.

Constructor & Destructor Documentation

◆ EditUndoMoveParagraphs()

EditUndoMoveParagraphs::EditUndoMoveParagraphs ( EditEngine pEE,
const Range rParas,
sal_Int32  nDest 
)

Definition at line 411 of file editundo.cxx.

References n.

◆ ~EditUndoMoveParagraphs()

EditUndoMoveParagraphs::~EditUndoMoveParagraphs ( )
overridevirtual

Definition at line 415 of file editundo.cxx.

Member Function Documentation

◆ Redo()

void EditUndoMoveParagraphs::Redo ( )
overridevirtual

◆ Undo()

void EditUndoMoveParagraphs::Undo ( )
overridevirtual

Member Data Documentation

◆ nDest

sal_Int32 EditUndoMoveParagraphs::nDest
private

Definition at line 156 of file editundo.hxx.

Referenced by Redo(), and Undo().

◆ nParagraphs

Range EditUndoMoveParagraphs::nParagraphs
private

Definition at line 155 of file editundo.hxx.

Referenced by Redo(), and Undo().


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