LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwUndoMergeTable Class Referencefinal

#include <UndoTable.hxx>

Inheritance diagram for SwUndoMergeTable:
Collaboration diagram for SwUndoMergeTable:

Public Member Functions

 SwUndoMergeTable (const SwTableNode &rTableNd, const SwTableNode &rDelTableNd, bool bWithPrev)
virtual ~SwUndoMergeTable () override
virtual void UndoImpl (::sw::UndoRedoContext &) override
virtual void RedoImpl (::sw::UndoRedoContext &) override
virtual void RepeatImpl (::sw::RepeatContext &) override
void SaveFormula (SwHistory &rHistory)
- Public Member Functions inherited from SwUndo
virtual void UndoImpl (::sw::UndoRedoContext &)=0
virtual void RedoImpl (::sw::UndoRedoContext &)=0
 SwUndo (SwUndoId const nId, const SwDoc *pDoc)
virtual ~SwUndo () override
SwUndoId GetId () const
virtual OUString GetComment () const override
 Returns textual comment for this undo object. More...
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
RedlineFlags GetRedlineFlags () const
void SetRedlineFlags (RedlineFlags eMode)
bool IsDelBox () const
void IgnoreRepeat ()
- 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

OUString m_aName
SwNodeOffset m_nTableNode
std::unique_ptr< SaveTablem_pSaveTable
std::unique_ptr< SaveTablem_pSaveHdl
std::unique_ptr< SwHistorym_pHistory
bool m_bWithPrev

Additional Inherited Members

- Static Public Member Functions inherited from SwUndo
static bool FillSaveData (const SwPaM &rRange, SwRedlineSaveDatas &rSData, bool bDelRange=true, bool bCopyNext=true)
static bool FillSaveDataForFormat (const SwPaM &, SwRedlineSaveDatas &)
static void SetSaveData (SwDoc &rDoc, SwRedlineSaveDatas &rSData)
static bool HasHiddenRedlines (const SwRedlineSaveDatas &rSData)
- Protected Member Functions inherited from SwUndo
virtual SwRewriter GetRewriter () const
 Returns the rewriter for this object. More...
virtual void RepeatImpl (::sw::RepeatContext &)
- Static Protected Member Functions inherited from SwUndo
static void RemoveIdxFromSection (SwDoc &, SwNodeOffset nSttIdx, const SwNodeOffset *pEndIdx=nullptr)
static void RemoveIdxFromRange (SwPaM &rPam, bool bMoveNext)
static void RemoveIdxRel (SwNodeOffset, const SwPosition &)
static bool CanRedlineGroup (SwRedlineSaveDatas &rCurr, const SwRedlineSaveDatas &rCheck, bool bCurrIsEnd)
- Protected Attributes inherited from SwUndo
bool m_bCacheComment
std::optional< OUString > maComment

Detailed Description

Definition at line 346 of file UndoTable.hxx.

Constructor & Destructor Documentation

◆ SwUndoMergeTable()

SwUndoMergeTable::SwUndoMergeTable ( const SwTableNode rTableNd,
const SwTableNode rDelTableNd,
bool  bWithPrev 

◆ ~SwUndoMergeTable()

SwUndoMergeTable::~SwUndoMergeTable ( )

Definition at line 2945 of file untbl.cxx.

References m_pHistory, m_pSaveHdl, and m_pSaveTable.

Member Function Documentation

◆ RedoImpl()

void SwUndoMergeTable::RedoImpl ( ::sw::UndoRedoContext rContext)

◆ RepeatImpl()

void SwUndoMergeTable::RepeatImpl ( ::sw::RepeatContext rContext)

◆ SaveFormula()

void SwUndoMergeTable::SaveFormula ( SwHistory rHistory)

Definition at line 3037 of file untbl.cxx.

References m_pHistory.

Referenced by SwDoc::MergeTable().

◆ UndoImpl()

void SwUndoMergeTable::UndoImpl ( ::sw::UndoRedoContext rContext)

Member Data Documentation

◆ m_aName

OUString SwUndoMergeTable::m_aName

Definition at line 348 of file UndoTable.hxx.

Referenced by SwUndoMergeTable(), and UndoImpl().

◆ m_bWithPrev

bool SwUndoMergeTable::m_bWithPrev

Definition at line 352 of file UndoTable.hxx.

Referenced by RedoImpl(), RepeatImpl(), SwUndoMergeTable(), and UndoImpl().

◆ m_nTableNode

SwNodeOffset SwUndoMergeTable::m_nTableNode

Definition at line 349 of file UndoTable.hxx.

Referenced by RedoImpl(), SwUndoMergeTable(), and UndoImpl().

◆ m_pHistory

std::unique_ptr<SwHistory> SwUndoMergeTable::m_pHistory

Definition at line 351 of file UndoTable.hxx.

Referenced by SaveFormula(), UndoImpl(), and ~SwUndoMergeTable().

◆ m_pSaveHdl

std::unique_ptr<SaveTable> SwUndoMergeTable::m_pSaveHdl

Definition at line 350 of file UndoTable.hxx.

Referenced by SwUndoMergeTable(), UndoImpl(), and ~SwUndoMergeTable().

◆ m_pSaveTable

std::unique_ptr<SaveTable> SwUndoMergeTable::m_pSaveTable

Definition at line 350 of file UndoTable.hxx.

Referenced by SwUndoMergeTable(), UndoImpl(), and ~SwUndoMergeTable().

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