-
-
-
-
-
Methods in com.openhtmltopdf.layout with parameters of type LayoutContext
| Modifier and Type |
Method |
Description |
static void |
Breaker.breakFirstLetter(LayoutContext c,
LineBreakContext context,
int avail,
CalculatedStyle style) |
|
static Breaker.BreakTextResult |
Breaker.breakText(LayoutContext c,
LineBreakContext context,
int avail,
CalculatedStyle style,
boolean tryToBreakAnywhere,
int lineWidth,
boolean forceOutput) |
|
void |
BlockFormattingContext.clear(LayoutContext c,
Box current) |
|
static void |
BoxBuilder.createChildren(LayoutContext c,
BlockBox parent) |
|
static StrutMetrics |
InlineBoxing.createDefaultStrutMetrics(LayoutContext c,
Box container) |
|
static TableBox |
BoxBuilder.createMarginTable(LayoutContext c,
PageInfo pageInfo,
MarginBoxName[] names,
int height,
int direction) |
|
static BlockBox |
BoxBuilder.createRootBox(LayoutContext c,
Document document) |
|
boolean |
Layer.crossesPageBreak(LayoutContext c,
int top,
int bottom) |
|
static LineBreakContext.LineBreakResult |
Breaker.doBreakText(LayoutContext c,
LineBreakContext context,
int avail,
CalculatedStyle style,
Breaker.TextBreakerSupplier lineBreaker) |
|
void |
Layer.finish(LayoutContext c) |
|
void |
BlockFormattingContext.floatBox(LayoutContext c,
BlockBox floated) |
|
void |
FloatManager.floatBox(LayoutContext c,
Layer layer,
BlockFormattingContext bfc,
BlockBox box) |
|
Dimension |
Layer.getPaintingDimension(LayoutContext c) |
|
static BlockBox |
BoxBuilder.getRunningBlock(LayoutContext c,
PropertyValue value) |
|
static void |
LayoutUtil.layoutAbsolute(LayoutContext c,
LineBox currentLine,
BlockBox box) |
|
static void |
BlockBoxing.layoutContent(LayoutContext c,
BlockBox block,
int contentStart) |
|
static void |
InlineBoxing.layoutContent(LayoutContext c,
BlockBox box,
int initialY,
int breakAtLine) |
|
static FloatLayoutResult |
LayoutUtil.layoutFloated(LayoutContext c,
LineBox currentLine,
BlockBox block,
int avail,
List<FloatLayoutResult> pendingFloats) |
|
void |
Layer.layoutPages(LayoutContext c) |
|
void |
Layer.positionChildren(LayoutContext c) |
|
-
Methods in com.openhtmltopdf.newtable with parameters of type LayoutContext
| Modifier and Type |
Method |
Description |
void |
TableBox.analyzePageBreaks(LayoutContext c,
ContentLimitContainer container) |
|
void |
TableRowBox.analyzePageBreaks(LayoutContext c,
ContentLimitContainer container) |
|
int |
TableCellBox.calcBaseline(LayoutContext c) |
|
int |
TableCellBox.calcBlockBaseline(LayoutContext c) |
|
void |
TableSectionBox.calcBorders(LayoutContext c) |
|
protected void |
TableBox.calcLayoutHeight(LayoutContext c,
BorderPropertySet border,
RectPropertySet margin,
RectPropertySet padding) |
|
protected void |
TableRowBox.calcLayoutHeight(LayoutContext c,
BorderPropertySet border,
RectPropertySet margin,
RectPropertySet padding) |
|
void |
TableBox.calcMinMaxWidth(LayoutContext c) |
|
int |
TableRowBox.forcePageBreakBefore(LayoutContext c,
IdentValue pageBreakValue,
boolean pendingPageName) |
|
void |
TableRowBox.initStaticPos(LayoutContext c,
BlockBox parent,
int childOffset) |
|
boolean |
TableCellBox.isPageBreaksChange(LayoutContext c,
int posDeltaY) |
|
void |
TableBox.layout(LayoutContext c) |
|
void |
TableCellBox.layout(LayoutContext c) |
|
void |
TableRowBox.layout(LayoutContext c,
int contentStart) |
|
void |
TableSectionBox.layout(LayoutContext c,
int contentStart) |
|
protected void |
TableBox.layoutChildren(LayoutContext c,
int contentStart) |
|
protected void |
TableRowBox.layoutChildren(LayoutContext c,
int contentStart) |
|
protected void |
TableSectionBox.layoutChildren(LayoutContext c,
int contentStart) |
|
void |
TableCellBox.moveContent(LayoutContext c,
int deltaY) |
|
void |
TableSectionBox.recalcCells(LayoutContext c) |
|
void |
TableBox.reset(LayoutContext c) |
|
void |
TableRowBox.reset(LayoutContext c) |
|
void |
TableSectionBox.reset(LayoutContext c) |
|
protected void |
TableBox.resolveAutoMargins(LayoutContext c,
int cssWidth,
RectPropertySet padding,
BorderPropertySet border) |
|
void |
TableCellBox.setLayoutWidth(LayoutContext c,
int width) |
|
-
Methods in com.openhtmltopdf.render with parameters of type LayoutContext
| Modifier and Type |
Method |
Description |
protected void |
BlockBox.addBoxID(LayoutContext c) |
|
void |
Box.addChildForLayout(LayoutContext c,
Box child) |
|
void |
InlineLayoutBox.addInlineChild(LayoutContext c,
Object child) |
|
void |
InlineLayoutBox.addInlineChild(LayoutContext c,
Object child,
boolean callUnmarkPending) |
|
void |
Box.analyzePageBreaks(LayoutContext c,
ContentLimitContainer container) |
|
void |
LineBox.analyzePageBreaks(LayoutContext c,
ContentLimitContainer container) |
|
int |
BlockBox.calcBaseline(LayoutContext c) |
|
BreakAtLineContext |
BlockBox.calcBreakAtLineContext(LayoutContext c) |
|
void |
BlockBox.calcDimensions(LayoutContext c) |
|
protected void |
BlockBox.calcDimensions(LayoutContext c,
int cssWidth) |
|
protected int |
BlockBox.calcInitialBreakAtLine(LayoutContext c) |
|
void |
BlockBox.calcInitialFloatedCanvasLocation(LayoutContext c) |
|
protected void |
BlockBox.calcLayoutHeight(LayoutContext c,
BorderPropertySet border,
RectPropertySet margin,
RectPropertySet padding) |
Oh oh! Up to this method height is used to track content height.
|
void |
BlockBox.calcMinMaxWidth(LayoutContext c) |
|
void |
InlineBox.calcMinMaxWidth(LayoutContext c,
int cbWidth,
boolean trimLeadingSpace) |
|
void |
InlineLayoutBox.calculateHeight(LayoutContext c) |
|
void |
InlineLayoutBox.calculateTextDecoration(LayoutContext c) |
|
boolean |
BlockBox.checkPageContext(LayoutContext c) |
|
void |
LineBox.checkPagePosition(LayoutContext c,
boolean alwaysBreak) |
|
protected void |
BlockBox.collapseMargins(LayoutContext c) |
|
void |
Box.connectChildrenToCurrentLayer(LayoutContext c) |
|
void |
InlineLayoutBox.connectChildrenToCurrentLayer(LayoutContext c) |
|
void |
BlockBox.createMarkerData(LayoutContext c) |
|
boolean |
Box.crossesPageBreak(LayoutContext c) |
|
void |
Box.detach(LayoutContext c) |
|
String |
BlockBox.dump(LayoutContext c,
String indent,
int which) |
|
abstract String |
Box.dump(LayoutContext c,
String indent,
int which) |
|
String |
InlineLayoutBox.dump(LayoutContext c,
String indent,
int which) |
|
String |
LineBox.dump(LayoutContext c,
String indent,
int which) |
|
protected void |
Box.dumpBoxes(LayoutContext c,
String indent,
List<Box> boxes,
int which,
StringBuilder result) |
|
void |
BlockBox.ensureChildren(LayoutContext c) |
|
void |
Box.forcePageBreakAfter(LayoutContext c,
IdentValue pageBreakValue) |
|
int |
Box.forcePageBreakBefore(LayoutContext c,
IdentValue pageBreakValue,
boolean pendingPageName) |
|
int |
Box.forcePageBreakBefore(LayoutContext c,
IdentValue pageBreakValue,
boolean pendingPageName,
int absY) |
|
protected int |
BlockBox.getAvailableWidth(LayoutContext c) |
|
PageBox |
ContentLimitContainer.getPage(LayoutContext c,
int absY) |
|
int |
InlineBox.getSpaceWidth(LayoutContext c) |
|
int |
InlineBox.getTrailingSpaceWidth(LayoutContext c) |
|
void |
Box.initContainingLayer(LayoutContext c) |
|
void |
BlockBox.initStaticPos(LayoutContext c,
BlockBox parent,
int childOffset) |
|
boolean |
BlockBox.isContainsInlineContent(LayoutContext c) |
|
boolean |
BlockBox.isCurrentBreakAtLineContext(LayoutContext c) |
|
boolean |
BlockBox.isNeedsKeepWithInline(LayoutContext c) |
|
boolean |
BlockBox.isPageBreakNeededBecauseOfMinHeight(LayoutContext context) |
Using the css:
-fs-page-break-min-height: 5cm;
on a block element you can force a pagebreak before this block, if not
enough space (e.g.
|
void |
AnonymousBlockBox.layout(LayoutContext c) |
|
void |
BlockBox.layout(LayoutContext c) |
|
void |
BlockBox.layout(LayoutContext c,
int contentStart) |
|
void |
FlowingColumnContainerBox.layout(LayoutContext c,
int contentStart) |
|
void |
PageBox.layout(LayoutContext c) |
|
protected void |
BlockBox.layoutChildren(LayoutContext c,
int contentStart) |
|
protected void |
BlockBox.layoutInlineChildren(LayoutContext c,
int contentStart,
int breakAtLine,
boolean tryAgain) |
|
void |
BlockBox.positionAbsoluteOnPage(LayoutContext c) |
|
protected void |
BlockBox.propagateExtraSpace(LayoutContext c,
ContentLimitContainer parentContainer,
ContentLimitContainer currentContainer,
int extraTop,
int extraBottom) |
|
void |
BlockBox.reset(LayoutContext c) |
|
void |
Box.reset(LayoutContext c) |
|
void |
LineBox.reset(LayoutContext c) |
|
protected void |
Box.resetChildren(LayoutContext c) |
|
void |
Box.resetChildren(LayoutContext c,
int start,
int end) |
|
protected void |
InlineLayoutBox.resetChildren(LayoutContext c) |
|
protected void |
BlockBox.resolveAutoMargins(LayoutContext c,
int cssWidth,
RectPropertySet padding,
BorderPropertySet border) |
|
void |
Box.restyle(LayoutContext c) |
|
void |
InlineLayoutBox.restyle(LayoutContext c) |
|
void |
LineBox.restyle(LayoutContext c) |
|
protected void |
Box.restyleChildren(LayoutContext c) |
|
protected void |
InlineLayoutBox.restyleChildren(LayoutContext c) |
|
void |
FlowingColumnContainerBox.setOnlyChild(LayoutContext c,
FlowingColumnBox child) |
|
void |
AnonymousBlockBox.styleText(LayoutContext c) |
|
void |
BlockBox.styleText(LayoutContext c) |
|
void |
BlockBox.styleText(LayoutContext c,
CalculatedStyle style) |
|
void |
InlineText.trimTrailingSpace(LayoutContext c) |
|
void |
LineBox.trimTrailingSpace(LayoutContext c) |
|
void |
InlineLayoutBox.unmarkPending(LayoutContext c) |
|
void |
ContentLimitContainer.updateBottom(LayoutContext c,
int absY) |
|
void |
ContentLimitContainer.updateTop(LayoutContext c,
int absY) |
|
-
-