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

#include <UndoTable.hxx>

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

Public Member Functions

 SwUndoTableMerge (const SwPaM &rTableSel)
 
virtual ~SwUndoTableMerge () override
 
virtual void UndoImpl (::sw::UndoRedoContext &) override
 
virtual void RedoImpl (::sw::UndoRedoContext &) override
 
void MoveBoxContent (SwDoc *pDoc, SwNodeRange &rRg, SwNodeIndex &rPos)
 
void SetSelBoxes (const SwSelBoxes &rBoxes)
 
void AddNewBox (sal_uLong nSttNdIdx)
 
void SaveCollection (const SwTableBox &rBox)
 
- 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
 
std::unique_ptr< SaveTablepSaveTable
 
std::set< sal_uLongm_Boxes
 
std::vector< sal_uLongaNewSttNds
 
std::vector< std::unique_ptr< SwUndoMove > > m_vMoves
 
std::unique_ptr< SwHistorypHistory
 
- Private Attributes inherited from SwUndRng
sal_uLong m_nSttNode
 
sal_uLong m_nEndNode
 
sal_Int32 m_nSttContent
 
sal_Int32 m_nEndContent
 

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 &, 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
 
- Private Member Functions inherited from SwUndRng
 SwUndRng ()
 
 SwUndRng (const SwPaM &)
 
void SetValues (const SwPaM &rPam)
 
void SetPaM (SwPaM &, bool bCorrToContent=false) const
 
SwPaMAddUndoRedoPaM (::sw::UndoRedoContext &, bool const bCorrToContent=false) const
 

Detailed Description

Definition at line 210 of file UndoTable.hxx.

Constructor & Destructor Documentation

SwUndoTableMerge::SwUndoTableMerge ( const SwPaM rTableSel)
SwUndoTableMerge::~SwUndoTableMerge ( )
overridevirtual

Definition at line 1846 of file untbl.cxx.

Member Function Documentation

void SwUndoTableMerge::AddNewBox ( sal_uLong  nSttNdIdx)
inline

Definition at line 231 of file UndoTable.hxx.

Referenced by GetMergeSel(), SwTable::OldMerge(), and SwTable::PrepareMerge().

void SwUndoTableMerge::MoveBoxContent ( SwDoc pDoc,
SwNodeRange rRg,
SwNodeIndex rPos 
)
void SwUndoTableMerge::RedoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual

Implements SwUndo.

Definition at line 1996 of file untbl.cxx.

References sw::UndoRedoContext::GetDoc(), and SwDoc::MergeTable().

void SwUndoTableMerge::SaveCollection ( const SwTableBox rBox)
void SwUndoTableMerge::SetSelBoxes ( const SwSelBoxes rBoxes)
void SwUndoTableMerge::UndoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual

Member Data Documentation

std::vector<sal_uLong> SwUndoTableMerge::aNewSttNds
private

Definition at line 215 of file UndoTable.hxx.

std::set<sal_uLong> SwUndoTableMerge::m_Boxes
private

Definition at line 214 of file UndoTable.hxx.

std::vector<std::unique_ptr<SwUndoMove> > SwUndoTableMerge::m_vMoves
private

Definition at line 216 of file UndoTable.hxx.

sal_uLong SwUndoTableMerge::nTableNode
private

Definition at line 212 of file UndoTable.hxx.

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

Definition at line 217 of file UndoTable.hxx.

std::unique_ptr<SaveTable> SwUndoTableMerge::pSaveTable
private

Definition at line 213 of file UndoTable.hxx.


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