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() [1/2]

SwTabCols::SwTabCols ( sal_uInt16  nSize = 0)

Definition at line 23 of file tabcol.cxx.

References m_aData.

◆ SwTabCols() [2/2]

SwTabCols::SwTabCols ( const SwTabCols rCpy)

Definition at line 34 of file tabcol.cxx.

References GetData, and m_aData.

Member Function Documentation

◆ Count()

size_t SwTabCols::Count ( ) const
inline

◆ GetData()

const SwTabColsEntries & SwTabCols::GetData ( ) const
inlineprivate

Definition at line 57 of file tabcol.hxx.

References m_aData.

Referenced by operator=().

◆ GetEntry() [1/2]

SwTabColsEntry & SwTabCols::GetEntry ( size_t  nPos)
inline

Definition at line 75 of file tabcol.hxx.

References m_aData, and nPos.

◆ GetEntry() [2/2]

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

◆ GetLeft()

tools::Long SwTabCols::GetLeft ( ) const
inline

◆ GetLeftMin()

tools::Long SwTabCols::GetLeftMin ( ) const
inline

◆ GetRight()

tools::Long SwTabCols::GetRight ( ) const
inline

◆ GetRightMax()

tools::Long SwTabCols::GetRightMax ( ) const
inline

◆ Insert() [1/2]

void SwTabCols::Insert ( tools::Long  nValue,
bool  bValue,
size_t  nPos 
)

◆ Insert() [2/2]

void SwTabCols::Insert ( tools::Long  nValue,
tools::Long  nMin,
tools::Long  nMax,
bool  bValue,
size_t  nPos 
)

◆ IsHidden()

bool SwTabCols::IsHidden ( size_t  nPos) const
inline

◆ IsLastRowAllowedToChange()

bool SwTabCols::IsLastRowAllowedToChange ( ) const
inline

Definition at line 87 of file tabcol.hxx.

Referenced by operator=().

◆ operator=()

SwTabCols & SwTabCols::operator= ( const SwTabCols rCpy)

◆ operator[]() [1/2]

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

Definition at line 63 of file tabcol.hxx.

References m_aData, and nPos.

◆ operator[]() [2/2]

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

Definition at line 64 of file tabcol.hxx.

References m_aData, and nPos.

◆ Remove()

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=().

◆ SetHidden()

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

Definition at line 68 of file tabcol.hxx.

References m_aData, and nPos.

Referenced by SwView::ExecTabWin(), SwTableRep::FillTabCols(), SwTable::GetTabCols(), and lcl_RefreshHidden().

◆ SetLastRowAllowedToChange()

void SwTabCols::SetLastRowAllowedToChange ( bool  bNew)
inline

Definition at line 88 of file tabcol.hxx.

Referenced by SwDoc::GetTabRows().

◆ SetLeft()

void SwTabCols::SetLeft ( tools::Long  nNew)
inline

◆ SetLeftMin()

void SwTabCols::SetLeftMin ( tools::Long  nNew)
inline

◆ SetRight()

void SwTabCols::SetRight ( tools::Long  nNew)
inline

◆ SetRightMax()

void SwTabCols::SetRightMax ( tools::Long  nNew)
inline

Member Data Documentation

◆ m_aData

SwTabColsEntries SwTabCols::m_aData
private

Definition at line 54 of file tabcol.hxx.

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

◆ m_bLastRowAllowedToChange

bool SwTabCols::m_bLastRowAllowedToChange
private

Definition at line 50 of file tabcol.hxx.

Referenced by operator=().

◆ m_nLeft

tools::Long SwTabCols::m_nLeft
private

Definition at line 46 of file tabcol.hxx.

Referenced by operator=().

◆ m_nLeftMin

tools::Long SwTabCols::m_nLeftMin
private

Definition at line 43 of file tabcol.hxx.

Referenced by operator=().

◆ m_nRight

tools::Long SwTabCols::m_nRight
private

Definition at line 47 of file tabcol.hxx.

Referenced by operator=().

◆ m_nRightMax

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: