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