C# Class LayoutFarm.HtmlBoxes.CssTableLayoutEngine.TableColumnCollection

Afficher le fichier Open project: prepare/HTML-Renderer

Méthodes publiques

Méthode 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 méthode

public CalculateTotalWidth ( ) : float
Résultat float

CountUnspecificWidthColumnAndOccupiedSpace() public méthode

public CountUnspecificWidthColumnAndOccupiedSpace ( int &numOfUnspecificColWidth, float &occupiedSpace ) : void
numOfUnspecificColWidth int
occupiedSpace float
Résultat void

FindFirstReducibleColumnWidth() public méthode

public FindFirstReducibleColumnWidth ( int startAtIndex, int &foundAtIndex ) : bool
startAtIndex int
foundAtIndex int
Résultat bool

GetCellWidth() public méthode

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
Résultat float

GetSpannedMinWidth() public méthode

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
Résultat float

LowerAllColumnToMinWidth() public méthode

public LowerAllColumnToMinWidth ( ) : void
Résultat void

S4_AddMoreWidthToColumns() public méthode

public S4_AddMoreWidthToColumns ( bool onlyNonspeicificWidth, float value ) : void
onlyNonspeicificWidth bool
value float
Résultat void

SetColumnWidth() public méthode

public SetColumnWidth ( int colIndex, float width ) : void
colIndex int
width float
Résultat void

TableColumnCollection() public méthode

public TableColumnCollection ( int columnCount )
columnCount int

this() public méthode

public this ( int index ) : TableColumn
index int
Résultat TableColumn