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 bPrcWidth, 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
 
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 HasPrcWidthOption () 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 const m_nRows
 Row count. More...
 
sal_uInt16 m_nCols
 Column count. More...
 
sal_uInt16 const m_nLeftMargin
 Space to left margin (from paragraph). More...
 
sal_uInt16 const 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 const m_nCellPadding
 Space to contents (in Twips). More...
 
sal_uInt16 const m_nCellSpacing
 Cell spacing (in Twips). More...
 
sal_uInt16 const m_nBorder
 
sal_uInt16 const m_nLeftBorderWidth
 Line strength of outer border, or rather the space needed for it as calculated by Netscape. More...
 
sal_uInt16 const m_nRightBorderWidth
 
sal_uInt16 m_nInhLeftBorderWidth
 
sal_uInt16 m_nInhRightBorderWidth
 
sal_uInt16 const 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 const m_eTableAdjust
 Alignment of table. More...
 
bool const m_bColsOption: 1
 Table has a COLS-option. More...
 
bool const m_bColTags: 1
 Table has COL/COLGRP tags. More...
 
bool const m_bPrcWidthOption: 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 ( const SwTable pSwTable,
sal_uInt16  nRows,
sal_uInt16  nCols,
bool  bColsOpt,
bool  ColTgs,
sal_uInt16  nWidth,
bool  bPrcWidth,
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 150 of file htmltbl.cxx.

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

SwHTMLTableLayout::~SwHTMLTableLayout ( )

Definition at line 203 of file htmltbl.cxx.

Member Function Documentation

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 271 of file htmltbl.cxx.

References GetLeftCellSpace(), and GetRightCellSpace().

Referenced by AutoLayoutPass1().

void SwHTMLTableLayout::AutoLayoutPass1 ( )

Definition at line 440 of file htmltbl.cxx.

References AddBorderWidth(), SwHTMLTableLayoutColumn::AddToMax(), SwHTMLTableLayoutColumn::AddToMin(), AutoLayoutPass1(), SwHTMLTableLayoutColumn::ClearPass1Info(), SwNode::EndOfSectionNode(), SwHTMLTableLayoutColumn::GetAbsMinNoAlign(), GetCell(), SwHTMLTableLayoutConstraints::GetColSpan(), SwHTMLTableLayoutCell::GetColSpan(), SwHTMLTableLayoutConstraints::GetColumn(), GetColumn(), SwHTMLTableLayoutCell::GetContents(), SwNode::GetDoc(), SwTable::GetHTMLTableLayout(), SwNode::GetIndex(), SwHTMLTableLayoutColumn::GetMax(), SwHTMLTableLayoutConstraints::GetMaxNoAlign(), SwHTMLTableLayoutColumn::GetMaxNoAlign(), SwHTMLTableLayoutColumn::GetMin(), SwHTMLTableLayoutConstraints::GetMinNoAlign(), SwHTMLTableLayoutColumn::GetMinNoAlign(), SwHTMLTableLayoutCnts::GetNext(), SwHTMLTableLayoutConstraints::GetNext(), SwDoc::GetNodes(), SwHTMLTableLayoutCnts::GetStartNode(), SwHTMLTableLayoutCnts::GetTable(), SwTableNode::GetTable(), SwHTMLTableLayoutCell::GetWidthOption(), SwHTMLTableLayoutColumn::GetWidthOption(), HasColsOption(), HasColTags(), SwHTMLTableLayoutCnts::HasNoBreakTag(), SwHTMLTableLayoutCell::HasNoWrapOption(), i, SwHTMLTableLayoutConstraints::InsertNext(), SwHTMLTableLayoutCnts::IsPass1Done(), SwHTMLTableLayoutCell::IsPrcWidthOption(), SwHTMLTableLayoutColumn::IsRelWidthOption(), lcl_GetMinMaxSize(), m_bPrcWidthOption, m_nCols, m_nMax, m_nMin, m_nPass1Done, m_nRows, m_nWidthOption, max, SwHTMLTableLayoutColumn::MergeCellWidthOption(), SwHTMLTableLayoutColumn::MergeMinMaxNoAlign(), MINLAY, SwHTMLTableLayoutColumn::SetMax(), SwHTMLTableLayoutColumn::SetMinMax(), SwHTMLTableLayoutCnts::SetPass1Done(), and USHRT_MAX.

Referenced by AutoLayoutPass1(), and Resize_().

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 1055 of file htmltbl.cxx.

void SwHTMLTableLayout::BordersChanged ( sal_uInt16  nAbsAvail)

Definition at line 1764 of file htmltbl.cxx.

References m_bBordersChanged, and Resize().

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

SwHTMLTableLayout::DECL_LINK ( DelayedResize_Impl  ,
Timer ,
void   
)
private
SwFrameFormat * SwHTMLTableLayout::FindFlyFrameFormat ( ) const
private

Definition at line 405 of file htmltbl.cxx.

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

Referenced by Resize().

const SwStartNode * SwHTMLTableLayout::GetAnyBoxStartNode ( ) const
private
void SwHTMLTableLayout::GetAvail ( sal_uInt16  nCol,
sal_uInt16  nColSpan,
sal_uInt16 &  rAbsAvail,
sal_uInt16 &  rRelAvail 
) const
sal_uInt16 SwHTMLTableLayout::GetBorder ( ) const
inline

Definition at line 327 of file htmltbl.hxx.

References m_nBorder.

Referenced by SwWriteTable::SwWriteTable().

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 322 of file htmltbl.cxx.

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

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

sal_uInt16 SwHTMLTableLayout::GetBrowseWidthByTabFrame ( const SwTabFrame rTabFrame) const
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 372 of file htmltbl.cxx.

References First, GetBrowseWidth(), GetBrowseWidthByTabFrame(), SwTable::GetFrameFormat(), and m_pSwTable.

Referenced by SwHTMLImageWatcher::init(), and SetGrfFlySize().

sal_uInt16 SwHTMLTableLayout::GetBrowseWidthByVisArea ( const SwDoc rDoc)
staticprivate
long SwHTMLTableLayout::GetBrowseWidthMin ( ) const
inline

Definition at line 426 of file htmltbl.hxx.

References m_bPrcWidthOption, m_nMin, m_nRelTabWidth, and m_nWidthOption.

Referenced by SwRootFrame::ImplCalcBrowseWidth().

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

Definition at line 415 of file htmltbl.hxx.

References m_aCells, and m_nCols.

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

sal_uInt16 SwHTMLTableLayout::GetCellPadding ( ) const
inline

Definition at line 325 of file htmltbl.hxx.

References m_nCellPadding.

Referenced by SwWriteTable::SwWriteTable().

sal_uInt16 SwHTMLTableLayout::GetCellSpacing ( ) const
inline

Definition at line 326 of file htmltbl.hxx.

References m_nCellSpacing.

Referenced by SwWriteTable::SwWriteTable().

sal_uInt16 SwHTMLTableLayout::GetColCount ( ) const
inline

Definition at line 330 of file htmltbl.hxx.

References m_nCols.

Referenced by SwWriteTable::SwWriteTable().

SwHTMLTableLayoutColumn * SwHTMLTableLayout::GetColumn ( sal_uInt16  nCol) const
inline
const SwDoc* SwHTMLTableLayout::GetDoc ( ) const
inlineprivate

Definition at line 236 of file htmltbl.hxx.

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

Referenced by Resize(), and Resize_().

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.

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

sal_uLong SwHTMLTableLayout::GetMax ( ) const
inline

Definition at line 281 of file htmltbl.hxx.

References m_nMax.

Referenced by lcl_MinMaxNode().

sal_uLong SwHTMLTableLayout::GetMin ( ) const
inline

Definition at line 280 of file htmltbl.hxx.

References m_nMin.

Referenced by lcl_MinMaxNode().

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

Definition at line 329 of file htmltbl.hxx.

References m_nRows.

Referenced by SwWriteTable::SwWriteTable().

sal_uInt16 SwHTMLTableLayout::GetWidthOption ( ) const
inline

For Export.

Definition at line 322 of file htmltbl.hxx.

References m_nWidthOption.

bool SwHTMLTableLayout::HasColsOption ( ) const
inline

Definition at line 285 of file htmltbl.hxx.

References m_bColsOption.

Referenced by AutoLayoutPass1().

bool SwHTMLTableLayout::HasColTags ( ) const
inline

Definition at line 286 of file htmltbl.hxx.

References m_bColTags.

Referenced by AutoLayoutPass1().

bool SwHTMLTableLayout::HasPrcWidthOption ( ) const
inline

Definition at line 323 of file htmltbl.hxx.

References m_bPrcWidthOption.

bool SwHTMLTableLayout::HaveBordersChanged ( ) const
inline

Definition at line 335 of file htmltbl.hxx.

References m_bBordersChanged.

bool SwHTMLTableLayout::IsExportable ( ) const
inline
bool SwHTMLTableLayout::IsTopTable ( ) const
inline

Definition at line 288 of file htmltbl.hxx.

Referenced by Resize().

bool SwHTMLTableLayout::MayBeInFlyFrame ( ) const
inline

Definition at line 338 of file htmltbl.hxx.

References m_bMayBeInFlyFrame.

Referenced by GetBrowseWidthByTabFrame().

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 1694 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_bPrcWidthOption, m_nDelayedResizeAbsAvail, m_nLastResizeAbsAvail, m_nMax, m_nMin, m_nRelTabWidth, Resize_(), Timer::SetTimeout(), Timer::Start(), and Task::Stop().

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

void SwHTMLTableLayout::Resize_ ( sal_uInt16  nAbsAvail,
bool  bRecalc 
)
private
void SwHTMLTableLayout::SetBoxWidth ( SwTableBox pBox,
sal_uInt16  nCol,
sal_uInt16  nColSpan 
) const
private
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.

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

Definition at line 410 of file htmltbl.hxx.

References m_aColumns.

void SwHTMLTableLayout::SetExportable ( bool  bSet)
inline

Definition at line 332 of file htmltbl.hxx.

References m_bExportable.

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

Definition at line 431 of file htmltbl.hxx.

References m_nInhLeftBorderWidth, and m_nInhRightBorderWidth.

void SwHTMLTableLayout::SetMayBeInFlyFrame ( bool  bSet)
inline

Definition at line 337 of file htmltbl.hxx.

References m_bMayBeInFlyFrame.

void SwHTMLTableLayout::SetMustNotRecalc ( bool  bSet)
inline

Definition at line 292 of file htmltbl.hxx.

References m_bMustNotRecalc.

void SwHTMLTableLayout::SetMustNotResize ( bool  bSet)
inline

Definition at line 291 of file htmltbl.hxx.

References m_bMustNotResize.

void SwHTMLTableLayout::SetMustResize ( bool  bSet)
inline

Definition at line 290 of file htmltbl.hxx.

References m_bMustResize.

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 1553 of file htmltbl.cxx.

Referenced by Resize_().

Member Data Documentation

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

Definition at line 174 of file htmltbl.hxx.

Referenced by GetCell(), and SetCell().

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

Definition at line 173 of file htmltbl.hxx.

Referenced by GetColumn(), and SetColumn().

Timer SwHTMLTableLayout::m_aResizeTimer
private

Timer for DelayedResize.

Definition at line 171 of file htmltbl.hxx.

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

bool SwHTMLTableLayout::m_bBordersChanged
private

Borders have been changed.

Definition at line 222 of file htmltbl.hxx.

Referenced by BordersChanged(), and HaveBordersChanged().

bool const SwHTMLTableLayout::m_bColsOption
private

Table has a COLS-option.

Definition at line 215 of file htmltbl.hxx.

Referenced by HasColsOption().

bool const SwHTMLTableLayout::m_bColTags
private

Table has COL/COLGRP tags.

Definition at line 216 of file htmltbl.hxx.

Referenced by HasColTags().

bool SwHTMLTableLayout::m_bDelayedResizeRecalc
private

Param for delayed Resize.

Definition at line 225 of file htmltbl.hxx.

Referenced by IMPL_LINK_NOARG(), and Resize().

bool SwHTMLTableLayout::m_bExportable
private

Layout may be used for export.

Definition at line 221 of file htmltbl.hxx.

Referenced by IsExportable(), and SetExportable().

bool SwHTMLTableLayout::m_bMayBeInFlyFrame
private

Table could be within frame.

Definition at line 223 of file htmltbl.hxx.

Referenced by MayBeInFlyFrame(), and SetMayBeInFlyFrame().

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

bool SwHTMLTableLayout::m_bMustNotResize
private

Table may not be resized.

Definition at line 226 of file htmltbl.hxx.

Referenced by Resize(), and SetMustNotResize().

bool SwHTMLTableLayout::m_bMustResize
private

Table width must be defined.

Definition at line 220 of file htmltbl.hxx.

Referenced by Resize(), and SetMustResize().

bool const SwHTMLTableLayout::m_bPrcWidthOption
private

Width is given in percent.

Definition at line 217 of file htmltbl.hxx.

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

bool SwHTMLTableLayout::m_bUseRelWidth
private

SwTable gets relative width.

Definition at line 218 of file htmltbl.hxx.

SvxAdjust const SwHTMLTableLayout::m_eTableAdjust
private

Alignment of table.

Definition at line 213 of file htmltbl.hxx.

sal_uInt16 const SwHTMLTableLayout::m_nBorder
private

Definition at line 198 of file htmltbl.hxx.

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

sal_uInt16 const SwHTMLTableLayout::m_nBorderWidth
private

Definition at line 205 of file htmltbl.hxx.

Referenced by GetLeftCellSpace().

sal_uInt16 const SwHTMLTableLayout::m_nCellPadding
private

Space to contents (in Twips).

Definition at line 196 of file htmltbl.hxx.

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

sal_uInt16 const SwHTMLTableLayout::m_nCellSpacing
private

Cell spacing (in Twips).

Definition at line 197 of file htmltbl.hxx.

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

sal_uInt16 SwHTMLTableLayout::m_nCols
private
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().

sal_uInt16 SwHTMLTableLayout::m_nInhAbsLeftSpace
private

Space inherited from surrounding box.

Definition at line 187 of file htmltbl.hxx.

Referenced by GetInhCellSpace().

sal_uInt16 SwHTMLTableLayout::m_nInhAbsRightSpace
private

that was added to boxes.

Definition at line 188 of file htmltbl.hxx.

Referenced by GetInhCellSpace().

sal_uInt16 SwHTMLTableLayout::m_nInhLeftBorderWidth
private

Definition at line 203 of file htmltbl.hxx.

Referenced by SetInhBorderWidths().

sal_uInt16 SwHTMLTableLayout::m_nInhRightBorderWidth
private

Definition at line 204 of file htmltbl.hxx.

Referenced by SetInhBorderWidths().

sal_uInt16 SwHTMLTableLayout::m_nLastResizeAbsAvail
private

Definition at line 208 of file htmltbl.hxx.

Referenced by Resize().

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

sal_uInt16 const SwHTMLTableLayout::m_nLeftMargin
private

Space to left margin (from paragraph).

Definition at line 184 of file htmltbl.hxx.

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

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

sal_uInt8 SwHTMLTableLayout::m_nPass1Done
private

Reference-values for.

Definition at line 210 of file htmltbl.hxx.

Referenced by AutoLayoutPass1().

sal_uInt16 SwHTMLTableLayout::m_nRelLeftFill
private

Width of boxes relative to alignment.

Definition at line 190 of file htmltbl.hxx.

sal_uInt16 SwHTMLTableLayout::m_nRelRightFill
private

of tables in tables.

Definition at line 191 of file htmltbl.hxx.

sal_uInt16 SwHTMLTableLayout::m_nRelTabWidth
private

Relative width of table.

Definition at line 193 of file htmltbl.hxx.

Referenced by GetBrowseWidthMin(), and Resize().

sal_uInt16 const SwHTMLTableLayout::m_nRightBorderWidth
private

Definition at line 202 of file htmltbl.hxx.

Referenced by GetLeftCellSpace(), and GetRightCellSpace().

sal_uInt16 const SwHTMLTableLayout::m_nRightMargin
private

Space to left margin (from paragraph).

Definition at line 185 of file htmltbl.hxx.

sal_uInt16 const SwHTMLTableLayout::m_nRows
private

Row count.

Definition at line 181 of file htmltbl.hxx.

Referenced by AutoLayoutPass1(), and GetRowCount().

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

sal_uInt8 SwHTMLTableLayout::m_nWidthSet
private

the runs through loop.

Definition at line 211 of file htmltbl.hxx.

const SwTable* SwHTMLTableLayout::m_pSwTable
private

SwTable (Top-Table only).

Definition at line 176 of file htmltbl.hxx.

Referenced by GetAnyBoxStartNode(), and GetBrowseWidthByTable().


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