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

#include <htmltbl.hxx>

Public Member Functions

 SwHTMLTableLayoutColumn (sal_uInt16 nColWidthOpt, bool bRelColWidthOpt, bool bLBorder)
 
void MergeCellWidthOption (sal_uInt16 nWidth, bool bPercent)
 
void SetWidthOption (sal_uInt16 nWidth)
 
sal_uInt16 GetWidthOption () const
 
bool IsRelWidthOption () const
 
void MergeMinMaxNoAlign (sal_uLong nMin, sal_uLong nMax, sal_uLong nAbsMin)
 
sal_uLong GetMinNoAlign () const
 
sal_uLong GetMaxNoAlign () const
 
sal_uLong GetAbsMinNoAlign () const
 
void ClearPass1Info (bool bWidthOpt)
 
void SetMinMax (sal_uLong nMin, sal_uLong nMax)
 
void SetMax (sal_uLong nVal)
 
void AddToMin (sal_uLong nVal)
 
void AddToMax (sal_uLong nVal)
 
sal_uLong GetMin () const
 
sal_uLong GetMax () const
 
void SetAbsColWidth (sal_uInt16 nWidth)
 
sal_uInt16 GetAbsColWidth () const
 
void SetRelColWidth (sal_uInt16 nWidth)
 
sal_uInt16 GetRelColWidth () const
 
bool HasLeftBorder () const
 

Private Attributes

sal_uLong m_nMinNoAlign
 Interim values of AutoLayoutPass1,. More...
 
sal_uLong m_nMaxNoAlign
 
sal_uLong m_nAbsMinNoAlign
 
sal_uLong m_nMin
 Results of AutoLayoutPass1. More...
 
sal_uLong m_nMax
 
sal_uInt16 m_nAbsColWidth
 Results of Pass 2. More...
 
sal_uInt16 m_nRelColWidth
 In Twips or relative to USHRT_MAX. More...
 
sal_uInt16 m_nWidthOption
 Options of <COL> or /. More...
 
bool m_bRelWidthOption: 1
 
bool m_bLeftBorder: 1
 

Detailed Description

Definition at line 118 of file htmltbl.hxx.

Constructor & Destructor Documentation

SwHTMLTableLayoutColumn::SwHTMLTableLayoutColumn ( sal_uInt16  nColWidthOpt,
bool  bRelColWidthOpt,
bool  bLBorder 
)

Definition at line 102 of file htmltbl.cxx.

Member Function Documentation

void SwHTMLTableLayoutColumn::AddToMax ( sal_uLong  nVal)
inline

Definition at line 156 of file htmltbl.hxx.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

void SwHTMLTableLayoutColumn::AddToMin ( sal_uLong  nVal)
inline

Definition at line 155 of file htmltbl.hxx.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

void SwHTMLTableLayoutColumn::ClearPass1Info ( bool  bWidthOpt)
inline
sal_uInt16 SwHTMLTableLayoutColumn::GetAbsColWidth ( ) const
inline

Definition at line 161 of file htmltbl.hxx.

References m_nAbsColWidth.

Referenced by SwHTMLTableLayout::GetAvail().

sal_uLong SwHTMLTableLayoutColumn::GetAbsMinNoAlign ( ) const
inline

Definition at line 150 of file htmltbl.hxx.

References m_nAbsMinNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uLong SwHTMLTableLayoutColumn::GetMax ( ) const
inline

Definition at line 158 of file htmltbl.hxx.

References m_nMax.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uLong SwHTMLTableLayoutColumn::GetMaxNoAlign ( ) const
inline

Definition at line 149 of file htmltbl.hxx.

References m_nMaxNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uLong SwHTMLTableLayoutColumn::GetMin ( ) const
inline

Definition at line 157 of file htmltbl.hxx.

References m_nMin.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uLong SwHTMLTableLayoutColumn::GetMinNoAlign ( ) const
inline

Definition at line 148 of file htmltbl.hxx.

References m_nMinNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uInt16 SwHTMLTableLayoutColumn::GetRelColWidth ( ) const
inline

Definition at line 164 of file htmltbl.hxx.

References m_nRelColWidth.

Referenced by SwHTMLTableLayout::GetAvail(), and SwHTMLTableLayout::SetBoxWidth().

sal_uInt16 SwHTMLTableLayoutColumn::GetWidthOption ( ) const
inline

Definition at line 144 of file htmltbl.hxx.

References m_nWidthOption.

Referenced by SwHTMLTableLayout::AutoLayoutPass1(), and SwWriteTable::SwWriteTable().

bool SwHTMLTableLayoutColumn::HasLeftBorder ( ) const
inline

Definition at line 166 of file htmltbl.hxx.

References m_bLeftBorder.

bool SwHTMLTableLayoutColumn::IsRelWidthOption ( ) const
inline

Definition at line 145 of file htmltbl.hxx.

References m_bRelWidthOption.

Referenced by SwHTMLTableLayout::AutoLayoutPass1(), and SwWriteTable::SwWriteTable().

void SwHTMLTableLayoutColumn::MergeCellWidthOption ( sal_uInt16  nWidth,
bool  bPercent 
)
inline

Definition at line 370 of file htmltbl.hxx.

References m_bRelWidthOption, and m_nWidthOption.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

void SwHTMLTableLayoutColumn::MergeMinMaxNoAlign ( sal_uLong  nMin,
sal_uLong  nMax,
sal_uLong  nAbsMin 
)
inline

Definition at line 348 of file htmltbl.hxx.

References m_nAbsMinNoAlign, m_nMaxNoAlign, and m_nMinNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

void SwHTMLTableLayoutColumn::SetAbsColWidth ( sal_uInt16  nWidth)
inline

Definition at line 160 of file htmltbl.hxx.

void SwHTMLTableLayoutColumn::SetMax ( sal_uLong  nVal)
inline

Definition at line 154 of file htmltbl.hxx.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

void SwHTMLTableLayoutColumn::SetMinMax ( sal_uLong  nMin,
sal_uLong  nMax 
)
inline

Definition at line 381 of file htmltbl.hxx.

References m_nMax, and m_nMin.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

void SwHTMLTableLayoutColumn::SetRelColWidth ( sal_uInt16  nWidth)
inline

Definition at line 163 of file htmltbl.hxx.

void SwHTMLTableLayoutColumn::SetWidthOption ( sal_uInt16  nWidth)
inline

Definition at line 404 of file htmltbl.hxx.

References m_bRelWidthOption, and m_nWidthOption.

Member Data Documentation

bool SwHTMLTableLayoutColumn::m_bLeftBorder
private

Definition at line 134 of file htmltbl.hxx.

Referenced by HasLeftBorder().

bool SwHTMLTableLayoutColumn::m_bRelWidthOption
private
sal_uInt16 SwHTMLTableLayoutColumn::m_nAbsColWidth
private

Results of Pass 2.

In Twips.

Definition at line 128 of file htmltbl.hxx.

Referenced by GetAbsColWidth().

sal_uLong SwHTMLTableLayoutColumn::m_nAbsMinNoAlign
private

Definition at line 122 of file htmltbl.hxx.

Referenced by ClearPass1Info(), GetAbsMinNoAlign(), and MergeMinMaxNoAlign().

sal_uLong SwHTMLTableLayoutColumn::m_nMax
private

Definition at line 125 of file htmltbl.hxx.

Referenced by ClearPass1Info(), GetMax(), and SetMinMax().

sal_uLong SwHTMLTableLayoutColumn::m_nMaxNoAlign
private

Definition at line 122 of file htmltbl.hxx.

Referenced by ClearPass1Info(), GetMaxNoAlign(), and MergeMinMaxNoAlign().

sal_uLong SwHTMLTableLayoutColumn::m_nMin
private

Results of AutoLayoutPass1.

Definition at line 125 of file htmltbl.hxx.

Referenced by ClearPass1Info(), GetMin(), and SetMinMax().

sal_uLong SwHTMLTableLayoutColumn::m_nMinNoAlign
private

Interim values of AutoLayoutPass1,.

Definition at line 122 of file htmltbl.hxx.

Referenced by ClearPass1Info(), GetMinNoAlign(), and MergeMinMaxNoAlign().

sal_uInt16 SwHTMLTableLayoutColumn::m_nRelColWidth
private

In Twips or relative to USHRT_MAX.

Definition at line 129 of file htmltbl.hxx.

Referenced by GetRelColWidth().

sal_uInt16 SwHTMLTableLayoutColumn::m_nWidthOption
private

Options of <COL> or /.

Definition at line 131 of file htmltbl.hxx.

Referenced by ClearPass1Info(), GetWidthOption(), MergeCellWidthOption(), and SetWidthOption().


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