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

#include <editundo.hxx>

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

Public Member Functions

 EditUndoSetStyleSheet (EditEngine *pEE, sal_Int32 nPara, OUString aPrevName, SfxStyleFamily ePrevFamily, OUString aNewName, SfxStyleFamily eNewFamily, SfxItemSet aPrevParaAttribs)
 
virtual ~EditUndoSetStyleSheet () 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
 
OUString aPrevName
 
OUString aNewName
 
SfxStyleFamily ePrevFamily
 
SfxStyleFamily eNewFamily
 
SfxItemSet aPrevParaAttribs
 

Detailed Description

Definition at line 169 of file editundo.hxx.

Constructor & Destructor Documentation

◆ EditUndoSetStyleSheet()

EditUndoSetStyleSheet::EditUndoSetStyleSheet ( EditEngine pEE,
sal_Int32  nPara,
OUString  aPrevName,
SfxStyleFamily  ePrevFamily,
OUString  aNewName,
SfxStyleFamily  eNewFamily,
SfxItemSet  aPrevParaAttribs 
)

Definition at line 447 of file editundo.cxx.

◆ ~EditUndoSetStyleSheet()

EditUndoSetStyleSheet::~EditUndoSetStyleSheet ( )
overridevirtual

Definition at line 460 of file editundo.cxx.

Member Function Documentation

◆ Redo()

void EditUndoSetStyleSheet::Redo ( )
overridevirtual

◆ Undo()

void EditUndoSetStyleSheet::Undo ( )
overridevirtual

Member Data Documentation

◆ aNewName

OUString EditUndoSetStyleSheet::aNewName
private

Definition at line 174 of file editundo.hxx.

Referenced by Redo().

◆ aPrevName

OUString EditUndoSetStyleSheet::aPrevName
private

Definition at line 173 of file editundo.hxx.

Referenced by Undo().

◆ aPrevParaAttribs

SfxItemSet EditUndoSetStyleSheet::aPrevParaAttribs
private

Definition at line 177 of file editundo.hxx.

Referenced by Undo().

◆ eNewFamily

SfxStyleFamily EditUndoSetStyleSheet::eNewFamily
private

Definition at line 176 of file editundo.hxx.

Referenced by Redo().

◆ ePrevFamily

SfxStyleFamily EditUndoSetStyleSheet::ePrevFamily
private

Definition at line 175 of file editundo.hxx.

Referenced by Undo().

◆ nPara

sal_Int32 EditUndoSetStyleSheet::nPara
private

Definition at line 172 of file editundo.hxx.

Referenced by Redo(), and Undo().


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