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

#include <editundo.hxx>

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

Public Member Functions

 EditUndoDelContent (EditEngine *pEE, ContentNode *pNode, sal_Int32 nPortion)
 
virtual ~EditUndoDelContent () 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

bool bDelObject
 
sal_Int32 nNode
 
ContentNodepContentNode
 

Detailed Description

Definition at line 36 of file editundo.hxx.

Constructor & Destructor Documentation

◆ EditUndoDelContent()

EditUndoDelContent::EditUndoDelContent ( EditEngine pEE,
ContentNode pNode,
sal_Int32  nPortion 
)

Definition at line 160 of file editundo.cxx.

◆ ~EditUndoDelContent()

EditUndoDelContent::~EditUndoDelContent ( )
overridevirtual

Definition at line 167 of file editundo.cxx.

References bDelObject, and pContentNode.

Member Function Documentation

◆ Redo()

void EditUndoDelContent::Redo ( )
overridevirtual

◆ Undo()

void EditUndoDelContent::Undo ( )
overridevirtual

Member Data Documentation

◆ bDelObject

bool EditUndoDelContent::bDelObject
private

Definition at line 39 of file editundo.hxx.

Referenced by Redo(), Undo(), and ~EditUndoDelContent().

◆ nNode

sal_Int32 EditUndoDelContent::nNode
private

Definition at line 40 of file editundo.hxx.

Referenced by Redo(), and Undo().

◆ pContentNode

ContentNode* EditUndoDelContent::pContentNode
private

Definition at line 41 of file editundo.hxx.

Referenced by Redo(), Undo(), and ~EditUndoDelContent().


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