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

#include <htmltbl.hxx>

Collaboration diagram for SwHTMLTableLayout:
[legend]

Public Member Functions

 SwHTMLTableLayout (const SwTable *pSwTable, sal_uInt16 nRows, sal_uInt16 nCols, bool bColsOpt, bool ColTgs, sal_uInt16 nWidth, bool bPercentWidth, sal_uInt16 nBorderOpt, sal_uInt16 nCellPad, sal_uInt16 nCellSp, SvxAdjust eAdjust, sal_uInt16 nLMargin, sal_uInt16 nRMargin, sal_uInt16 nBWidth, sal_uInt16 nLeftBWidth, sal_uInt16 nRightBWidth)
 
 ~SwHTMLTableLayout ()
 
sal_uInt16 GetLeftCellSpace (sal_uInt16 nCol, sal_uInt16 nColSpan, bool bSwBorders=true) const
 The border widths are calculated like in Netscape: Outer border: BORDER + CELLSPACING + CELLPADDING Inner border: CELLSPACING + CELLPADDING However, we respect the border widths in SW if bSwBorders is set, so that we don't wrap wrongly. More...
 
sal_uInt16 GetRightCellSpace (sal_uInt16 nCol, sal_uInt16 nColSpan, bool bSwBorders=true) const
 
sal_uInt16 GetInhCellSpace (sal_uInt16 nCol, sal_uInt16 nColSpan) const
 
void SetInhBorderWidths (sal_uInt16 nLeft, sal_uInt16 nRight)
 
void GetAvail (sal_uInt16 nCol, sal_uInt16 nColSpan, sal_uInt16 &rAbsAvail, sal_uInt16 &rRelAvail) const
 
void AutoLayoutPass1 ()
 
void AutoLayoutPass2 (sal_uInt16 nAbsAvail, sal_uInt16 nRelAvail, sal_uInt16 nAbsLeftSpace, sal_uInt16 nAbsRightSpace, sal_uInt16 nParentInhSpace)
 
void SetWidths (bool bCallPass2=false, sal_uInt16 nAbsAvail=0, sal_uInt16 nRelAvail=0, sal_uInt16 nAbsLeftSpace=0, sal_uInt16 nAbsRightSpace=0, sal_uInt16 nParentInhSpace=0)
 
SwHTMLTableLayoutColumnGetColumn (sal_uInt16 nCol) const
 
void SetColumn (std::unique_ptr< SwHTMLTableLayoutColumn > pCol, sal_uInt16 nCol)
 
SwHTMLTableLayoutCellGetCell (sal_uInt16 nRow, sal_uInt16 nCol) const
 
void SetCell (std::unique_ptr< SwHTMLTableLayoutCell > pCell, sal_uInt16 nRow, sal_uInt16 nCol)
 
sal_uLong GetMin () const
 
sal_uLong GetMax () const
 
tools::Long GetBrowseWidthMin () const
 
bool HasColsOption () const
 
bool HasColTags () const
 
bool IsTopTable () const
 
void SetMustResize (bool bSet)
 
void SetMustNotResize (bool bSet)
 
void SetMustNotRecalc (bool bSet)
 
bool Resize (sal_uInt16 nAbsAvail, bool bRecalc=false, bool bForce=false, sal_uLong nDelay=0)
 Recalculation of table widths for available width that has been passed. More...
 
void BordersChanged (sal_uInt16 nAbsAvail)
 
sal_uInt16 GetBrowseWidthByTabFrame (const SwTabFrame &rTabFrame) const
 Calculates available width by table-frame. More...
 
sal_uInt16 GetBrowseWidthByTable (const SwDoc &rDoc) const
 Calculates available width by the table-frame or static GetBrowseWidth if no layout exists. More...
 
sal_uInt16 GetWidthOption () const
 For Export. More...
 
bool HasPercentWidthOption () const
 
sal_uInt16 GetCellPadding () const
 
sal_uInt16 GetCellSpacing () const
 
sal_uInt16 GetBorder () const
 
sal_uInt16 GetRowCount () const
 
sal_uInt16 GetColCount () const
 
void SetExportable (bool bSet)
 
bool IsExportable () const
 
bool HaveBordersChanged () const
 
void SetMayBeInFlyFrame (bool bSet)
 
bool MayBeInFlyFrame () const
 

Static Public Member Functions

static sal_uInt16 GetBrowseWidth (const SwDoc &rDoc)
 Calculate available width. More...
 

Private Member Functions

void AddBorderWidth (sal_uLong &rMin, sal_uLong &rMax, sal_uLong &rAbsMin, sal_uInt16 nCol, sal_uInt16 nColSpan, bool bSwBorders=true) const
 
void SetBoxWidth (SwTableBox *pBox, sal_uInt16 nCol, sal_uInt16 nColSpan) const
 
const SwStartNodeGetAnyBoxStartNode () const
 
SwFrameFormatFindFlyFrameFormat () const
 
const SwDocGetDoc () const
 
void Resize_ (sal_uInt16 nAbsAvail, bool bRecalc)
 
 DECL_LINK (DelayedResize_Impl, Timer *, void)
 

Static Private Member Functions

static sal_uInt16 GetBrowseWidthByVisArea (const SwDoc &rDoc)
 

Private Attributes

Timer m_aResizeTimer
 Timer for DelayedResize. More...
 
std::vector< std::unique_ptr< SwHTMLTableLayoutColumn > > m_aColumns
 
std::vector< std::unique_ptr< SwHTMLTableLayoutCell > > m_aCells
 
const SwTablem_pSwTable
 SwTable (Top-Table only). More...
 
sal_uLong m_nMin
 Minimal width of table (Twips). More...
 
sal_uLong m_nMax
 Maximal width of table (Twips). More...
 
sal_uInt16 m_nRows
 Row count. More...
 
sal_uInt16 m_nCols
 Column count. More...
 
sal_uInt16 m_nLeftMargin
 Space to left margin (from paragraph). More...
 
sal_uInt16 m_nRightMargin
 Space to left margin (from paragraph). More...
 
sal_uInt16 m_nInhAbsLeftSpace
 Space inherited from surrounding box. More...
 
sal_uInt16 m_nInhAbsRightSpace
 that was added to boxes. More...
 
sal_uInt16 m_nRelLeftFill
 Width of boxes relative to alignment. More...
 
sal_uInt16 m_nRelRightFill
 of tables in tables. More...
 
sal_uInt16 m_nRelTabWidth
 Relative width of table. More...
 
sal_uInt16 m_nWidthOption
 Width of table (in Twips or %). More...
 
sal_uInt16 m_nCellPadding
 Space to contents (in Twips). More...
 
sal_uInt16 m_nCellSpacing
 Cell spacing (in Twips). More...
 
sal_uInt16 m_nBorder
 
SwTwips m_nLeftBorderWidth
 Line strength of outer border, or rather the space needed for it as calculated by Netscape. More...
 
SwTwips m_nRightBorderWidth
 
sal_uInt16 m_nInhLeftBorderWidth
 
sal_uInt16 m_nInhRightBorderWidth
 
SwTwips m_nBorderWidth
 
sal_uInt16 m_nDelayedResizeAbsAvail
 Param for delayed Resize. More...
 
sal_uInt16 m_nLastResizeAbsAvail
 
sal_uInt8 m_nPass1Done
 Reference-values for. More...
 
sal_uInt8 m_nWidthSet
 the runs through loop. More...
 
SvxAdjust m_eTableAdjust
 Alignment of table. More...
 
bool m_bColsOption: 1
 Table has a COLS-option. More...
 
bool m_bColTags: 1
 Table has COL/COLGRP tags. More...
 
bool m_bPercentWidthOption: 1
 Width is given in percent. More...
 
bool m_bUseRelWidth: 1
 SwTable gets relative width. More...
 
bool m_bMustResize: 1
 Table width must be defined. More...
 
bool m_bExportable: 1
 Layout may be used for export. More...
 
bool m_bBordersChanged: 1
 Borders have been changed. More...
 
bool m_bMayBeInFlyFrame: 1
 Table could be within frame. More...
 
bool m_bDelayedResizeRecalc: 1
 Param for delayed Resize. More...
 
bool m_bMustNotResize: 1
 Table may not be resized. More...
 
bool m_bMustNotRecalc: 1
 Table may not be adapted to its contents. More...
 

Detailed Description

Definition at line 169 of file htmltbl.hxx.

Constructor & Destructor Documentation

◆ SwHTMLTableLayout()

SwHTMLTableLayout::SwHTMLTableLayout ( const SwTable pSwTable,
sal_uInt16  nRows,
sal_uInt16  nCols,
bool  bColsOpt,
bool  ColTgs,
sal_uInt16  nWidth,
bool  bPercentWidth,
sal_uInt16  nBorderOpt,
sal_uInt16  nCellPad,
sal_uInt16  nCellSp,
SvxAdjust  eAdjust,
sal_uInt16  nLMargin,
sal_uInt16  nRMargin,
sal_uInt16  nBWidth,
sal_uInt16  nLeftBWidth,
sal_uInt16  nRightBWidth 
)

Definition at line 152 of file htmltbl.cxx.

References LINK, m_aResizeTimer, and Timer::SetInvokeHandler().

◆ ~SwHTMLTableLayout()

SwHTMLTableLayout::~SwHTMLTableLayout ( )

Definition at line 206 of file htmltbl.cxx.

Member Function Documentation

◆ AddBorderWidth()

void SwHTMLTableLayout::AddBorderWidth ( sal_uLong rMin,
sal_uLong rMax,
sal_uLong rAbsMin,
sal_uInt16  nCol,
sal_uInt16  nColSpan,
bool  bSwBorders = true 
) const
private

Definition at line 274 of file htmltbl.cxx.

References GetLeftCellSpace(), and GetRightCellSpace().

Referenced by AutoLayoutPass1().

◆ AutoLayoutPass1()

void SwHTMLTableLayout::AutoLayoutPass1 ( )

◆ AutoLayoutPass2()

void SwHTMLTableLayout::AutoLayoutPass2 ( sal_uInt16  nAbsAvail,
sal_uInt16  nRelAvail,
sal_uInt16  nAbsLeftSpace,
sal_uInt16  nAbsRightSpace,
sal_uInt16  nParentInhAbsSpace 
)
Parameters
nAbsAvailavailable space in TWIPS.
nRelAvailavailable space related to USHRT_MAX or 0
nAbsSpacefraction of nAbsAvail, which is reserved by the surrounding cell for the border and the distance to the paragraph.

Definition at line 1059 of file htmltbl.cxx.

◆ BordersChanged()

void SwHTMLTableLayout::BordersChanged ( sal_uInt16  nAbsAvail)

Definition at line 1767 of file htmltbl.cxx.

References m_bBordersChanged, and Resize().

Referenced by SwDoc::SetTabBorders(), and SwDoc::SetTabLineStyle().

◆ DECL_LINK()

SwHTMLTableLayout::DECL_LINK ( DelayedResize_Impl  ,
Timer ,
void   
)
private

◆ FindFlyFrameFormat()

SwFrameFormat * SwHTMLTableLayout::FindFlyFrameFormat ( ) const
private

Definition at line 408 of file htmltbl.cxx.

References SwNode::FindTableNode(), GetAnyBoxStartNode(), and SwNode::GetFlyFormat().

Referenced by Resize().

◆ GetAnyBoxStartNode()

const SwStartNode * SwHTMLTableLayout::GetAnyBoxStartNode ( ) const
private

◆ GetAvail()

void SwHTMLTableLayout::GetAvail ( sal_uInt16  nCol,
sal_uInt16  nColSpan,
sal_uInt16 &  rAbsAvail,
sal_uInt16 &  rRelAvail 
) const

◆ GetBorder()

sal_uInt16 SwHTMLTableLayout::GetBorder ( ) const
inline

Definition at line 327 of file htmltbl.hxx.

References m_nBorder.

Referenced by SwWriteTable::SwWriteTable().

◆ GetBrowseWidth()

sal_uInt16 SwHTMLTableLayout::GetBrowseWidth ( const SwDoc rDoc)
static

Calculate available width.

This works only if a layout or a SwViewShell exists. Otherwise returns 0. This is needed by HTML-filter because it doesn't have access to the layout.)

Definition at line 325 of file htmltbl.cxx.

References GetBrowseWidthByVisArea(), IDocumentLayoutAccess::GetCurrentLayout(), SwFrameAreaDefinition::getFramePrintArea(), SwDoc::getIDocumentLayoutAccess(), SwFrame::GetLower(), and SwRect::Width().

Referenced by GetBrowseWidthByTable(), and SwHTMLParser::GetCurrentBrowseWidth().

◆ GetBrowseWidthByTabFrame()

sal_uInt16 SwHTMLTableLayout::GetBrowseWidthByTabFrame ( const SwTabFrame rTabFrame) const

◆ GetBrowseWidthByTable()

sal_uInt16 SwHTMLTableLayout::GetBrowseWidthByTable ( const SwDoc rDoc) const

Calculates available width by the table-frame or static GetBrowseWidth if no layout exists.

Definition at line 375 of file htmltbl.cxx.

References SwIterator< TElementType, TSource, eMode >::First(), GetBrowseWidth(), GetBrowseWidthByTabFrame(), SwTable::GetFrameFormat(), and m_pSwTable.

Referenced by SetGrfFlySize().

◆ GetBrowseWidthByVisArea()

sal_uInt16 SwHTMLTableLayout::GetBrowseWidthByVisArea ( const SwDoc rDoc)
staticprivate

◆ GetBrowseWidthMin()

tools::Long SwHTMLTableLayout::GetBrowseWidthMin ( ) const
inline

Definition at line 426 of file htmltbl.hxx.

References m_bPercentWidthOption, m_nMin, m_nRelTabWidth, and m_nWidthOption.

Referenced by SwRootFrame::ImplCalcBrowseWidth().

◆ GetCell()

SwHTMLTableLayoutCell * SwHTMLTableLayout::GetCell ( sal_uInt16  nRow,
sal_uInt16  nCol 
) const
inline

Definition at line 415 of file htmltbl.hxx.

References sw::proofreadingiterator::get(), m_aCells, and m_nCols.

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

◆ GetCellPadding()

sal_uInt16 SwHTMLTableLayout::GetCellPadding ( ) const
inline

Definition at line 325 of file htmltbl.hxx.

References m_nCellPadding.

Referenced by SwWriteTable::SwWriteTable().

◆ GetCellSpacing()

sal_uInt16 SwHTMLTableLayout::GetCellSpacing ( ) const
inline

Definition at line 326 of file htmltbl.hxx.

References m_nCellSpacing.

Referenced by SwWriteTable::SwWriteTable().

◆ GetColCount()

sal_uInt16 SwHTMLTableLayout::GetColCount ( ) const
inline

Definition at line 330 of file htmltbl.hxx.

References m_nCols.

Referenced by SwWriteTable::SwWriteTable().

◆ GetColumn()

SwHTMLTableLayoutColumn * SwHTMLTableLayout::GetColumn ( sal_uInt16  nCol) const
inline

◆ GetDoc()

const SwDoc & SwHTMLTableLayout::GetDoc ( ) const
inlineprivate

Definition at line 236 of file htmltbl.hxx.

References GetAnyBoxStartNode(), and SwNode::GetDoc().

Referenced by Resize(), and Resize_().

◆ GetInhCellSpace()

sal_uInt16 SwHTMLTableLayout::GetInhCellSpace ( sal_uInt16  nCol,
sal_uInt16  nColSpan 
) const
inline

Definition at line 387 of file htmltbl.hxx.

References m_nCols, m_nInhAbsLeftSpace, and m_nInhAbsRightSpace.

◆ GetLeftCellSpace()

sal_uInt16 SwHTMLTableLayout::GetLeftCellSpace ( sal_uInt16  nCol,
sal_uInt16  nColSpan,
bool  bSwBorders = true 
) const

The border widths are calculated like in Netscape: Outer border: BORDER + CELLSPACING + CELLPADDING Inner border: CELLSPACING + CELLPADDING However, we respect the border widths in SW if bSwBorders is set, so that we don't wrap wrongly.

We also need to respect the distance to the content. Even if only the opposite side has a border.

Definition at line 217 of file htmltbl.cxx.

References GetColumn(), m_nBorder, m_nBorderWidth, m_nCellPadding, m_nCellSpacing, m_nCols, m_nLeftBorderWidth, m_nRightBorderWidth, and MIN_BORDER_DIST.

Referenced by AddBorderWidth().

◆ GetMax()

sal_uLong SwHTMLTableLayout::GetMax ( ) const
inline

Definition at line 281 of file htmltbl.hxx.

References m_nMax.

Referenced by lcl_MinMaxNode().

◆ GetMin()

sal_uLong SwHTMLTableLayout::GetMin ( ) const
inline

Definition at line 280 of file htmltbl.hxx.

References m_nMin.

Referenced by lcl_MinMaxNode().

◆ GetRightCellSpace()

sal_uInt16 SwHTMLTableLayout::GetRightCellSpace ( sal_uInt16  nCol,
sal_uInt16  nColSpan,
bool  bSwBorders = true 
) const

◆ GetRowCount()

sal_uInt16 SwHTMLTableLayout::GetRowCount ( ) const
inline

Definition at line 329 of file htmltbl.hxx.

References m_nRows.

Referenced by SwWriteTable::SwWriteTable().

◆ GetWidthOption()

sal_uInt16 SwHTMLTableLayout::GetWidthOption ( ) const
inline

For Export.

Definition at line 322 of file htmltbl.hxx.

References m_nWidthOption.

◆ HasColsOption()

bool SwHTMLTableLayout::HasColsOption ( ) const
inline

Definition at line 285 of file htmltbl.hxx.

References m_bColsOption.

Referenced by AutoLayoutPass1().

◆ HasColTags()

bool SwHTMLTableLayout::HasColTags ( ) const
inline

Definition at line 286 of file htmltbl.hxx.

References m_bColTags.

Referenced by AutoLayoutPass1().

◆ HasPercentWidthOption()

bool SwHTMLTableLayout::HasPercentWidthOption ( ) const
inline

Definition at line 323 of file htmltbl.hxx.

References m_bPercentWidthOption.

◆ HaveBordersChanged()

bool SwHTMLTableLayout::HaveBordersChanged ( ) const
inline

Definition at line 335 of file htmltbl.hxx.

References m_bBordersChanged.

◆ IsExportable()

bool SwHTMLTableLayout::IsExportable ( ) const
inline

◆ IsTopTable()

bool SwHTMLTableLayout::IsTopTable ( ) const
inline

Definition at line 288 of file htmltbl.hxx.

References m_pSwTable.

Referenced by Resize().

◆ MayBeInFlyFrame()

bool SwHTMLTableLayout::MayBeInFlyFrame ( ) const
inline

Definition at line 338 of file htmltbl.hxx.

References m_bMayBeInFlyFrame.

Referenced by GetBrowseWidthByTabFrame().

◆ Resize()

bool SwHTMLTableLayout::Resize ( sal_uInt16  nAbsAvail,
bool  bRecalc = false,
bool  bForce = false,
sal_uLong  nDelay = 0 
)

Recalculation of table widths for available width that has been passed.

  • If bRecalc is set, contents of boxes are included into calculation.
  • If bForce is set, table will be recalculated even if this was disallowed by SetMustNotResize.
  • If nDelay > 0 the calculation is delayed accordingly. Resizing calls occurring during delay-time are ignored, but the delay may be counted under certain circumstances.
  • If nDelay == HTMLTABLE_RESIZE_NOW, resize immediately and do not consider any resize-calls that might possibly be in order.
  • The return value indicates whether the table has been changed.

Definition at line 1697 of file htmltbl.cxx.

References FindFlyFrameFormat(), SwViewOption::getBrowseMode(), GetBrowseWidthByVisArea(), IDocumentLayoutAccess::GetCurrentViewShell(), GetDoc(), SwDoc::getIDocumentLayoutAccess(), SwViewShell::GetViewOptions(), HTMLTABLE_RESIZE_NOW, Task::IsActive(), IsTopTable(), m_aResizeTimer, m_bDelayedResizeRecalc, m_bMustNotRecalc, m_bMustNotResize, m_bMustResize, m_bPercentWidthOption, m_nDelayedResizeAbsAvail, m_nLastResizeAbsAvail, m_nMax, m_nMin, m_nRelTabWidth, Resize_(), Timer::SetTimeout(), Timer::Start(), and Task::Stop().

Referenced by BordersChanged(), SwTabFrame::MakeAll(), SwDoc::SetBoxAttr(), and SetGrfFlySize().

◆ Resize_()

void SwHTMLTableLayout::Resize_ ( sal_uInt16  nAbsAvail,
bool  bRecalc 
)
private

◆ SetBoxWidth()

void SwHTMLTableLayout::SetBoxWidth ( SwTableBox pBox,
sal_uInt16  nCol,
sal_uInt16  nColSpan 
) const
private

◆ SetCell()

void SwHTMLTableLayout::SetCell ( std::unique_ptr< SwHTMLTableLayoutCell pCell,
sal_uInt16  nRow,
sal_uInt16  nCol 
)
inline

Definition at line 420 of file htmltbl.hxx.

References m_aCells, and m_nCols.

◆ SetColumn()

void SwHTMLTableLayout::SetColumn ( std::unique_ptr< SwHTMLTableLayoutColumn pCol,
sal_uInt16  nCol 
)
inline

Definition at line 410 of file htmltbl.hxx.

References m_aColumns.

◆ SetExportable()

void SwHTMLTableLayout::SetExportable ( bool  bSet)
inline

Definition at line 332 of file htmltbl.hxx.

References m_bExportable.

◆ SetInhBorderWidths()

void SwHTMLTableLayout::SetInhBorderWidths ( sal_uInt16  nLeft,
sal_uInt16  nRight 
)
inline

Definition at line 431 of file htmltbl.hxx.

References m_nInhLeftBorderWidth, and m_nInhRightBorderWidth.

◆ SetMayBeInFlyFrame()

void SwHTMLTableLayout::SetMayBeInFlyFrame ( bool  bSet)
inline

Definition at line 337 of file htmltbl.hxx.

References m_bMayBeInFlyFrame.

◆ SetMustNotRecalc()

void SwHTMLTableLayout::SetMustNotRecalc ( bool  bSet)
inline

Definition at line 292 of file htmltbl.hxx.

References m_bMustNotRecalc.

◆ SetMustNotResize()

void SwHTMLTableLayout::SetMustNotResize ( bool  bSet)
inline

Definition at line 291 of file htmltbl.hxx.

References m_bMustNotResize.

◆ SetMustResize()

void SwHTMLTableLayout::SetMustResize ( bool  bSet)
inline

Definition at line 290 of file htmltbl.hxx.

References m_bMustResize.

◆ SetWidths()

void SwHTMLTableLayout::SetWidths ( bool  bCallPass2 = false,
sal_uInt16  nAbsAvail = 0,
sal_uInt16  nRelAvail = 0,
sal_uInt16  nAbsLeftSpace = 0,
sal_uInt16  nAbsRightSpace = 0,
sal_uInt16  nParentInhSpace = 0 
)

Definition at line 1557 of file htmltbl.cxx.

Referenced by Resize_().

Member Data Documentation

◆ m_aCells

std::vector<std::unique_ptr<SwHTMLTableLayoutCell> > SwHTMLTableLayout::m_aCells
private

Definition at line 174 of file htmltbl.hxx.

Referenced by GetCell(), and SetCell().

◆ m_aColumns

std::vector<std::unique_ptr<SwHTMLTableLayoutColumn> > SwHTMLTableLayout::m_aColumns
private

Definition at line 173 of file htmltbl.hxx.

Referenced by GetColumn(), and SetColumn().

◆ m_aResizeTimer

Timer SwHTMLTableLayout::m_aResizeTimer
private

Timer for DelayedResize.

Definition at line 171 of file htmltbl.hxx.

Referenced by IMPL_LINK_NOARG(), Resize(), and SwHTMLTableLayout().

◆ m_bBordersChanged

bool SwHTMLTableLayout::m_bBordersChanged
private

Borders have been changed.

Definition at line 222 of file htmltbl.hxx.

Referenced by BordersChanged(), and HaveBordersChanged().

◆ m_bColsOption

bool SwHTMLTableLayout::m_bColsOption
private

Table has a COLS-option.

Definition at line 215 of file htmltbl.hxx.

Referenced by HasColsOption().

◆ m_bColTags

bool SwHTMLTableLayout::m_bColTags
private

Table has COL/COLGRP tags.

Definition at line 216 of file htmltbl.hxx.

Referenced by HasColTags().

◆ m_bDelayedResizeRecalc

bool SwHTMLTableLayout::m_bDelayedResizeRecalc
private

Param for delayed Resize.

Definition at line 225 of file htmltbl.hxx.

Referenced by IMPL_LINK_NOARG(), and Resize().

◆ m_bExportable

bool SwHTMLTableLayout::m_bExportable
private

Layout may be used for export.

Definition at line 221 of file htmltbl.hxx.

Referenced by IsExportable(), and SetExportable().

◆ m_bMayBeInFlyFrame

bool SwHTMLTableLayout::m_bMayBeInFlyFrame
private

Table could be within frame.

Definition at line 223 of file htmltbl.hxx.

Referenced by MayBeInFlyFrame(), and SetMayBeInFlyFrame().

◆ m_bMustNotRecalc

bool SwHTMLTableLayout::m_bMustNotRecalc
private

Table may not be adapted to its contents.

Definition at line 227 of file htmltbl.hxx.

Referenced by Resize(), and SetMustNotRecalc().

◆ m_bMustNotResize

bool SwHTMLTableLayout::m_bMustNotResize
private

Table may not be resized.

Definition at line 226 of file htmltbl.hxx.

Referenced by Resize(), and SetMustNotResize().

◆ m_bMustResize

bool SwHTMLTableLayout::m_bMustResize
private

Table width must be defined.

Definition at line 220 of file htmltbl.hxx.

Referenced by Resize(), and SetMustResize().

◆ m_bPercentWidthOption

bool SwHTMLTableLayout::m_bPercentWidthOption
private

Width is given in percent.

Definition at line 217 of file htmltbl.hxx.

Referenced by AutoLayoutPass1(), GetBrowseWidthMin(), HasPercentWidthOption(), and Resize().

◆ m_bUseRelWidth

bool SwHTMLTableLayout::m_bUseRelWidth
private

SwTable gets relative width.

Definition at line 218 of file htmltbl.hxx.

◆ m_eTableAdjust

SvxAdjust SwHTMLTableLayout::m_eTableAdjust
private

Alignment of table.

Definition at line 213 of file htmltbl.hxx.

◆ m_nBorder

sal_uInt16 SwHTMLTableLayout::m_nBorder
private

Definition at line 198 of file htmltbl.hxx.

Referenced by GetBorder(), GetLeftCellSpace(), and GetRightCellSpace().

◆ m_nBorderWidth

SwTwips SwHTMLTableLayout::m_nBorderWidth
private

Definition at line 205 of file htmltbl.hxx.

Referenced by GetLeftCellSpace().

◆ m_nCellPadding

sal_uInt16 SwHTMLTableLayout::m_nCellPadding
private

Space to contents (in Twips).

Definition at line 196 of file htmltbl.hxx.

Referenced by GetCellPadding(), GetLeftCellSpace(), and GetRightCellSpace().

◆ m_nCellSpacing

sal_uInt16 SwHTMLTableLayout::m_nCellSpacing
private

Cell spacing (in Twips).

Definition at line 197 of file htmltbl.hxx.

Referenced by GetCellSpacing(), GetLeftCellSpace(), and GetRightCellSpace().

◆ m_nCols

sal_uInt16 SwHTMLTableLayout::m_nCols
private

◆ m_nDelayedResizeAbsAvail

sal_uInt16 SwHTMLTableLayout::m_nDelayedResizeAbsAvail
private

Param for delayed Resize.

Definition at line 207 of file htmltbl.hxx.

Referenced by IMPL_LINK_NOARG(), and Resize().

◆ m_nInhAbsLeftSpace

sal_uInt16 SwHTMLTableLayout::m_nInhAbsLeftSpace
private

Space inherited from surrounding box.

Definition at line 187 of file htmltbl.hxx.

Referenced by GetInhCellSpace().

◆ m_nInhAbsRightSpace

sal_uInt16 SwHTMLTableLayout::m_nInhAbsRightSpace
private

that was added to boxes.

Definition at line 188 of file htmltbl.hxx.

Referenced by GetInhCellSpace().

◆ m_nInhLeftBorderWidth

sal_uInt16 SwHTMLTableLayout::m_nInhLeftBorderWidth
private

Definition at line 203 of file htmltbl.hxx.

Referenced by SetInhBorderWidths().

◆ m_nInhRightBorderWidth

sal_uInt16 SwHTMLTableLayout::m_nInhRightBorderWidth
private

Definition at line 204 of file htmltbl.hxx.

Referenced by SetInhBorderWidths().

◆ m_nLastResizeAbsAvail

sal_uInt16 SwHTMLTableLayout::m_nLastResizeAbsAvail
private

Definition at line 208 of file htmltbl.hxx.

Referenced by Resize().

◆ m_nLeftBorderWidth

SwTwips SwHTMLTableLayout::m_nLeftBorderWidth
private

Line strength of outer border, or rather the space needed for it as calculated by Netscape.

Definition at line 201 of file htmltbl.hxx.

Referenced by GetLeftCellSpace().

◆ m_nLeftMargin

sal_uInt16 SwHTMLTableLayout::m_nLeftMargin
private

Space to left margin (from paragraph).

Definition at line 184 of file htmltbl.hxx.

◆ m_nMax

sal_uLong SwHTMLTableLayout::m_nMax
private

Maximal width of table (Twips).

Definition at line 179 of file htmltbl.hxx.

Referenced by AutoLayoutPass1(), GetMax(), and Resize().

◆ m_nMin

sal_uLong SwHTMLTableLayout::m_nMin
private

Minimal width of table (Twips).

Definition at line 178 of file htmltbl.hxx.

Referenced by AutoLayoutPass1(), GetBrowseWidthMin(), GetMin(), and Resize().

◆ m_nPass1Done

sal_uInt8 SwHTMLTableLayout::m_nPass1Done
private

Reference-values for.

Definition at line 210 of file htmltbl.hxx.

Referenced by AutoLayoutPass1().

◆ m_nRelLeftFill

sal_uInt16 SwHTMLTableLayout::m_nRelLeftFill
private

Width of boxes relative to alignment.

Definition at line 190 of file htmltbl.hxx.

◆ m_nRelRightFill

sal_uInt16 SwHTMLTableLayout::m_nRelRightFill
private

of tables in tables.

Definition at line 191 of file htmltbl.hxx.

◆ m_nRelTabWidth

sal_uInt16 SwHTMLTableLayout::m_nRelTabWidth
private

Relative width of table.

Definition at line 193 of file htmltbl.hxx.

Referenced by GetBrowseWidthMin(), and Resize().

◆ m_nRightBorderWidth

SwTwips SwHTMLTableLayout::m_nRightBorderWidth
private

Definition at line 202 of file htmltbl.hxx.

Referenced by GetLeftCellSpace(), and GetRightCellSpace().

◆ m_nRightMargin

sal_uInt16 SwHTMLTableLayout::m_nRightMargin
private

Space to left margin (from paragraph).

Definition at line 185 of file htmltbl.hxx.

◆ m_nRows

sal_uInt16 SwHTMLTableLayout::m_nRows
private

Row count.

Definition at line 181 of file htmltbl.hxx.

Referenced by AutoLayoutPass1(), and GetRowCount().

◆ m_nWidthOption

sal_uInt16 SwHTMLTableLayout::m_nWidthOption
private

Width of table (in Twips or %).

Definition at line 195 of file htmltbl.hxx.

Referenced by AutoLayoutPass1(), GetBrowseWidthMin(), and GetWidthOption().

◆ m_nWidthSet

sal_uInt8 SwHTMLTableLayout::m_nWidthSet
private

the runs through loop.

Definition at line 211 of file htmltbl.hxx.

◆ m_pSwTable

const SwTable* SwHTMLTableLayout::m_pSwTable
private

SwTable (Top-Table only).

Definition at line 176 of file htmltbl.hxx.

Referenced by GetAnyBoxStartNode(), GetBrowseWidthByTable(), and IsTopTable().


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