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 bPrc)
 
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 nMinNoAlign
 Interim values of AutoLayoutPass1,. More...
 
sal_uLong nMaxNoAlign
 
sal_uLong nAbsMinNoAlign
 
sal_uLong nMin
 Results of AutoLayoutPass1. More...
 
sal_uLong nMax
 
sal_uInt16 nAbsColWidth
 Results of Pass 2. More...
 
sal_uInt16 nRelColWidth
 In Twips or relative to USHRT_MAX. More...
 
sal_uInt16 nWidthOption
 Options of <COL> or /. More...
 
bool bRelWidthOption: 1
 
bool const 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 98 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 nAbsColWidth.

Referenced by SwHTMLTableLayout::GetAvail().

sal_uLong SwHTMLTableLayoutColumn::GetAbsMinNoAlign ( ) const
inline

Definition at line 150 of file htmltbl.hxx.

References nAbsMinNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uLong SwHTMLTableLayoutColumn::GetMax ( ) const
inline

Definition at line 158 of file htmltbl.hxx.

References nMax.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uLong SwHTMLTableLayoutColumn::GetMaxNoAlign ( ) const
inline

Definition at line 149 of file htmltbl.hxx.

References nMaxNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uLong SwHTMLTableLayoutColumn::GetMin ( ) const
inline

Definition at line 157 of file htmltbl.hxx.

References nMin.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uLong SwHTMLTableLayoutColumn::GetMinNoAlign ( ) const
inline

Definition at line 148 of file htmltbl.hxx.

References nMinNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

sal_uInt16 SwHTMLTableLayoutColumn::GetRelColWidth ( ) const
inline

Definition at line 164 of file htmltbl.hxx.

References nRelColWidth.

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

sal_uInt16 SwHTMLTableLayoutColumn::GetWidthOption ( ) const
inline

Definition at line 144 of file htmltbl.hxx.

References nWidthOption.

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

bool SwHTMLTableLayoutColumn::HasLeftBorder ( ) const
inline

Definition at line 166 of file htmltbl.hxx.

References bLeftBorder.

bool SwHTMLTableLayoutColumn::IsRelWidthOption ( ) const
inline

Definition at line 145 of file htmltbl.hxx.

References bRelWidthOption.

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

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

Definition at line 370 of file htmltbl.hxx.

References bRelWidthOption, and 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 nAbsMinNoAlign, nMaxNoAlign, and 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 nMax, and 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 bRelWidthOption, and nWidthOption.

Member Data Documentation

bool const SwHTMLTableLayoutColumn::bLeftBorder
private

Definition at line 134 of file htmltbl.hxx.

Referenced by HasLeftBorder().

bool SwHTMLTableLayoutColumn::bRelWidthOption
private
sal_uInt16 SwHTMLTableLayoutColumn::nAbsColWidth
private

Results of Pass 2.

In Twips.

Definition at line 128 of file htmltbl.hxx.

Referenced by GetAbsColWidth().

sal_uLong SwHTMLTableLayoutColumn::nAbsMinNoAlign
private

Definition at line 122 of file htmltbl.hxx.

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

sal_uLong SwHTMLTableLayoutColumn::nMax
private

Definition at line 125 of file htmltbl.hxx.

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

sal_uLong SwHTMLTableLayoutColumn::nMaxNoAlign
private

Definition at line 122 of file htmltbl.hxx.

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

sal_uLong SwHTMLTableLayoutColumn::nMin
private

Results of AutoLayoutPass1.

Definition at line 125 of file htmltbl.hxx.

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

sal_uLong SwHTMLTableLayoutColumn::nMinNoAlign
private

Interim values of AutoLayoutPass1,.

Definition at line 122 of file htmltbl.hxx.

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

sal_uInt16 SwHTMLTableLayoutColumn::nRelColWidth
private

In Twips or relative to USHRT_MAX.

Definition at line 129 of file htmltbl.hxx.

Referenced by GetRelColWidth().

sal_uInt16 SwHTMLTableLayoutColumn::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: