LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwTabCols Class Reference

#include <tabcol.hxx>

Public Member Functions

 SwTabCols (sal_uInt16 nSize=0)
 
 SwTabCols (const SwTabCols &)
 
SwTabColsoperator= (const SwTabCols &)
 
long & operator[] (size_t nPos)
 
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 (long nValue, bool bValue, size_t nPos)
 
void Insert (long nValue, long nMin, long nMax, bool bValue, size_t nPos)
 
void Remove (size_t nPos, size_t nCount=1)
 
const SwTabColsEntryGetEntry (size_t nPos) const
 
SwTabColsEntryGetEntry (size_t nPos)
 
long GetLeftMin () const
 
long GetLeft () const
 
long GetRight () const
 
long GetRightMax () const
 
void SetLeftMin (long nNew)
 
void SetLeft (long nNew)
 
void SetRight (long nNew)
 
void SetRightMax (long nNew)
 
bool IsLastRowAllowedToChange () const
 
void SetLastRowAllowedToChange (bool bNew)
 

Private Member Functions

const SwTabColsEntriesGetData () const
 

Private Attributes

long m_nLeftMin
 
long m_nLeft
 
long m_nRight
 
long m_nRightMax
 
bool m_bLastRowAllowedToChange
 
SwTabColsEntries m_aData
 

Detailed Description

Definition at line 40 of file tabcol.hxx.

Constructor & Destructor Documentation

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.

References GetData.

Member Function Documentation

size_t SwTabCols::Count ( ) const
inline
const SwTabColsEntries& SwTabCols::GetData ( ) const
inlineprivate

Definition at line 56 of file tabcol.hxx.

Referenced by operator=().

const SwTabColsEntry& SwTabCols::GetEntry ( size_t  nPos) const
inline

Definition at line 73 of file tabcol.hxx.

Referenced by SwTable::GetTabCols(), lcl_SortedTabColInsert(), and SwView::StateTabWin().

SwTabColsEntry& SwTabCols::GetEntry ( size_t  nPos)
inline

Definition at line 74 of file tabcol.hxx.

long SwTabCols::GetLeft ( ) const
inline
long SwTabCols::GetLeftMin ( ) const
inline
long SwTabCols::GetRight ( ) const
inline
long SwTabCols::GetRightMax ( ) const
inline
void SwTabCols::Insert ( long  nValue,
bool  bValue,
size_t  nPos 
)
void SwTabCols::Insert ( long  nValue,
long  nMin,
long  nMax,
bool  bValue,
size_t  nPos 
)
bool SwTabCols::IsHidden ( size_t  nPos) const
inline
bool SwTabCols::IsLastRowAllowedToChange ( ) const
inline

Definition at line 86 of file tabcol.hxx.

Referenced by operator=().

SwTabCols & SwTabCols::operator= ( const SwTabCols rCpy)
long& SwTabCols::operator[] ( size_t  nPos)
inline

Definition at line 62 of file tabcol.hxx.

long SwTabCols::operator[] ( size_t  nPos) const
inline

Definition at line 63 of file tabcol.hxx.

void SwTabCols::Remove ( size_t  nPos,
size_t  nCount = 1 
)

Definition at line 86 of file tabcol.cxx.

References m_aData.

Referenced by SwTable::GetTabCols(), SwDoc::GetTabRows(), and operator=().

void SwTabCols::SetHidden ( size_t  nPos,
bool  bValue 
)
inline
void SwTabCols::SetLastRowAllowedToChange ( bool  bNew)
inline

Definition at line 87 of file tabcol.hxx.

Referenced by SwDoc::GetTabRows().

void SwTabCols::SetLeft ( long  nNew)
inline
void SwTabCols::SetLeftMin ( long  nNew)
inline
void SwTabCols::SetRight ( long  nNew)
inline
void SwTabCols::SetRightMax ( long  nNew)
inline

Member Data Documentation

SwTabColsEntries SwTabCols::m_aData
private

Definition at line 53 of file tabcol.hxx.

Referenced by Insert(), operator=(), Remove(), and SwTabCols().

bool SwTabCols::m_bLastRowAllowedToChange
private

Definition at line 49 of file tabcol.hxx.

Referenced by operator=().

long SwTabCols::m_nLeft
private

Definition at line 42 of file tabcol.hxx.

Referenced by operator=().

long SwTabCols::m_nLeftMin
private

Definition at line 42 of file tabcol.hxx.

Referenced by operator=().

long SwTabCols::m_nRight
private

Definition at line 42 of file tabcol.hxx.

Referenced by operator=().

long SwTabCols::m_nRightMax
private

Definition at line 42 of file tabcol.hxx.

Referenced by operator=().


The documentation for this class was generated from the following files: