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

#include <swtablerep.hxx>

Public Member Functions

 SwTableRep (const SwTabCols &rTabCol)
 
 ~SwTableRep ()
 
bool FillTabCols (SwTabCols &rTabCol) const
 
SwTwips GetLeftSpace () const
 
void SetLeftSpace (SwTwips nSet)
 
SwTwips GetRightSpace () const
 
void SetRightSpace (SwTwips nSet)
 
SwTwips GetWidth () const
 
void SetWidth (SwTwips nSet)
 
sal_uInt16 GetWidthPercent () const
 
void SetWidthPercent (sal_uInt16 nSet)
 
sal_uInt16 GetAlign () const
 
void SetAlign (sal_uInt16 nSet)
 
sal_uInt16 GetColCount () const
 
sal_uInt16 GetAllColCount () const
 
bool HasColsChanged () const
 
void SetColsChanged ()
 
bool HasWidthChanged () const
 
void SetWidthChanged ()
 
bool IsLineSelected () const
 
void SetLineSelected (bool bSet)
 
SwTwips GetSpace () const
 
void SetSpace (SwTwips nSet)
 
TColumnGetColumns () const
 

Private Attributes

std::unique_ptr< TColumn[]> m_pTColumns
 
SwTwips m_nTableWidth
 
SwTwips m_nSpace
 
SwTwips m_nLeftSpace
 
SwTwips m_nRightSpace
 
sal_uInt16 m_nAlign
 
sal_uInt16 m_nColCount
 
sal_uInt16 m_nAllCols
 
sal_uInt16 m_nWidthPercent
 
bool m_bLineSelected: 1
 
bool m_bWidthChanged: 1
 
bool m_bColsChanged: 1
 

Detailed Description

Definition at line 29 of file swtablerep.hxx.

Constructor & Destructor Documentation

SwTableRep::SwTableRep ( const SwTabCols rTabCol)
SwTableRep::~SwTableRep ( )

Definition at line 85 of file swtablerep.cxx.

Member Function Documentation

bool SwTableRep::FillTabCols ( SwTabCols rTabCol) const
sal_uInt16 SwTableRep::GetAlign ( ) const
inline
sal_uInt16 SwTableRep::GetAllColCount ( ) const
inline

Definition at line 67 of file swtablerep.hxx.

Referenced by SwTableColumnPage::Reset().

sal_uInt16 SwTableRep::GetColCount ( ) const
inline
TColumn* SwTableRep::GetColumns ( ) const
inline
SwTwips SwTableRep::GetLeftSpace ( ) const
inline
SwTwips SwTableRep::GetRightSpace ( ) const
inline
SwTwips SwTableRep::GetSpace ( ) const
inline
SwTwips SwTableRep::GetWidth ( ) const
inline
sal_uInt16 SwTableRep::GetWidthPercent ( ) const
inline
bool SwTableRep::HasColsChanged ( ) const
inline

Definition at line 69 of file swtablerep.hxx.

Referenced by ItemSetToTableParam().

bool SwTableRep::HasWidthChanged ( ) const
inline

Definition at line 72 of file swtablerep.hxx.

Referenced by SwFormatTablePage::DeactivatePage().

bool SwTableRep::IsLineSelected ( ) const
inline

Definition at line 75 of file swtablerep.hxx.

Referenced by SwTableColumnPage::ActivatePage().

void SwTableRep::SetAlign ( sal_uInt16  nSet)
inline

Definition at line 64 of file swtablerep.hxx.

Referenced by SwFormatTablePage::DeactivatePage(), and lcl_TableParamToItemSet().

void SwTableRep::SetColsChanged ( )
inline

Definition at line 70 of file swtablerep.hxx.

Referenced by SwTableColumnPage::FillItemSet().

void SwTableRep::SetLeftSpace ( SwTwips  nSet)
inline
void SwTableRep::SetLineSelected ( bool  bSet)
inline

Definition at line 76 of file swtablerep.hxx.

Referenced by lcl_TableParamToItemSet().

void SwTableRep::SetRightSpace ( SwTwips  nSet)
inline
void SwTableRep::SetSpace ( SwTwips  nSet)
inline

Definition at line 79 of file swtablerep.hxx.

Referenced by lcl_TableParamToItemSet().

void SwTableRep::SetWidth ( SwTwips  nSet)
inline
void SwTableRep::SetWidthChanged ( )
inline
void SwTableRep::SetWidthPercent ( sal_uInt16  nSet)
inline

Definition at line 61 of file swtablerep.hxx.

Referenced by SwFormatTablePage::DeactivatePage(), and lcl_TableParamToItemSet().

Member Data Documentation

bool SwTableRep::m_bColsChanged
private

Definition at line 43 of file swtablerep.hxx.

bool SwTableRep::m_bLineSelected
private

Definition at line 41 of file swtablerep.hxx.

bool SwTableRep::m_bWidthChanged
private

Definition at line 42 of file swtablerep.hxx.

sal_uInt16 SwTableRep::m_nAlign
private

Definition at line 37 of file swtablerep.hxx.

sal_uInt16 SwTableRep::m_nAllCols
private

Definition at line 39 of file swtablerep.hxx.

Referenced by FillTabCols(), and SwTableRep().

sal_uInt16 SwTableRep::m_nColCount
private

Definition at line 38 of file swtablerep.hxx.

Referenced by SwTableRep().

SwTwips SwTableRep::m_nLeftSpace
private

Definition at line 35 of file swtablerep.hxx.

SwTwips SwTableRep::m_nRightSpace
private

Definition at line 36 of file swtablerep.hxx.

SwTwips SwTableRep::m_nSpace
private

Definition at line 34 of file swtablerep.hxx.

SwTwips SwTableRep::m_nTableWidth
private

Definition at line 33 of file swtablerep.hxx.

Referenced by FillTabCols().

sal_uInt16 SwTableRep::m_nWidthPercent
private

Definition at line 40 of file swtablerep.hxx.

std::unique_ptr<TColumn[]> SwTableRep::m_pTColumns
private

Definition at line 31 of file swtablerep.hxx.

Referenced by FillTabCols(), and SwTableRep().


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