| Package | Description |
|---|---|
| com.openhtmltopdf.layout | |
| com.openhtmltopdf.render | |
| com.openhtmltopdf.render.displaylist | |
| com.openhtmltopdf.render.simplepainter | |
| com.openhtmltopdf.util |
| Modifier and Type | Method and Description |
|---|---|
Layer |
Layer.findRoot() |
Layer |
LayoutContext.getLayer() |
Layer |
Layer.getParent() |
Layer |
LayoutContext.getRootDocumentLayer() |
Layer |
LayoutContext.getRootLayer() |
| Modifier and Type | Method and Description |
|---|---|
List<Layer> |
Layer.collectLayers(int which)
Called recusively to collect all descendant layers in a layer tree so
they can be painted in correct order.
|
List<Layer> |
Layer.getChildren()
The resulting list should not be modified.
|
List<Layer> |
Layer.getSortedLayers(int which) |
| Modifier and Type | Method and Description |
|---|---|
void |
Layer.addChild(Layer layer) |
void |
FloatManager.floatBox(LayoutContext c,
Layer layer,
BlockFormattingContext bfc,
BlockBox box) |
void |
LayoutContext.pushLayer(Layer layer) |
void |
LayoutContext.setRootDocumentLayer(Layer rootDocumentLayer) |
| Constructor and Description |
|---|
Layer(Layer parent,
BlockBox master,
CssContext c)
Creates a child layer.
|
| Modifier and Type | Method and Description |
|---|---|
Layer |
Box.getContainingLayer() |
Layer |
FloatedBoxData.getDrawingLayer() |
Layer |
Box.getLayer() |
Layer |
RenderingContext.getRootLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
InlineLayoutBox.addAllChildren(List<? super Box> list,
Layer layer) |
void |
LineBox.addAllChildren(List<? super Box> list,
Layer layer) |
Rectangle |
Box.getClipBox(RenderingContext c,
Layer layer)
Gets the combined clip of this box relative to the containing layer.
|
Rectangle |
Box.getParentClipBox(RenderingContext c,
Layer layer)
Gets the layer relative clip for the parent box.
|
void |
Box.setContainingLayer(Layer containingLayer) |
void |
FloatedBoxData.setDrawingLayer(Layer drawingLayer) |
void |
Box.setLayer(Layer layer) |
void |
RenderingContext.setRootLayer(Layer rootLayer) |
| Modifier and Type | Method and Description |
|---|---|
Layer |
PaintFixedLayer.getLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
PagedBoxCollector.collect(CssContext c,
Layer layer) |
void |
PagedBoxCollector.collect(CssContext c,
Layer layer,
Box container,
int shadowPageNumber)
The main box collection method.
|
void |
PagedBoxCollector.collect(CssContext c,
Layer layer,
Box container,
int pgStart,
int pgEnd,
int shadowPageNumber) |
protected void |
DisplayListCollector.collect(RenderingContext c,
Layer layer,
DisplayListContainer dlPages,
Set<DisplayListCollector.CollectFlags> flags)
The main method to create a list of paint instruction for each page.
|
void |
PagedBoxCollector.collectFloats(CssContext c,
Layer layer) |
DisplayListContainer |
DisplayListCollector.collectRoot(RenderingContext c,
Layer rootLayer)
Use this method to collect all boxes recursively into a list of paint instructions
for each page.
|
protected int |
DisplayListCollector.findEndPage(RenderingContext c,
Layer layer) |
static List<PagedBoxCollector.PageInfo> |
PagedBoxCollector.findLayerPages(CssContext c,
Layer layer,
List<PageBox> pages)
Returns the pages a layer appears on including inserted overflow pages.
|
static Rectangle |
PagedBoxCollector.findLayerRect(CssContext c,
Layer layer) |
protected int |
DisplayListCollector.findStartPage(RenderingContext c,
Layer layer) |
protected void |
DisplayListCollector.processPage(RenderingContext c,
Layer layer,
PagedBoxCollector.PageResult pg,
DisplayListContainer.DisplayListPageContainer dlPageList,
boolean includeFloats,
int pageNumber,
int shadowPageNumber)
Convert a list of boxes to a list of paint instructions for a page.
|
| Constructor and Description |
|---|
PaintFixedLayer(Layer layer) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleBoxCollector.collect(RenderingContext c,
Layer layer) |
void |
SimpleBoxCollector.collect(RenderingContext c,
Layer layer,
Box container) |
void |
SimplePainter.paintLayer(RenderingContext c,
Layer layer) |
| Modifier and Type | Method and Description |
|---|---|
static String |
LambdaUtil.layerDescription(Layer layer)
Null-safe layer description including object id, toString and master box description.
|
Copyright © 2004–2025. All rights reserved.