Uses of Class
com.openhtmltopdf.render.PageBox
-
Packages that use PageBox Package Description com.openhtmltopdf.java2d com.openhtmltopdf.layout com.openhtmltopdf.pdfboxout com.openhtmltopdf.render com.openhtmltopdf.render.displaylist -
-
Uses of PageBox in com.openhtmltopdf.java2d
Methods in com.openhtmltopdf.java2d with parameters of type PageBox Modifier and Type Method Description private void
Java2DRenderer. paintPage(RenderingContext c, PageBox page, DisplayListContainer.DisplayListPageContainer pageOperations)
Method parameters in com.openhtmltopdf.java2d with type arguments of type PageBox Modifier and Type Method Description private void
Java2DRenderer. writePageImages(java.util.List<PageBox> pages, RenderingContext c, java.awt.geom.Rectangle2D firstPageSize)
-
Uses of PageBox in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as PageBox Modifier and Type Field Description private PageBox
Layer. _lastRequestedPage
private PageBox
LayoutContext. _page
Fields in com.openhtmltopdf.layout with type parameters of type PageBox Modifier and Type Field Description private java.util.Map<PageBox,FootnoteManager.FootnoteArea>
FootnoteManager. _footnoteAreas
private java.util.List<PageBox>
Layer. _pages
(package private) java.util.List<PageBox>
FootnoteManager.FootnoteArea. pages
Methods in com.openhtmltopdf.layout that return PageBox Modifier and Type Method Description static PageBox
Layer. createPageBox(CssContext c, java.lang.String pseudoPage)
PageBox
Layer. getFirstPage(CssContext c, int absY)
Returns the page box for a Y position.PageBox
Layer. getFirstPage(CssContext c, Box box)
PageBox
Layer. getLastPage()
PageBox
Layer. getLastPage(CssContext c, Box box)
private PageBox
Layer. getLastRequestedPage()
PageBox
Layer. getPage(CssContext c, int yOffset)
Gets the page box for the given document y offset.PageBox
LayoutContext. getPage()
Methods in com.openhtmltopdf.layout that return types with arguments of type PageBox Modifier and Type Method Description java.util.List<PageBox>
Layer. getPages()
java.util.List<PageBox>
Layer. getPages(CssContext c, int top, int bottom)
Tries to return a list of pages that cover top to bottom.private java.util.function.Predicate<PageBox>
Layer. pagePredicate(int yOffset)
Returns a predicate that determines if yOffset sits on the given page.Methods in com.openhtmltopdf.layout with parameters of type PageBox Modifier and Type Method Description private FootnoteManager.FootnoteArea
FootnoteManager. createFootnoteArea(LayoutContext c, PageBox page)
private BlockBox
FootnoteManager. createFootnoteAreaBlock(LayoutContext c, PageBox footnoteCallPage)
Sets up the footnote area.private int
Layer. getPageSequenceStart(RenderingContext c, java.util.List<BlockBox> sequences, PageBox page)
BlockBox
Layer. getRunningBlock(java.lang.String identifer, PageBox page, PageElementPosition which)
boolean
Layer. isLastPage(PageBox pageBox)
private void
FootnoteManager. positionFootnoteArea(LayoutContext c, FootnoteManager.FootnoteArea area, PageBox firstPage, int lineHeight, boolean allowRepeat)
private void
Layer. setLastRequestedPage(PageBox lastRequestedPage)
void
LayoutContext. setPage(PageBox page)
Method parameters in com.openhtmltopdf.layout with type arguments of type PageBox Modifier and Type Method Description private SearchUtil.IntComparator
Layer. pageFinder(java.util.List<PageBox> pages, int yOffset, java.util.function.Predicate<PageBox> matcher)
Returns a comparator that determines if the given pageBox is a match, too late or too early.private SearchUtil.IntComparator
Layer. pageFinder(java.util.List<PageBox> pages, int yOffset, java.util.function.Predicate<PageBox> matcher)
Returns a comparator that determines if the given pageBox is a match, too late or too early.void
Layer. setPages(java.util.List<PageBox> pages)
-
Uses of PageBox in com.openhtmltopdf.pdfboxout
Methods in com.openhtmltopdf.pdfboxout with parameters of type PageBox Modifier and Type Method Description private void
PdfBoxRenderer. paintPage(RenderingContext c, PageBox page)
private void
PdfBoxRenderer. paintPageFast(RenderingContext c, PageBox page, DisplayListContainer.DisplayListPageContainer pageOperations, int additionalTranslateX)
Method parameters in com.openhtmltopdf.pdfboxout with type arguments of type PageBox Modifier and Type Method Description private int
PdfBoxRenderer. findEndPage(RenderingContext c, Layer layer, java.util.List<PageBox> pages)
Returns the end page number for a layer.private int
PdfBoxRenderer. findStartPage(RenderingContext c, Layer layer, java.util.List<PageBox> pages)
Returns the start page for a layer.private java.util.List<PagePosition<Layer>>
PdfBoxRenderer. getLayerPagePositions(Layer layer, java.util.List<PageBox> pages, RenderingContext ctx)
private void
PdfBoxRenderer. writePDF(java.util.List<PageBox> pages, RenderingContext c, java.awt.geom.Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc)
private void
PdfBoxRenderer. writePDFFast(java.util.List<PageBox> pages, RenderingContext c, java.awt.geom.Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc)
-
Uses of PageBox in com.openhtmltopdf.render
Fields in com.openhtmltopdf.render declared as PageBox Modifier and Type Field Description private PageBox
ContentLimitContainer. _lastPage
private PageBox
RenderingContext. page
Methods in com.openhtmltopdf.render that return PageBox Modifier and Type Method Description private PageBox
ContentLimitContainer. getLastPage()
PageBox
ContentLimitContainer. getPage(LayoutContext c, int absY)
PageBox
RenderingContext. getPage()
Methods in com.openhtmltopdf.render with parameters of type PageBox Modifier and Type Method Description private void
LineBox. checkFootnoteReservedPage(LayoutContext c, PageBox pageBoxAfter, boolean runHooks)
Checks that the line box is not on a footnote reserved page and if so pushes it down to the first non-reserved page.java.awt.Dimension
PageBox.BottomLeftCorner. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
java.awt.Dimension
PageBox.BottomMarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
java.awt.Dimension
PageBox.BottomRightCorner. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
java.awt.Dimension
PageBox.LeftMarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
abstract java.awt.Dimension
PageBox.MarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
java.awt.Dimension
PageBox.RightMarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
java.awt.Dimension
PageBox.TopLeftCorner. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
java.awt.Dimension
PageBox.TopMarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
java.awt.Dimension
PageBox.TopRightCorner. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
java.awt.Point
PageBox.BottomLeftCorner. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.BottomMarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.BottomRightCorner. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.LeftMarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
abstract java.awt.Point
PageBox.MarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.RightMarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.TopLeftCorner. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.TopMarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.TopRightCorner. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
private static boolean
ListItemPainter. isInVisiblePageArea(RenderingContext c, PageBox page, StrutMetrics metrics, BlockBox box)
The list item box may go over two pages.private boolean
LineBox. overlapsFootnote(PageBox pageBox)
private void
ContentLimitContainer. setLastPage(PageBox page)
void
RenderingContext. setPage(int pageNo, PageBox page)
Method parameters in com.openhtmltopdf.render with type arguments of type PageBox Modifier and Type Method Description private int
FlowingColumnContainerBox. findPageIndex(java.util.List<PageBox> pages, int y)
-
Uses of PageBox in com.openhtmltopdf.render.displaylist
Fields in com.openhtmltopdf.render.displaylist with type parameters of type PageBox Modifier and Type Field Description private java.util.List<PageBox>
DisplayListCollector. _pages
private java.util.List<PageBox>
PagedBoxCollector.PageFinder. pages
private java.util.List<PageBox>
PagedBoxCollector. pages
Methods in com.openhtmltopdf.render.displaylist that return PageBox Modifier and Type Method Description protected PageBox
PagedBoxCollector. getPageBox(int pageNo)
Methods in com.openhtmltopdf.render.displaylist with parameters of type PageBox Modifier and Type Method Description static java.awt.geom.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 java.awt.geom.AffineTransform
TransformCreator. createPageMarginCoordinatesTransform(RenderingContext c, Box box, PageBox page, int xTranslate, int yTranslate)
private static void
TransformCreator. createTransform(CssContext c, Box box, PageBox page, java.awt.geom.AffineTransform result, TransformCreator.TransformYOrigin transformYOrigin, int shadowPageNumber)
page
may be null in the case thattransformYOrigin
isDOCUMENT_TOP
.private java.awt.Rectangle
PagedBoxCollector.PageResult. getContentWindowOnDocument(PageBox page, CssContext c)
private static float
TransformCreator. getPageTranslateX(float absTranslateX, int shadowPageNumber, PageBox page, CssContext c, Box box)
static int
PagedBoxCollector. getShadowPageForBounds(CssContext c, java.awt.Rectangle bounds, PageBox page)
java.awt.Rectangle
PagedBoxCollector.PageResult. getShadowWindowOnDocument(PageBox page, CssContext c, int shadowPageNumber)
Method parameters in com.openhtmltopdf.render.displaylist with type arguments of type PageBox Modifier and Type Method Description static java.awt.Rectangle
PagedBoxCollector. findAdjustedBoundsForBorderBox(CssContext c, Box container, java.util.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, java.util.List<PageBox> pages)
static java.util.List<PagedBoxCollector.PageInfo>
PagedBoxCollector. findLayerPages(CssContext c, Layer layer, java.util.List<PageBox> pages)
Returns the pages a layer appears on including inserted overflow pages.static int
PagedBoxCollector. findPageForY(CssContext c, double y, java.util.List<PageBox> pages)
static int
PagedBoxCollector. findStartPage(CssContext c, Box container, java.util.List<PageBox> pages)
Constructor parameters in com.openhtmltopdf.render.displaylist with type arguments of type PageBox Constructor Description DisplayListCollector(java.util.List<PageBox> pages)
PagedBoxCollector(java.util.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(java.util.List<PageBox> pages)
-