Uses of Class
com.openhtmltopdf.render.PageBox
Packages that use PageBox
Package
Description
-
Uses of PageBox in com.openhtmltopdf.java2d
Methods in com.openhtmltopdf.java2d with parameters of type PageBoxModifier and TypeMethodDescriptionprivate void
Java2DRenderer.paintPage
(RenderingContext c, PageBox page, DisplayListContainer.DisplayListPageContainer pageOperations) Method parameters in com.openhtmltopdf.java2d with type arguments of type PageBoxModifier and TypeMethodDescriptionprivate void
Java2DRenderer.writePageImages
(List<PageBox> pages, RenderingContext c, Rectangle2D firstPageSize) -
Uses of PageBox in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as PageBoxModifier and TypeFieldDescriptionprivate PageBox
Layer._lastRequestedPage
private PageBox
LayoutContext._page
Fields in com.openhtmltopdf.layout with type parameters of type PageBoxModifier and TypeFieldDescriptionprivate final Map
<PageBox, FootnoteManager.FootnoteArea> FootnoteManager._footnoteAreas
Layer._pages
FootnoteManager.FootnoteArea.pages
Methods in com.openhtmltopdf.layout that return PageBoxModifier and TypeMethodDescriptionstatic PageBox
Layer.createPageBox
(CssContext c, String pseudoPage) Layer.getFirstPage
(CssContext c, int absY) Returns the page box for a Y position.Layer.getFirstPage
(CssContext c, Box box) Layer.getLastPage()
Layer.getLastPage
(CssContext c, Box box) private PageBox
Layer.getLastRequestedPage()
Layer.getPage
(CssContext c, int yOffset) Gets the page box for the given document y offset.LayoutContext.getPage()
Methods in com.openhtmltopdf.layout that return types with arguments of type PageBoxModifier and TypeMethodDescriptionLayer.getPages()
Layer.getPages
(CssContext c, int top, int bottom) Tries to return a list of pages that cover top to bottom.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 PageBoxModifier and TypeMethodDescriptionprivate 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, List<BlockBox> sequences, PageBox page) Layer.getRunningBlock
(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
Method parameters in com.openhtmltopdf.layout with type arguments of type PageBoxModifier and TypeMethodDescriptionprivate SearchUtil.IntComparator
Layer.pageFinder
(List<PageBox> pages, int yOffset, 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
(List<PageBox> pages, int yOffset, Predicate<PageBox> matcher) Returns a comparator that determines if the given pageBox is a match, too late or too early.void
-
Uses of PageBox in com.openhtmltopdf.pdfboxout
Methods in com.openhtmltopdf.pdfboxout with parameters of type PageBoxModifier and TypeMethodDescriptionprivate 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 PageBoxModifier and TypeMethodDescriptionprivate int
PdfBoxRenderer.findEndPage
(RenderingContext c, Layer layer, List<PageBox> pages) Returns the end page number for a layer.private int
PdfBoxRenderer.findStartPage
(RenderingContext c, Layer layer, List<PageBox> pages) Returns the start page for a layer.private List
<PagePosition<Layer>> PdfBoxRenderer.getLayerPagePositions
(Layer layer, List<PageBox> pages, RenderingContext ctx) private void
PdfBoxRenderer.writePDF
(List<PageBox> pages, RenderingContext c, Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc) private void
PdfBoxRenderer.writePDFFast
(List<PageBox> pages, RenderingContext c, Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc) -
Uses of PageBox in com.openhtmltopdf.render
Fields in com.openhtmltopdf.render declared as PageBoxModifier and TypeFieldDescriptionprivate PageBox
ContentLimitContainer._lastPage
private PageBox
RenderingContext.page
Methods in com.openhtmltopdf.render that return PageBoxModifier and TypeMethodDescriptionprivate PageBox
ContentLimitContainer.getLastPage()
ContentLimitContainer.getPage
(LayoutContext c, int absY) RenderingContext.getPage()
Methods in com.openhtmltopdf.render with parameters of type PageBoxModifier and TypeMethodDescriptionprivate 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.PageBox.BottomLeftCorner.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) PageBox.BottomMarginArea.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) PageBox.BottomRightCorner.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) PageBox.LeftMarginArea.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) abstract Dimension
PageBox.MarginArea.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) PageBox.RightMarginArea.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) PageBox.TopLeftCorner.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) PageBox.TopMarginArea.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) PageBox.TopRightCorner.getLayoutDimension
(CssContext c, PageBox page, RectPropertySet margin) PageBox.BottomLeftCorner.getPaintingPosition
(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.BottomMarginArea.getPaintingPosition
(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.BottomRightCorner.getPaintingPosition
(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.LeftMarginArea.getPaintingPosition
(RenderingContext c, PageBox page, int additionalClearance, short mode) abstract Point
PageBox.MarginArea.getPaintingPosition
(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.RightMarginArea.getPaintingPosition
(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.TopLeftCorner.getPaintingPosition
(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.TopMarginArea.getPaintingPosition
(RenderingContext c, PageBox page, int additionalClearance, short mode) 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
Method parameters in com.openhtmltopdf.render with type arguments of type PageBoxModifier and TypeMethodDescriptionprivate int
FlowingColumnContainerBox.findPageIndex
(List<PageBox> pages, int y) -
Uses of PageBox in com.openhtmltopdf.render.displaylist
Fields in com.openhtmltopdf.render.displaylist with type parameters of type PageBoxModifier and TypeFieldDescriptionDisplayListCollector._pages
PagedBoxCollector.PageFinder.pages
PagedBoxCollector.pages
Methods in com.openhtmltopdf.render.displaylist that return PageBoxMethods in com.openhtmltopdf.render.displaylist with parameters of type PageBoxModifier and TypeMethodDescriptionstatic 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) private static void
TransformCreator.createTransform
(CssContext c, Box box, PageBox page, AffineTransform result, TransformCreator.TransformYOrigin transformYOrigin, int shadowPageNumber) page
may be null in the case thattransformYOrigin
isDOCUMENT_TOP
.private 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, Rectangle bounds, PageBox page) PagedBoxCollector.PageResult.getShadowWindowOnDocument
(PageBox page, CssContext c, int shadowPageNumber) Method parameters in com.openhtmltopdf.render.displaylist with type arguments of type PageBoxModifier and TypeMethodDescriptionstatic 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 parameters in com.openhtmltopdf.render.displaylist with type arguments of type PageBoxModifierConstructorDescriptionDisplayListCollector
(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)