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

#include <editundo.hxx>

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

Public Member Functions

 EditUndoSetAttribs (EditEngine *pEE, const ESelection &rESel, SfxItemSet aNewItems)
 
virtual ~EditUndoSetAttribs () override
 
SfxItemSetGetNewAttribs ()
 
void SetSpecial (SetAttribsMode n)
 
void SetUpdateSelection (bool bSetSelection)
 
void SetRemoveAttribs (bool b)
 
void SetRemoveParaAttribs (bool b)
 
void SetRemoveWhich (sal_uInt16 n)
 
virtual void Undo () override
 
virtual void Redo () override
 
void AppendContentInfo (ContentAttribsInfo *pNew)
 
- 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 Types

typedef std::vector< std::unique_ptr< ContentAttribsInfo > > InfoArrayType
 

Private Member Functions

void ImpSetSelection ()
 

Private Attributes

ESelection aESel
 
SfxItemSet aNewAttribs
 
InfoArrayType aPrevAttribs
 
SetAttribsMode nSpecial
 
bool m_bSetSelection
 Once the attributes are set / unset, set the selection to the end of the formatted range? More...
 
bool bSetIsRemove
 
bool bRemoveParaAttribs
 
sal_uInt16 nRemoveWhich
 

Detailed Description

Definition at line 211 of file editundo.hxx.

Member Typedef Documentation

◆ InfoArrayType

typedef std::vector<std::unique_ptr<ContentAttribsInfo> > EditUndoSetAttribs::InfoArrayType
private

Definition at line 214 of file editundo.hxx.

Constructor & Destructor Documentation

◆ EditUndoSetAttribs()

EditUndoSetAttribs::EditUndoSetAttribs ( EditEngine pEE,
const ESelection rESel,
SfxItemSet  aNewItems 
)

Definition at line 502 of file editundo.cxx.

References NONE.

◆ ~EditUndoSetAttribs()

EditUndoSetAttribs::~EditUndoSetAttribs ( )
overridevirtual

Definition at line 532 of file editundo.cxx.

References aNewAttribs, aPrevAttribs, and SfxItemSet::GetPool().

Member Function Documentation

◆ AppendContentInfo()

void EditUndoSetAttribs::AppendContentInfo ( ContentAttribsInfo pNew)

Definition at line 590 of file editundo.cxx.

References aPrevAttribs.

◆ GetNewAttribs()

SfxItemSet & EditUndoSetAttribs::GetNewAttribs ( )
inline

Definition at line 234 of file editundo.hxx.

References aNewAttribs.

◆ ImpSetSelection()

void EditUndoSetAttribs::ImpSetSelection ( )
private

◆ Redo()

void EditUndoSetAttribs::Redo ( )
overridevirtual

◆ SetRemoveAttribs()

void EditUndoSetAttribs::SetRemoveAttribs ( bool  b)
inline

Definition at line 238 of file editundo.hxx.

References bSetIsRemove.

◆ SetRemoveParaAttribs()

void EditUndoSetAttribs::SetRemoveParaAttribs ( bool  b)
inline

Definition at line 239 of file editundo.hxx.

References bRemoveParaAttribs.

◆ SetRemoveWhich()

void EditUndoSetAttribs::SetRemoveWhich ( sal_uInt16  n)
inline

Definition at line 240 of file editundo.hxx.

References n, and nRemoveWhich.

◆ SetSpecial()

void EditUndoSetAttribs::SetSpecial ( SetAttribsMode  n)
inline

Definition at line 236 of file editundo.hxx.

References n, and nSpecial.

◆ SetUpdateSelection()

void EditUndoSetAttribs::SetUpdateSelection ( bool  bSetSelection)
inline

Definition at line 237 of file editundo.hxx.

References m_bSetSelection.

◆ Undo()

void EditUndoSetAttribs::Undo ( )
overridevirtual

Member Data Documentation

◆ aESel

ESelection EditUndoSetAttribs::aESel
private

Definition at line 216 of file editundo.hxx.

Referenced by ImpSetSelection(), Redo(), and Undo().

◆ aNewAttribs

SfxItemSet EditUndoSetAttribs::aNewAttribs
private

Definition at line 217 of file editundo.hxx.

Referenced by GetNewAttribs(), Redo(), and ~EditUndoSetAttribs().

◆ aPrevAttribs

InfoArrayType EditUndoSetAttribs::aPrevAttribs
private

Definition at line 218 of file editundo.hxx.

Referenced by AppendContentInfo(), Undo(), and ~EditUndoSetAttribs().

◆ bRemoveParaAttribs

bool EditUndoSetAttribs::bRemoveParaAttribs
private

Definition at line 224 of file editundo.hxx.

Referenced by Redo(), and SetRemoveParaAttribs().

◆ bSetIsRemove

bool EditUndoSetAttribs::bSetIsRemove
private

Definition at line 223 of file editundo.hxx.

Referenced by Redo(), and SetRemoveAttribs().

◆ m_bSetSelection

bool EditUndoSetAttribs::m_bSetSelection
private

Once the attributes are set / unset, set the selection to the end of the formatted range?

Definition at line 222 of file editundo.hxx.

Referenced by Redo(), SetUpdateSelection(), and Undo().

◆ nRemoveWhich

sal_uInt16 EditUndoSetAttribs::nRemoveWhich
private

Definition at line 225 of file editundo.hxx.

Referenced by Redo(), and SetRemoveWhich().

◆ nSpecial

SetAttribsMode EditUndoSetAttribs::nSpecial
private

Definition at line 220 of file editundo.hxx.

Referenced by Redo(), and SetSpecial().


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