C# Class LayoutFarm.HtmlBoxes.CssTableLayoutEngine.TableColumnCollection

Mostra file Open project: prepare/HTML-Renderer

Public Methods

Method Description
CalculateTotalWidth ( ) : float
CountUnspecificWidthColumnAndOccupiedSpace ( int &numOfUnspecificColWidth, float &occupiedSpace ) : void
FindFirstReducibleColumnWidth ( int startAtIndex, int &foundAtIndex ) : bool
GetCellWidth ( int cIndex, int colspan, float horizontal_spacing ) : float

Gets the cells width, taking colspan and being in the specified column

GetSpannedMinWidth ( int rowCellCount, int realcolindex, int colspan ) : float

Gets the spanned width of a cell (With of all columns it spans minus one).

LowerAllColumnToMinWidth ( ) : void
S4_AddMoreWidthToColumns ( bool onlyNonspeicificWidth, float value ) : void
SetColumnWidth ( int colIndex, float width ) : void
TableColumnCollection ( int columnCount )
this ( int index ) : TableColumn

Method Details

CalculateTotalWidth() public method

public CalculateTotalWidth ( ) : float
return float

CountUnspecificWidthColumnAndOccupiedSpace() public method

public CountUnspecificWidthColumnAndOccupiedSpace ( int &numOfUnspecificColWidth, float &occupiedSpace ) : void
numOfUnspecificColWidth int
occupiedSpace float
return void

FindFirstReducibleColumnWidth() public method

public FindFirstReducibleColumnWidth ( int startAtIndex, int &foundAtIndex ) : bool
startAtIndex int
foundAtIndex int
return bool

GetCellWidth() public method

Gets the cells width, taking colspan and being in the specified column
public GetCellWidth ( int cIndex, int colspan, float horizontal_spacing ) : float
cIndex int
colspan int
horizontal_spacing float
return float

GetSpannedMinWidth() public method

Gets the spanned width of a cell (With of all columns it spans minus one).
public GetSpannedMinWidth ( int rowCellCount, int realcolindex, int colspan ) : float
rowCellCount int
realcolindex int
colspan int
return float

LowerAllColumnToMinWidth() public method

public LowerAllColumnToMinWidth ( ) : void
return void

S4_AddMoreWidthToColumns() public method

public S4_AddMoreWidthToColumns ( bool onlyNonspeicificWidth, float value ) : void
onlyNonspeicificWidth bool
value float
return void

SetColumnWidth() public method

public SetColumnWidth ( int colIndex, float width ) : void
colIndex int
width float
return void

TableColumnCollection() public method

public TableColumnCollection ( int columnCount )
columnCount int

this() public method

public this ( int index ) : TableColumn
index int
return TableColumn