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::SwHTMLTableLayoutColumn ( sal_uInt16  nColWidthOpt,
bool  bRelColWidthOpt,
bool  bLBorder 
)

Definition at line 104 of file htmltbl.cxx.

Member Function Documentation

◆ AddToMax()

void SwHTMLTableLayoutColumn::AddToMax ( sal_uLong  nVal)
inline

Definition at line 156 of file htmltbl.hxx.

References m_nMax.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

◆ AddToMin()

void SwHTMLTableLayoutColumn::AddToMin ( sal_uLong  nVal)
inline

Definition at line 155 of file htmltbl.hxx.

References m_nMin.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

◆ ClearPass1Info()

void SwHTMLTableLayoutColumn::ClearPass1Info ( bool  bWidthOpt)
inline

◆ GetAbsColWidth()

sal_uInt16 SwHTMLTableLayoutColumn::GetAbsColWidth ( ) const
inline

Definition at line 161 of file htmltbl.hxx.

References m_nAbsColWidth.

Referenced by SwHTMLTableLayout::GetAvail().

◆ GetAbsMinNoAlign()

sal_uLong SwHTMLTableLayoutColumn::GetAbsMinNoAlign ( ) const
inline

Definition at line 150 of file htmltbl.hxx.

References m_nAbsMinNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

◆ GetMax()

sal_uLong SwHTMLTableLayoutColumn::GetMax ( ) const
inline

Definition at line 158 of file htmltbl.hxx.

References m_nMax.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

◆ GetMaxNoAlign()

sal_uLong SwHTMLTableLayoutColumn::GetMaxNoAlign ( ) const
inline

Definition at line 149 of file htmltbl.hxx.

References m_nMaxNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

◆ GetMin()

sal_uLong SwHTMLTableLayoutColumn::GetMin ( ) const
inline

Definition at line 157 of file htmltbl.hxx.

References m_nMin.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

◆ GetMinNoAlign()

sal_uLong SwHTMLTableLayoutColumn::GetMinNoAlign ( ) const
inline

Definition at line 148 of file htmltbl.hxx.

References m_nMinNoAlign.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

◆ GetRelColWidth()

sal_uInt16 SwHTMLTableLayoutColumn::GetRelColWidth ( ) const
inline

Definition at line 164 of file htmltbl.hxx.

References m_nRelColWidth.

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

◆ GetWidthOption()

sal_uInt16 SwHTMLTableLayoutColumn::GetWidthOption ( ) const
inline

Definition at line 144 of file htmltbl.hxx.

References m_nWidthOption.

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

◆ HasLeftBorder()

bool SwHTMLTableLayoutColumn::HasLeftBorder ( ) const
inline

Definition at line 166 of file htmltbl.hxx.

References m_bLeftBorder.

◆ IsRelWidthOption()

bool SwHTMLTableLayoutColumn::IsRelWidthOption ( ) const
inline

Definition at line 145 of file htmltbl.hxx.

References m_bRelWidthOption.

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

◆ MergeCellWidthOption()

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

◆ MergeMinMaxNoAlign()

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

◆ SetAbsColWidth()

void SwHTMLTableLayoutColumn::SetAbsColWidth ( sal_uInt16  nWidth)
inline

Definition at line 160 of file htmltbl.hxx.

References m_nAbsColWidth.

◆ SetMax()

void SwHTMLTableLayoutColumn::SetMax ( sal_uLong  nVal)
inline

Definition at line 154 of file htmltbl.hxx.

References m_nMax.

Referenced by SwHTMLTableLayout::AutoLayoutPass1().

◆ SetMinMax()

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

◆ SetRelColWidth()

void SwHTMLTableLayoutColumn::SetRelColWidth ( sal_uInt16  nWidth)
inline

Definition at line 163 of file htmltbl.hxx.

References m_nRelColWidth.

◆ SetWidthOption()

void SwHTMLTableLayoutColumn::SetWidthOption ( sal_uInt16  nWidth)
inline

Definition at line 404 of file htmltbl.hxx.

References m_bRelWidthOption, and m_nWidthOption.

Member Data Documentation

◆ m_bLeftBorder

bool SwHTMLTableLayoutColumn::m_bLeftBorder
private

Definition at line 134 of file htmltbl.hxx.

Referenced by HasLeftBorder().

◆ m_bRelWidthOption

bool SwHTMLTableLayoutColumn::m_bRelWidthOption
private

◆ m_nAbsColWidth

sal_uInt16 SwHTMLTableLayoutColumn::m_nAbsColWidth
private

Results of Pass 2.

In Twips.

Definition at line 128 of file htmltbl.hxx.

Referenced by GetAbsColWidth(), and SetAbsColWidth().

◆ m_nAbsMinNoAlign

sal_uLong SwHTMLTableLayoutColumn::m_nAbsMinNoAlign
private

Definition at line 122 of file htmltbl.hxx.

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

◆ m_nMax

sal_uLong SwHTMLTableLayoutColumn::m_nMax
private

Definition at line 125 of file htmltbl.hxx.

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

◆ m_nMaxNoAlign

sal_uLong SwHTMLTableLayoutColumn::m_nMaxNoAlign
private

Definition at line 122 of file htmltbl.hxx.

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

◆ m_nMin

sal_uLong SwHTMLTableLayoutColumn::m_nMin
private

Results of AutoLayoutPass1.

Definition at line 125 of file htmltbl.hxx.

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

◆ m_nMinNoAlign

sal_uLong SwHTMLTableLayoutColumn::m_nMinNoAlign
private

Interim values of AutoLayoutPass1,.

Definition at line 122 of file htmltbl.hxx.

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

◆ m_nRelColWidth

sal_uInt16 SwHTMLTableLayoutColumn::m_nRelColWidth
private

In Twips or relative to USHRT_MAX.

Definition at line 129 of file htmltbl.hxx.

Referenced by GetRelColWidth(), and SetRelColWidth().

◆ m_nWidthOption

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: