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

#include <UndoTable.hxx>

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

Public Member Functions

 SwUndoMergeTable (const SwTableNode &rTableNd, const SwTableNode &rDelTableNd, bool bWithPrev, sal_uInt16 nMode)
 
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
 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

OUString aName
 
sal_uLong nTableNode
 
std::unique_ptr< SaveTablepSavTable
 
std::unique_ptr< SaveTablepSavHdl
 
std::unique_ptr< SwHistorypHistory
 
sal_uInt16 const nMode
 
bool const 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...
 
- 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 334 of file UndoTable.hxx.

Constructor & Destructor Documentation

SwUndoMergeTable::SwUndoMergeTable ( const SwTableNode rTableNd,
const SwTableNode rDelTableNd,
bool  bWithPrev,
sal_uInt16  nMode 
)
SwUndoMergeTable::~SwUndoMergeTable ( )
overridevirtual

Definition at line 2917 of file untbl.cxx.

References pHistory, pSavHdl, and pSavTable.

Member Function Documentation

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

Definition at line 3015 of file untbl.cxx.

References pHistory.

Referenced by SwDoc::MergeTable().

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

Member Data Documentation

OUString SwUndoMergeTable::aName
private

Definition at line 336 of file UndoTable.hxx.

Referenced by SwUndoMergeTable(), and UndoImpl().

bool const SwUndoMergeTable::bWithPrev
private

Definition at line 341 of file UndoTable.hxx.

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

sal_uInt16 const SwUndoMergeTable::nMode
private

Definition at line 340 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

sal_uLong SwUndoMergeTable::nTableNode
private

Definition at line 337 of file UndoTable.hxx.

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

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

Definition at line 339 of file UndoTable.hxx.

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

std::unique_ptr<SaveTable> SwUndoMergeTable::pSavHdl
private

Definition at line 338 of file UndoTable.hxx.

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

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

Definition at line 338 of file UndoTable.hxx.

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


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