33 m_bLineSelected(false),
34 m_bWidthChanged(false),
43 nEnd = rTabCol[
i ] - rTabCol.
GetLeft();
65 bool bSingleLine =
false;
67 for (
size_t i = 0;
i < rTabCols.
Count(); ++
i )
86 pOldTColumns[
i].nWidth = nEnd - nStart;
87 pOldTColumns[
i].bVisible = !rTabCols.
IsHidden(
i);
93 sal_uInt16 nOldPos = 0;
94 sal_uInt16 nNewPos = 0;
102 while((bFirst || bOld ) && nOldPos <
m_nAllCols )
104 nOld += pOldTColumns[nOldPos].nWidth;
106 if(!pOldTColumns[nOldPos - 1].
bVisible)
109 while((bFirst || !bOld ) && nNewPos <
m_nAllCols )
113 if(pOldTColumns[nNewPos - 1].
bVisible)
119 nPos = bOld ? nOld : nNew;
120 rTabCols[
i] =
nPos + nLeft;
void SetRight(tools::Long nNew)
tools::Long GetLeft() const
void SetLeft(tools::Long nNew)
tools::Long GetRight() const
tools::Long GetRightMax() const
void SetHidden(size_t nPos, bool bValue)
bool IsHidden(size_t nPos) const
SwTwips GetLeftSpace() const
SwTwips GetRightSpace() const
bool FillTabCols(SwTabCols &rTabCol) const
std::vector< TColumn > m_aTColumns
SwTableRep(const SwTabCols &rTabCol)
SwNodeOffset abs(const SwNodeOffset &a)