C# Класс LayoutFarm.HtmlBoxes.LinesFormattingEngine

Показать файл Открыть проект

Открытые методы

Метод Описание
DoLayoutLinesContext ( CssBox hostBlock, LayoutVisitor lay ) : void

do layout line formatting context

Приватные методы

Метод Описание
ApplyAlignment ( CssLineBox lineBox, CssTextAlign textAlign, LayoutVisitor lay ) : void

Applies vertical and horizontal alignment to words in lineboxes

ApplyCenterAlignment ( CssLineBox line ) : void

Applies centered alignment to the text on the linebox

ApplyJustifyAlignment ( CssLineBox lineBox ) : void
ApplyRightAlignment ( CssLineBox line ) : void

Applies right alignment to the text on the linebox

ApplyRightToLeft ( CssLineBox lineBox ) : void

Applies right to left direction to words

FlowBoxContentIntoHostLineFmtContext ( LayoutVisitor lay, CssBox hostBox, CssBox srcBox, float limitLocalRight, float firstRunStartX, CssLineBox &hostLine, float &cx, FloatFormattingContext &floatCtx ) : void

Recursively flows the content of the box using the inline model

FlowRunsIntoHost ( LayoutVisitor lay, CssBox hostBox, CssBox splitableBox, CssBox b, int childNumber, float limitRight, float firstRunStartX, float leftMostSpace, float rightMostSpace, List runs, CssLineBox &hostLine, float &cx ) : void
SetFinalInnerContentSize ( CssBox box, float innerContentW, float innerContentH, LayoutVisitor lay ) : void

Описание методов

DoLayoutLinesContext() публичный статический Метод

do layout line formatting context
public static DoLayoutLinesContext ( CssBox hostBlock, LayoutVisitor lay ) : void
hostBlock CssBox
lay LayoutVisitor
Результат void