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 ()
 
 SwTableRep (const SwTableRep &rCopy)=default
 
 SwTableRep (SwTableRep &&rCopy)=default
 
SwTableRepoperator= (const SwTableRep &rCopy)=default
 
SwTableRepoperator= (SwTableRep &&rCopy)=default
 
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 ()
 

Private Attributes

std::vector< TColumnm_aTColumns
 
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 34 of file swtablerep.hxx.

Constructor & Destructor Documentation

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

Definition at line 57 of file swtablerep.cxx.

SwTableRep::SwTableRep ( const SwTableRep rCopy)
default
SwTableRep::SwTableRep ( SwTableRep &&  rCopy)
default

Member Function Documentation

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

Definition at line 77 of file swtablerep.hxx.

Referenced by SwTableColumnPage::Reset().

sal_uInt16 SwTableRep::GetColCount ( ) const
inline
TColumn* SwTableRep::GetColumns ( )
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 79 of file swtablerep.hxx.

Referenced by ItemSetToTableParam().

bool SwTableRep::HasWidthChanged ( ) const
inline

Definition at line 82 of file swtablerep.hxx.

Referenced by SwFormatTablePage::DeactivatePage().

bool SwTableRep::IsLineSelected ( ) const
inline

Definition at line 85 of file swtablerep.hxx.

Referenced by SwTableColumnPage::ActivatePage().

SwTableRep& SwTableRep::operator= ( const SwTableRep rCopy)
default
SwTableRep& SwTableRep::operator= ( SwTableRep &&  rCopy)
default
void SwTableRep::SetAlign ( sal_uInt16  nSet)
inline

Definition at line 74 of file swtablerep.hxx.

Referenced by SwFormatTablePage::DeactivatePage().

void SwTableRep::SetColsChanged ( )
inline

Definition at line 80 of file swtablerep.hxx.

Referenced by SwTableColumnPage::FillItemSet().

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

Definition at line 86 of file swtablerep.hxx.

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

Definition at line 89 of file swtablerep.hxx.

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

Definition at line 71 of file swtablerep.hxx.

Referenced by SwFormatTablePage::DeactivatePage().

Member Data Documentation

std::vector<TColumn> SwTableRep::m_aTColumns
private

Definition at line 36 of file swtablerep.hxx.

Referenced by FillTabCols(), and SwTableRep().

bool SwTableRep::m_bColsChanged
private

Definition at line 48 of file swtablerep.hxx.

bool SwTableRep::m_bLineSelected
private

Definition at line 46 of file swtablerep.hxx.

bool SwTableRep::m_bWidthChanged
private

Definition at line 47 of file swtablerep.hxx.

sal_uInt16 SwTableRep::m_nAlign
private

Definition at line 42 of file swtablerep.hxx.

sal_uInt16 SwTableRep::m_nAllCols
private

Definition at line 44 of file swtablerep.hxx.

Referenced by FillTabCols(), and SwTableRep().

sal_uInt16 SwTableRep::m_nColCount
private

Definition at line 43 of file swtablerep.hxx.

Referenced by SwTableRep().

SwTwips SwTableRep::m_nLeftSpace
private

Definition at line 40 of file swtablerep.hxx.

SwTwips SwTableRep::m_nRightSpace
private

Definition at line 41 of file swtablerep.hxx.

SwTwips SwTableRep::m_nSpace
private

Definition at line 39 of file swtablerep.hxx.

SwTwips SwTableRep::m_nTableWidth
private

Definition at line 38 of file swtablerep.hxx.

Referenced by FillTabCols().

sal_uInt16 SwTableRep::m_nWidthPercent
private

Definition at line 45 of file swtablerep.hxx.


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