19#ifndef INCLUDED_SW_INC_TBLSEL_HXX
20#define INCLUDED_SW_INC_TBLSEL_HXX
185 const bool bBehind );
213 m_pBox(pB), m_pUpper(pFL), m_pLineBefore( nullptr ), m_pLineBehind( nullptr ) {}
FndBox_ & operator=(FndBox_ const &)=delete
void SetTableLines(const SwSelBoxes &rBoxes, const SwTable &rTable)
const FndLine_ * GetUpper() const
SwTableLine * m_pLineBehind
For deleting/restoring the layout.
const FndLines_t & GetLines() const
SwTableLine * m_pLineBefore
For deleting/restoring the layout.
void MakeNewFrames(SwTable &rTable, const sal_uInt16 nNumber, const bool bBehind)
void MakeFrames(SwTable &rTable)
bool AreLinesToRestore(const SwTable &rTable) const
void DelFrames(SwTable &rTable)
const SwTableBox * GetBox() const
FndBox_(FndBox_ const &)=delete
const FndBoxes_t & GetBoxes() const
const SwTableLine * GetLine() const
FndLine_(SwTableLine *pL, FndBox_ *pFB)
FndLine_(FndLine_ const &)=delete
FndLine_ & operator=(FndLine_ const &)=delete
const FndBox_ * GetUpper() const
void SetUpper(FndBox_ *pUp)
SwCellFrame is one table cell in the document layout.
Base class of the Writer layout elements.
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
Base class of the Writer document model elements.
PaM is Point and Mark: a selection of the document model.
Of course Writer needs its own rectangles.
SwSelUnion(const SwRect &rRect, SwTabFrame *pTab)
const SwRect & GetUnion() const
const SwTabFrame * GetTable() const
SwTabFrame is one table in the document layout, containing rows (which contain cells).
SwTableBox is one table cell in the document model.
SwNodeOffset GetSttIdx() const
SwTableLine is one table row in the document model.
SwTable is one table in the document model, containing rows (which contain cells).
bool operator()(SwTableBox *const &lhs, SwTableBox *const &rhs) const
FndPara(const FndPara &rPara, FndBox_ *pFB)
FndPara(const SwSelBoxes &rBxs, FndBox_ *pFB)
const SwSelBoxes & rBoxes
FndPara(const FndPara &rPara, FndLine_ *pFL)
bool GetAutoSumSel(const SwCursorShell &, SwCellFrames &)
void GetMergeSel(const SwPaM &rPam, SwSelBoxes &rBoxes, SwTableBox **ppMergeBox, SwUndoTableMerge *pUndo)
void MakeSelUnions(SwSelUnions &, const SwLayoutFrame *pStart, const SwLayoutFrame *pEnd, const SwTableSearchType=SwTableSearchType::NONE)
void GetTableSelCrs(const SwCursorShell &rShell, SwSelBoxes &rBoxes)
std::vector< std::unique_ptr< FndLine_ > > FndLines_t
bool CheckSplitCells(const SwCursorShell &rShell, sal_uInt16 nDiv, const SwTableSearchType)
SW_DLLPUBLIC void GetTableSel(const SwCursorShell &rShell, SwSelBoxes &rBoxes, const SwTableSearchType=SwTableSearchType::NONE)
SW_DLLPUBLIC void ForEach_FndLineCopyCol(SwTableLines &rLines, FndPara *pFndPara)
This creates a structure mirroring the SwTable structure that contains all rows and non-leaf boxes (a...
TableMergeErr CheckMergeSel(const SwPaM &rPam)
bool IsEmptyBox(const SwTableBox &rBox, SwPaM &rPam)
bool IsFrameInTableSel(const SwRect &rUnion, const SwFrame *pCell)
std::vector< std::unique_ptr< FndBox_ > > FndBoxes_t
std::deque< SwCellFrame * > SwCellFrames
std::vector< SwSelUnion > SwSelUnions
bool ChkChartSel(const SwNode &rSttNd, const SwNode &rEndNd)
bool HasProtectedCells(const SwSelBoxes &rBoxes)