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

#include <editundo.hxx>

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

Public Member Functions

 EditUndoTransliteration (EditEngine *pEE, const ESelection &rESel, TransliterationFlags nMode)
 
virtual ~EditUndoTransliteration () override
 
void SetText (const OUString &rText)
 
void SetText (std::unique_ptr< EditTextObject > pObj)
 
void SetNewSelection (const ESelection &rSel)
 
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

ESelection aOldESel
 
ESelection aNewESel
 
TransliterationFlags nMode
 
std::unique_ptr< EditTextObjectpTxtObj
 
OUString aText
 

Detailed Description

Definition at line 251 of file editundo.hxx.

Constructor & Destructor Documentation

◆ EditUndoTransliteration()

EditUndoTransliteration::EditUndoTransliteration ( EditEngine pEE,
const ESelection rESel,
TransliterationFlags  nMode 
)

Definition at line 602 of file editundo.cxx.

◆ ~EditUndoTransliteration()

EditUndoTransliteration::~EditUndoTransliteration ( )
overridevirtual

Definition at line 606 of file editundo.cxx.

Member Function Documentation

◆ Redo()

void EditUndoTransliteration::Redo ( )
overridevirtual

◆ SetNewSelection()

void EditUndoTransliteration::SetNewSelection ( const ESelection rSel)
inline

Definition at line 269 of file editundo.hxx.

References aNewESel.

◆ SetText() [1/2]

void EditUndoTransliteration::SetText ( const OUString &  rText)
inline

Definition at line 267 of file editundo.hxx.

References aText.

◆ SetText() [2/2]

void EditUndoTransliteration::SetText ( std::unique_ptr< EditTextObject pObj)
inline

Definition at line 268 of file editundo.hxx.

References pTxtObj.

◆ Undo()

void EditUndoTransliteration::Undo ( )
overridevirtual

Member Data Documentation

◆ aNewESel

ESelection EditUndoTransliteration::aNewESel
private

Definition at line 255 of file editundo.hxx.

Referenced by SetNewSelection(), and Undo().

◆ aOldESel

ESelection EditUndoTransliteration::aOldESel
private

Definition at line 254 of file editundo.hxx.

Referenced by Redo().

◆ aText

OUString EditUndoTransliteration::aText
private

Definition at line 261 of file editundo.hxx.

Referenced by SetText(), and Undo().

◆ nMode

TransliterationFlags EditUndoTransliteration::nMode
private

Definition at line 258 of file editundo.hxx.

Referenced by Redo().

◆ pTxtObj

std::unique_ptr<EditTextObject> EditUndoTransliteration::pTxtObj
private

Definition at line 260 of file editundo.hxx.

Referenced by SetText(), and Undo().


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