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 &)
 
tools::Longoperator[] (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 SwTabColsEntryGetEntry (size_t nPos) const
 
SwTabColsEntryGetEntry (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 SwTabColsEntriesGetData () 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
 

Detailed Description

Definition at line 41 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, and m_aData.

Member Function Documentation

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

Definition at line 57 of file tabcol.hxx.

Referenced by operator=().

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

Definition at line 75 of file tabcol.hxx.

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

Definition at line 87 of file tabcol.hxx.

Referenced by operator=().

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

Definition at line 63 of file tabcol.hxx.

tools::Long SwTabCols::operator[] ( size_t  nPos) const
inline

Definition at line 64 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 88 of file tabcol.hxx.

Referenced by SwDoc::GetTabRows().

void SwTabCols::SetLeft ( tools::Long  nNew)
inline
void SwTabCols::SetLeftMin ( tools::Long  nNew)
inline
void SwTabCols::SetRight ( tools::Long  nNew)
inline
void SwTabCols::SetRightMax ( tools::Long  nNew)
inline

Member Data Documentation

SwTabColsEntries SwTabCols::m_aData
private

Definition at line 54 of file tabcol.hxx.

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

bool SwTabCols::m_bLastRowAllowedToChange
private

Definition at line 50 of file tabcol.hxx.

Referenced by operator=().

tools::Long SwTabCols::m_nLeft
private

Definition at line 46 of file tabcol.hxx.

Referenced by operator=().

tools::Long SwTabCols::m_nLeftMin
private

Definition at line 43 of file tabcol.hxx.

Referenced by operator=().

tools::Long SwTabCols::m_nRight
private

Definition at line 47 of file tabcol.hxx.

Referenced by operator=().

tools::Long SwTabCols::m_nRightMax
private

Definition at line 48 of file tabcol.hxx.

Referenced by operator=().


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