| Package | Description |
|---|---|
| com.openhtmltopdf.layout | |
| com.openhtmltopdf.render | |
| com.openhtmltopdf.render.displaylist |
| Modifier and Type | Method and Description |
|---|---|
static PageBox |
Layer.createPageBox(CssContext c,
String pseudoPage) |
PageBox |
Layer.getFirstPage(CssContext c,
Box box) |
PageBox |
Layer.getFirstPage(CssContext c,
int absY)
Returns the page box for a Y position.
|
PageBox |
Layer.getLastPage() |
PageBox |
Layer.getLastPage(CssContext c,
Box box) |
PageBox |
LayoutContext.getPage() |
PageBox |
Layer.getPage(CssContext c,
int yOffset)
Gets the page box for the given document y offset.
|
PageBox |
Layer.getPage(CssContext c,
int yOffset,
boolean addPages)
Differs from
Layer.getPage(CssContext, int) by allowing the caller to
control whether a yOffset past the last page will add pages or just
return null. |
| Modifier and Type | Method and Description |
|---|---|
List<PageBox> |
Layer.getPages() |
List<PageBox> |
Layer.getPages(CssContext c,
int top,
int bottom)
Tries to return a list of pages that cover top to bottom.
|
| Modifier and Type | Method and Description |
|---|---|
BlockBox |
Layer.getRunningBlock(String identifer,
PageBox page,
PageElementPosition which) |
boolean |
Layer.isLastPage(PageBox pageBox) |
void |
LayoutContext.setPage(PageBox page) |
| Modifier and Type | Method and Description |
|---|---|
void |
Layer.setPages(List<PageBox> pages) |
| Modifier and Type | Method and Description |
|---|---|
PageBox |
RenderingContext.getPage() |
PageBox |
ContentLimitContainer.getPage(LayoutContext c,
int absY) |
| Modifier and Type | Method and Description |
|---|---|
void |
RenderingContext.setPage(int pageNo,
PageBox page) |
| Modifier and Type | Method and Description |
|---|---|
protected PageBox |
PagedBoxCollector.getPageBox(int pageNo) |
| Modifier and Type | Method and Description |
|---|---|
static AffineTransform |
TransformCreator.createPageCoordinatesTranform(RenderingContext c,
Box box,
PageBox page,
int shadowPageNumber)
Creates a transform that can be applied to a page, either PDF or Java2D.
|
static AffineTransform |
TransformCreator.createPageMarginCoordinatesTransform(RenderingContext c,
Box box,
PageBox page,
int xTranslate,
int yTranslate) |
static int |
PagedBoxCollector.getShadowPageForBounds(CssContext c,
Rectangle bounds,
PageBox page) |
Rectangle |
PagedBoxCollector.PageResult.getShadowWindowOnDocument(PageBox page,
CssContext c,
int shadowPageNumber) |
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
PagedBoxCollector.findAdjustedBoundsForBorderBox(CssContext c,
Box container,
List<PageBox> pages)
Finds the document coordinates border box bounds of a box adjusted for transform and clipped according to overflow hidden.
|
static int |
PagedBoxCollector.findEndPage(CssContext c,
Box container,
List<PageBox> pages) |
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 int |
PagedBoxCollector.findPageForY(CssContext c,
double y,
List<PageBox> pages) |
static int |
PagedBoxCollector.findStartPage(CssContext c,
Box container,
List<PageBox> pages) |
| Constructor and Description |
|---|
DisplayListCollector(List<PageBox> pages) |
PagedBoxCollector(List<PageBox> pages,
int minPage,
int maxPage)
A more efficient paged box collector that can only find boxes on pages minPage to
maxPage inclusive.
|
PageFinder(List<PageBox> pages) |
Copyright © 2004–2025. All rights reserved.