19#ifndef INCLUDED_SW_SOURCE_CORE_INC_TBLRWCL_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_TBLRWCL_HXX
28namespace editeng {
class SvxBorderLine; }
47 SwTableBox* pBox, sal_uInt16 nInsPos, sal_uInt16 nCnt = 1 );
50 bool bCalcNewSize,
const bool bCorrBorder,
98 bool Resize( sal_uInt16 nOffset, sal_uInt16 nWidth );
Class for SplitTable Collects the uppermost or lowermost Lines of a Box from a Line in an array.
SplitTable_HeadlineOption GetMode() const
void AddBox(const SwTableBox &rBox)
bool Resize(sal_uInt16 nOffset, sal_uInt16 nWidth)
std::vector< SwTableBox * > m_Boxes
SwCollectTableLineBoxes(bool bTop, SplitTable_HeadlineOption nMd=SplitTable_HeadlineOption::NONE, SwHistory *pHist=nullptr)
bool IsGetFromTop() const
std::vector< sal_uInt16 > m_aPositionArr
void SetValues(bool bFlag)
const SwTableBox & GetBox(std::size_t nPos, sal_uInt16 *pWidth=nullptr) const
void AddToUndoHistory(const SwContentNode &rNd)
SplitTable_HeadlineOption m_nMode
const SwTableBox * GetBoxOfPos(const SwTableBox &rBox)
bool CheckLeftBorderOfFormat(const SwFrameFormat &rFormat)
Check whether the left Border is the same as the set one.
bool IsAnyBorderFound() const
const editeng::SvxBorderLine * m_pBorderLine
void SetBorder(const editeng::SvxBorderLine &rBorderLine)
SwTableBox is one table cell in the document model.
SwTableLine is one table row in the document model.
SwTable is one table in the document model, containing rows (which contain cells).
const SwTableLines * pLines
SwGCLineBorder(const SwTableBox &rBox)
SwGCLineBorder(const SwTable &rTable)
SwShareBoxFormats * pShareFormats
This structure is needed by Undo to restore row span attributes when a table has been split into two ...
SwSaveRowSpan(SwTableBoxes &rBoxes, sal_uInt16 nSplitLn)
std::vector< tools::Long > mnRowSpans
std::vector< SwTableBox * > SwTableBoxes
SplitTable_HeadlineOption
void InsTableBox(SwDoc &rDoc, SwTableNode *pTableNd, SwTableLine *pLine, SwTableBoxFormat *pBoxFrameFormat, SwTableBox *pBox, sal_uInt16 nInsPos, sal_uInt16 nCnt=1)
void sw_GC_Line_Border(const SwTableLine *pLine, SwGCLineBorder *pGCPara)
void CheckBoxWidth(const SwTableLine &rLine, SwTwips nSize)
void sw_LineSetHeadCondColl(const SwTableLine *pLine)
bool sw_Line_CollectBox(const SwTableLine *&rpLine, void *pPara)
void sw_Box_CollectBox(const SwTableBox *pBox, SwCollectTableLineBoxes *pSplPara)
void DeleteBox_(SwTable &rTable, SwTableBox *pBox, SwUndo *pUndo, bool bCalcNewSize, const bool bCorrBorder, SwShareBoxFormats *pShareFormats=nullptr)
void sw_BoxSetSplitBoxFormats(SwTableBox *pBox, SwCollectTableLineBoxes *pSplPara)