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

#include <UndoTable.hxx>

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

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 (sal_uLong 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

sal_uLong nTableNode
 
sal_uLong nOffset
 
std::unique_ptr< SwSaveRowSpanmpSaveRowSpan
 
std::unique_ptr< SaveTablepSavTable
 
std::unique_ptr< SwHistorypHistory
 
SplitTable_HeadlineOption const nMode
 
sal_uInt16 nFormulaEnd
 
bool const 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 &, sal_uLong nSttIdx, const sal_uLong *pEndIdx=nullptr)
 
static void RemoveIdxFromRange (SwPaM &rPam, bool bMoveNext)
 
static void RemoveIdxRel (sal_uLong, const SwPosition &)
 
static bool CanRedlineGroup (SwRedlineSaveDatas &rCurr, const SwRedlineSaveDatas &rCheck, bool bCurrIsEnd)
 
- Protected Attributes inherited from SwUndo
bool m_bCacheComment
 
boost::optional< OUString > maComment
 

Detailed Description

Definition at line 309 of file UndoTable.hxx.

Constructor & Destructor Documentation

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

Definition at line 2785 of file untbl.cxx.

References mpSaveRowSpan, pHistory, and pSavTable.

Member Function Documentation

SwHistory* SwUndoSplitTable::GetHistory ( )
inline

Definition at line 330 of file UndoTable.hxx.

Referenced by SwDoc::SplitTable().

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

Definition at line 2889 of file untbl.cxx.

References SwHistory::Count(), nFormulaEnd, and pHistory.

Referenced by SwDoc::SplitTable().

void SwUndoSplitTable::SetTableNodeOffset ( sal_uLong  nIdx)
inline

Definition at line 329 of file UndoTable.hxx.

References nTableNode.

Referenced by SwDoc::SplitTable().

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

Member Data Documentation

bool const SwUndoSplitTable::bCalcNewSize
private

Definition at line 317 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

std::unique_ptr<SwSaveRowSpan> SwUndoSplitTable::mpSaveRowSpan
private

Definition at line 312 of file UndoTable.hxx.

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

sal_uInt16 SwUndoSplitTable::nFormulaEnd
private

Definition at line 316 of file UndoTable.hxx.

Referenced by SaveFormula(), and UndoImpl().

SplitTable_HeadlineOption const SwUndoSplitTable::nMode
private

Definition at line 315 of file UndoTable.hxx.

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

sal_uLong SwUndoSplitTable::nOffset
private

Definition at line 311 of file UndoTable.hxx.

Referenced by UndoImpl().

sal_uLong SwUndoSplitTable::nTableNode
private

Definition at line 311 of file UndoTable.hxx.

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

std::unique_ptr<SwHistory> SwUndoSplitTable::pHistory
private

Definition at line 314 of file UndoTable.hxx.

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

std::unique_ptr<SaveTable> SwUndoSplitTable::pSavTable
private

Definition at line 313 of file UndoTable.hxx.

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


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