LibreOffice Module sw (master) 1
|
Class for SplitTable Collects the uppermost or lowermost Lines of a Box from a Line in an array. More...
#include <tblrwcl.hxx>
Public Member Functions | |
SwCollectTableLineBoxes (bool bTop, SplitTable_HeadlineOption nMd=SplitTable_HeadlineOption::NONE, SwHistory *pHist=nullptr) | |
void | AddBox (const SwTableBox &rBox) |
const SwTableBox * | GetBoxOfPos (const SwTableBox &rBox) |
void | AddToUndoHistory (const SwContentNode &rNd) |
size_t | Count () const |
const SwTableBox & | GetBox (std::size_t nPos, sal_uInt16 *pWidth=nullptr) const |
bool | IsGetFromTop () const |
bool | IsGetValues () const |
SplitTable_HeadlineOption | GetMode () const |
void | SetValues (bool bFlag) |
bool | Resize (sal_uInt16 nOffset, sal_uInt16 nWidth) |
Private Attributes | |
std::vector< sal_uInt16 > | m_aPositionArr |
std::vector< SwTableBox * > | m_Boxes |
SwHistory * | m_pHistory |
SplitTable_HeadlineOption | m_nMode |
sal_uInt16 | m_nWidth |
bool | m_bGetFromTop: 1 |
bool | m_bGetValues: 1 |
Class for SplitTable Collects the uppermost or lowermost Lines of a Box from a Line in an array.
We also store their positions.
Definition at line 60 of file tblrwcl.hxx.
|
inline |
Definition at line 71 of file tblrwcl.hxx.
void SwCollectTableLineBoxes::AddBox | ( | const SwTableBox & | rBox | ) |
Definition at line 2952 of file ndtbl.cxx.
References SwTableBox::GetFrameFormat(), SwFormat::GetFrameSize(), SvxSizeItem::GetWidth(), m_aPositionArr, m_Boxes, m_nWidth, and p.
Referenced by sw_Box_CollectBox().
void SwCollectTableLineBoxes::AddToUndoHistory | ( | const SwContentNode & | rNd | ) |
Definition at line 2946 of file ndtbl.cxx.
References SwHistory::Add(), SwContentNode::GetFormatColl(), SwNode::GetIndex(), m_pHistory, and Text.
Referenced by sw_BoxSetSplitBoxFormats().
|
inline |
Definition at line 82 of file tblrwcl.hxx.
References m_Boxes.
Referenced by lcl_FindEndPosOfBorder(), lcl_GCBorder_DelBorder(), and sw_GC_Line_Border().
|
inline |
Definition at line 83 of file tblrwcl.hxx.
References m_aPositionArr, m_Boxes, m_nWidth, and nPos.
Referenced by lcl_FindEndPosOfBorder(), lcl_GCBorder_DelBorder(), and sw_GC_Line_Border().
const SwTableBox * SwCollectTableLineBoxes::GetBoxOfPos | ( | const SwTableBox & | rBox | ) |
Definition at line 2960 of file ndtbl.cxx.
References SwTableBox::GetFrameFormat(), SwFormat::GetFrameSize(), SvxSizeItem::GetWidth(), m_aPositionArr, m_Boxes, m_nWidth, and n.
Referenced by sw_BoxSetSplitBoxFormats().
|
inline |
Definition at line 95 of file tblrwcl.hxx.
References m_nMode.
Referenced by sw_BoxSetSplitBoxFormats().
|
inline |
Definition at line 92 of file tblrwcl.hxx.
References m_bGetFromTop.
Referenced by sw_Box_CollectBox(), and sw_BoxSetSplitBoxFormats().
|
inline |
Definition at line 93 of file tblrwcl.hxx.
References m_bGetValues.
Referenced by sw_Line_CollectBox().
bool SwCollectTableLineBoxes::Resize | ( | sal_uInt16 | nOffset, |
sal_uInt16 | nWidth | ||
) |
Definition at line 2986 of file ndtbl.cxx.
References m_aPositionArr, m_Boxes, m_nWidth, and n.
Referenced by SwTable::MakeCopy().
|
inline |
Definition at line 96 of file tblrwcl.hxx.
References m_bGetFromTop, m_bGetValues, and m_nWidth.
Referenced by SwTable::MakeCopy(), and SwDoc::SplitTable().
|
private |
Definition at line 62 of file tblrwcl.hxx.
Referenced by AddBox(), GetBox(), GetBoxOfPos(), and Resize().
|
private |
Definition at line 67 of file tblrwcl.hxx.
Referenced by IsGetFromTop(), and SetValues().
|
private |
Definition at line 68 of file tblrwcl.hxx.
Referenced by IsGetValues(), and SetValues().
|
private |
Definition at line 63 of file tblrwcl.hxx.
Referenced by AddBox(), Count(), GetBox(), GetBoxOfPos(), and Resize().
|
private |
Definition at line 65 of file tblrwcl.hxx.
Referenced by GetMode().
|
private |
Definition at line 66 of file tblrwcl.hxx.
Referenced by AddBox(), GetBox(), GetBoxOfPos(), Resize(), and SetValues().
|
private |
Definition at line 64 of file tblrwcl.hxx.
Referenced by AddToUndoHistory().