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

#include <UndoTable.hxx>

Inheritance diagram for SwUndoSplitTable:
Collaboration diagram for SwUndoSplitTable:

Public Member Functions

 SwUndoSplitTable (const SwTableNode &rTableNd, std::unique_ptr< SwSaveRowSpan > pRowSp, SplitTable_HeadlineOption nMode, bool bCalcNewSize)
virtual ~SwUndoSplitTable () override
virtual void UndoImpl (::sw::UndoRedoContext &) override
virtual void RedoImpl (::sw::UndoRedoContext &) override
virtual void RepeatImpl (::sw::RepeatContext &) override
void SetTableNodeOffset (SwNodeOffset nIdx)
SwHistoryGetHistory ()
void SaveFormula (SwHistory &rHistory)
- Public Member Functions inherited from SwUndo
 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 bool Merge (SfxUndoAction *pNextAction)
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
const DateTimeGetDateTime () const
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const

Private Attributes

SwNodeOffset m_nTableNode
SwNodeOffset m_nOffset
std::unique_ptr< SwSaveRowSpanmpSaveRowSpan
std::unique_ptr< SaveTablem_pSavedTable
std::unique_ptr< SwHistorym_pHistory
SplitTable_HeadlineOption const m_nMode
sal_uInt16 m_nFormulaEnd
bool m_bCalcNewSize

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...
- 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 312 of file UndoTable.hxx.

Constructor & Destructor Documentation

SwUndoSplitTable::SwUndoSplitTable ( const SwTableNode rTableNd,
std::unique_ptr< SwSaveRowSpan pRowSp,
SplitTable_HeadlineOption  nMode,
bool  bCalcNewSize 
SwUndoSplitTable::~SwUndoSplitTable ( )

Definition at line 2847 of file untbl.cxx.

References m_pHistory, m_pSavedTable, and mpSaveRowSpan.

Member Function Documentation

SwHistory* SwUndoSplitTable::GetHistory ( )

Definition at line 333 of file UndoTable.hxx.

Referenced by SwDoc::SplitTable().

void SwUndoSplitTable::RedoImpl ( ::sw::UndoRedoContext rContext)
void SwUndoSplitTable::RepeatImpl ( ::sw::RepeatContext rContext)
void SwUndoSplitTable::SaveFormula ( SwHistory rHistory)

Definition at line 2951 of file untbl.cxx.

References SwHistory::Count(), m_nFormulaEnd, and m_pHistory.

Referenced by SwDoc::SplitTable().

void SwUndoSplitTable::SetTableNodeOffset ( SwNodeOffset  nIdx)

Definition at line 332 of file UndoTable.hxx.

References m_nTableNode.

Referenced by SwDoc::SplitTable().

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

Member Data Documentation

bool SwUndoSplitTable::m_bCalcNewSize

Definition at line 320 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

sal_uInt16 SwUndoSplitTable::m_nFormulaEnd

Definition at line 319 of file UndoTable.hxx.

Referenced by SaveFormula(), and UndoImpl().

SplitTable_HeadlineOption const SwUndoSplitTable::m_nMode

Definition at line 318 of file UndoTable.hxx.

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

SwNodeOffset SwUndoSplitTable::m_nOffset

Definition at line 314 of file UndoTable.hxx.

Referenced by UndoImpl().

SwNodeOffset SwUndoSplitTable::m_nTableNode

Definition at line 314 of file UndoTable.hxx.

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

std::unique_ptr<SwHistory> SwUndoSplitTable::m_pHistory

Definition at line 317 of file UndoTable.hxx.

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

std::unique_ptr<SaveTable> SwUndoSplitTable::m_pSavedTable

Definition at line 316 of file UndoTable.hxx.

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

std::unique_ptr<SwSaveRowSpan> SwUndoSplitTable::mpSaveRowSpan

Definition at line 315 of file UndoTable.hxx.

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

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