LibreOffice Module sw (master) 1
|
#include <tabcol.hxx>
Public Member Functions | |
SwTabCols (sal_uInt16 nSize=0) | |
SwTabCols (const SwTabCols &) | |
SwTabCols & | operator= (const SwTabCols &) |
tools::Long & | operator[] (size_t nPos) |
tools::Long | operator[] (size_t nPos) const |
size_t | Count () const |
bool | IsHidden (size_t nPos) const |
void | SetHidden (size_t nPos, bool bValue) |
void | Insert (tools::Long nValue, bool bValue, size_t nPos) |
void | Insert (tools::Long nValue, tools::Long nMin, tools::Long nMax, bool bValue, size_t nPos) |
void | Remove (size_t nPos, size_t nCount=1) |
const SwTabColsEntry & | GetEntry (size_t nPos) const |
SwTabColsEntry & | GetEntry (size_t nPos) |
tools::Long | GetLeftMin () const |
tools::Long | GetLeft () const |
tools::Long | GetRight () const |
tools::Long | GetRightMax () const |
void | SetLeftMin (tools::Long nNew) |
void | SetLeft (tools::Long nNew) |
void | SetRight (tools::Long nNew) |
void | SetRightMax (tools::Long nNew) |
bool | IsLastRowAllowedToChange () const |
void | SetLastRowAllowedToChange (bool bNew) |
Private Member Functions | |
const SwTabColsEntries & | GetData () const |
Private Attributes | |
tools::Long | m_nLeftMin |
tools::Long | m_nLeft |
tools::Long | m_nRight |
tools::Long | m_nRightMax |
bool | m_bLastRowAllowedToChange |
SwTabColsEntries | m_aData |
Definition at line 41 of file tabcol.hxx.
SwTabCols::SwTabCols | ( | sal_uInt16 | nSize = 0 | ) |
Definition at line 23 of file tabcol.cxx.
References m_aData.
SwTabCols::SwTabCols | ( | const SwTabCols & | rCpy | ) |
Definition at line 34 of file tabcol.cxx.
|
inline |
Definition at line 65 of file tabcol.hxx.
References m_aData.
Referenced by SwDoc::AdjustCellWidth(), SwView::ExecTabWin(), SwTableRep::FillTabCols(), SwTableFUNC::GetColCount(), SwVbaTableHelper::GetColCount(), SwTableFUNC::GetColWidth(), SwVbaTableHelper::GetColWidth(), SwFEShell::GetCurMouseTabColNum(), SwFEShell::GetCurTabColNum(), SwTableFUNC::GetMaxColWidth(), SwTable::GetTabCols(), SwDoc::GetTabRows(), SwFEShell::IsLastCellInRow(), lcl_CalcColValues(), lcl_CalcSubColValues(), lcl_GetTableSeparators(), lcl_ProcessBoxSet(), lcl_RefreshHidden(), lcl_SetTableSeparators(), lcl_SortedTabColInsert(), SwTable::NewSetTabCols(), operator=(), SwCursorShell::sendLOKCursorUpdates(), SwVbaTableHelper::SetColWidth(), SwTableFUNC::SetColWidth(), SwDoc::SetTabCols(), SwTable::SetTabCols(), SwDoc::SetTabRows(), SwView::StateTabWin(), and SwTableRep::SwTableRep().
|
inlineprivate |
|
inline |
Definition at line 75 of file tabcol.hxx.
|
inline |
Definition at line 74 of file tabcol.hxx.
Referenced by SwView::ExecTabWin(), SwTable::GetTabCols(), lcl_SortedTabColInsert(), SwCursorShell::sendLOKCursorUpdates(), and SwView::StateTabWin().
|
inline |
Definition at line 78 of file tabcol.hxx.
Referenced by SwDoc::AdjustCellWidth(), SwView::ExecTabWin(), SwTableRep::FillTabCols(), SwTableFUNC::GetColWidth(), SwVbaTableHelper::GetColWidth(), SwFEShell::GetCurMouseTabColNum(), SwFEShell::GetCurTabColNum(), SwTable::GetTabCols(), lcl_CalcColValues(), lcl_CalcSubColValues(), lcl_ProcessBoxSet(), lcl_SortedTabColInsert(), SwTable::NewSetTabCols(), operator=(), SwCursorShell::sendLOKCursorUpdates(), SwTable::SetTabCols(), SwView::StateTabWin(), and SwTableRep::SwTableRep().
|
inline |
Definition at line 77 of file tabcol.hxx.
Referenced by SwView::ExecTabWin(), SwFEShell::GetCurMouseTabColNum(), SwFEShell::GetCurTabColNum(), lcl_CalcColValues(), lcl_CalcSubColValues(), operator=(), SwCursorShell::sendLOKCursorUpdates(), and SwView::StateTabWin().
|
inline |
Definition at line 79 of file tabcol.hxx.
Referenced by SwDoc::AdjustCellWidth(), SwView::ExecTabWin(), SwTableRep::FillTabCols(), SwTableFUNC::GetColWidth(), SwVbaTableHelper::GetColWidth(), SwFEShell::GetCurTabColNum(), GetTableWidth(), lcl_CalcColValues(), lcl_CalcSubColValues(), lcl_ProcessBoxSet(), lcl_SortedTabColInsert(), SwTable::NewSetTabCols(), operator=(), SwCursorShell::sendLOKCursorUpdates(), SwTable::SetTabCols(), SwDoc::SetTabRows(), SwView::StateTabWin(), and SwTableRep::SwTableRep().
|
inline |
Definition at line 80 of file tabcol.hxx.
Referenced by SwDoc::AdjustCellWidth(), SwTableRep::FillTabCols(), lcl_TableParamToItemSet(), operator=(), SwVbaTableHelper::SetColWidth(), SwTableFUNC::SetColWidth(), and SwTable::SetTabCols().
void SwTabCols::Insert | ( | tools::Long | nValue, |
bool | bValue, | ||
size_t | nPos | ||
) |
Definition at line 69 of file tabcol.cxx.
References SwTabColsEntry::bHidden, LONG_MAX, m_aData, SwTabColsEntry::nMax, SwTabColsEntry::nMin, nPos, SwTabColsEntry::nPos, and nValue.
Referenced by SwDoc::GetTabRows(), IMPL_LINK_NOARG(), and lcl_SortedTabColInsert().
void SwTabCols::Insert | ( | tools::Long | nValue, |
tools::Long | nMin, | ||
tools::Long | nMax, | ||
bool | bValue, | ||
size_t | nPos | ||
) |
Definition at line 58 of file tabcol.cxx.
References SwTabColsEntry::bHidden, m_aData, SwTabColsEntry::nMax, SwTabColsEntry::nMin, nPos, SwTabColsEntry::nPos, and nValue.
|
inline |
Definition at line 67 of file tabcol.hxx.
Referenced by SwTableRep::FillTabCols(), SwTableFUNC::GetColCount(), SwVbaTableHelper::GetColCount(), SwTableFUNC::GetCurColNum(), SwTableFUNC::GetRightSeparator(), SwVbaTableHelper::GetRightSeparator(), lcl_GetTableSeparators(), lcl_SetTableSeparators(), SwView::StateTabWin(), and SwTableRep::SwTableRep().
|
inline |
Definition at line 87 of file tabcol.hxx.
Referenced by operator=().
Definition at line 44 of file tabcol.cxx.
References Count(), GetData(), GetLeft(), GetLeftMin(), GetRight(), GetRightMax(), IsLastRowAllowedToChange(), m_aData, m_bLastRowAllowedToChange, m_nLeft, m_nLeftMin, m_nRight, m_nRightMax, and Remove().
|
inline |
Definition at line 63 of file tabcol.hxx.
|
inline |
Definition at line 64 of file tabcol.hxx.
void SwTabCols::Remove | ( | size_t | nPos, |
size_t | nCount = 1 |
||
) |
Definition at line 79 of file tabcol.cxx.
References m_aData, nCount, and nPos.
Referenced by SwTable::GetTabCols(), SwDoc::GetTabRows(), and operator=().
|
inline |
Definition at line 68 of file tabcol.hxx.
Referenced by SwView::ExecTabWin(), SwTableRep::FillTabCols(), SwTable::GetTabCols(), and lcl_RefreshHidden().
|
inline |
Definition at line 88 of file tabcol.hxx.
Referenced by SwDoc::GetTabRows().
|
inline |
Definition at line 83 of file tabcol.hxx.
Referenced by SwView::ExecTabWin(), SwTableRep::FillTabCols(), SwDoc::GetTabCols(), SwDoc::GetTabRows(), SwVbaTableHelper::InitTabCols(), lcl_GetTableSeparators(), lcl_SetTableSeparators(), SwDoc::SetTabCols(), and SwDoc::SetTabRows().
|
inline |
Definition at line 82 of file tabcol.hxx.
Referenced by SwView::ExecTabWin(), SwDoc::GetTabCols(), SwDoc::GetTabRows(), SwVbaTableHelper::InitTabCols(), lcl_GetTableSeparators(), lcl_SetTableSeparators(), SwDoc::SetTabCols(), and SwDoc::SetTabRows().
|
inline |
Definition at line 84 of file tabcol.hxx.
Referenced by SwView::ExecTabWin(), SwTableRep::FillTabCols(), SwDoc::GetTabCols(), SwDoc::GetTabRows(), IMPL_LINK_NOARG(), SwVbaTableHelper::InitTabCols(), lcl_GetTableSeparators(), lcl_SetTableSeparators(), SwVbaTableHelper::SetColWidth(), SwTableFUNC::SetColWidth(), SwDoc::SetTabCols(), and SwDoc::SetTabRows().
|
inline |
Definition at line 85 of file tabcol.hxx.
Referenced by SwDoc::GetTabCols(), SwDoc::GetTabRows(), IMPL_LINK_NOARG(), SwVbaTableHelper::InitTabCols(), lcl_GetTableSeparators(), lcl_SetTableSeparators(), SwDoc::SetTabCols(), and SwDoc::SetTabRows().
|
private |
Definition at line 54 of file tabcol.hxx.
Referenced by Insert(), operator=(), Remove(), and SwTabCols().
|
private |
Definition at line 50 of file tabcol.hxx.
Referenced by operator=().
|
private |
Definition at line 46 of file tabcol.hxx.
Referenced by operator=().
|
private |
Definition at line 43 of file tabcol.hxx.
Referenced by operator=().
|
private |
Definition at line 47 of file tabcol.hxx.
Referenced by operator=().
|
private |
Definition at line 48 of file tabcol.hxx.
Referenced by operator=().