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

#include <editundo.hxx>

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

Public Member Functions

 EditUndoSetParaAttribs (EditEngine *pEE, sal_Int32 nPara, SfxItemSet aPrevItems, SfxItemSet aNewItems)
 
virtual ~EditUndoSetParaAttribs () 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

sal_Int32 nPara
 
SfxItemSet aPrevItems
 
SfxItemSet aNewItems
 

Detailed Description

Definition at line 193 of file editundo.hxx.

Constructor & Destructor Documentation

◆ EditUndoSetParaAttribs()

EditUndoSetParaAttribs::EditUndoSetParaAttribs ( EditEngine pEE,
sal_Int32  nPara,
SfxItemSet  aPrevItems,
SfxItemSet  aNewItems 
)

Definition at line 479 of file editundo.cxx.

◆ ~EditUndoSetParaAttribs()

EditUndoSetParaAttribs::~EditUndoSetParaAttribs ( )
overridevirtual

Definition at line 486 of file editundo.cxx.

Member Function Documentation

◆ Redo()

void EditUndoSetParaAttribs::Redo ( )
overridevirtual

◆ Undo()

void EditUndoSetParaAttribs::Undo ( )
overridevirtual

Member Data Documentation

◆ aNewItems

SfxItemSet EditUndoSetParaAttribs::aNewItems
private

Definition at line 198 of file editundo.hxx.

Referenced by Redo().

◆ aPrevItems

SfxItemSet EditUndoSetParaAttribs::aPrevItems
private

Definition at line 197 of file editundo.hxx.

Referenced by Undo().

◆ nPara

sal_Int32 EditUndoSetParaAttribs::nPara
private

Definition at line 196 of file editundo.hxx.

Referenced by Redo(), and Undo().


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