Uses of Class
com.openhtmltopdf.layout.Layer
Packages that use Layer
Package
Description
-
Uses of Layer in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as LayerModifier and TypeFieldDescriptionprivate LayerLayer._parentprivate LayerLayoutContext._rootDocumentLayerprivate LayerLayoutContext._rootLayerFields in com.openhtmltopdf.layout with type parameters of type LayerMethods in com.openhtmltopdf.layout that return LayerModifier and TypeMethodDescriptionLayer.findRoot()LayoutContext.getLayer()Layer.getParent()LayoutContext.getRootDocumentLayer()LayoutContext.getRootLayer()Methods in com.openhtmltopdf.layout that return types with arguments of type LayerModifier and TypeMethodDescriptionLayer.collectLayers(int which) Called recusively to collect all descendant layers in a layer tree so they can be painted in correct order.Layer.getChildren()The resulting list should not be modified.Layer.getSortedLayers(int which) Layer.getStackingContextLayers(int which) Methods in com.openhtmltopdf.layout with parameters of type LayerModifier and TypeMethodDescriptionvoidvoidBoxCollector.collect(CssContext c, Shape clip, Layer layer, Box container, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) voidBoxCollector.collect(CssContext c, Shape clip, Layer layer, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) private voidBoxCollector.collectInlineLayer(CssContext c, Shape clip, Layer layer, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) voidFloatManager.floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, BlockBox box) private voidLayer.layoutAbsoluteChild(LayoutContext c, Layer child) voidprivate voidprivate voidFloatManager.save(BlockBox current, Layer layer, BlockFormattingContext bfc, FloatManager.FloatDirection direction) voidLayoutContext.setRootDocumentLayer(Layer rootDocumentLayer) Method parameters in com.openhtmltopdf.layout with type arguments of type LayerModifier and TypeMethodDescriptionprivate BoxLayer.find(CssContext cssCtx, int absX, int absY, List<Layer> layers, boolean findAnonymous) Deprecated.private static voidInlineBoxing.finishPendingInlineLayers(LayoutContext c, List<Layer> layers) private voidLayer.paintLayers(RenderingContext c, List<Layer> layers) Deprecated.Constructors in com.openhtmltopdf.layout with parameters of type LayerModifierConstructorDescriptionLayer(Layer parent, Box master, CssContext c) Creates a child layer. -
Uses of Layer in com.openhtmltopdf.pdfboxout
Methods in com.openhtmltopdf.pdfboxout that return types with arguments of type LayerModifier and TypeMethodDescriptionprivate List<PagePosition<Layer>> PdfBoxRenderer.getLayerPagePositions(Layer layer, List<PageBox> pages, RenderingContext ctx) PdfBoxRenderer.getLayerPositions(Layer layer) Returns a list of page positions for a single layer.PdfBoxRenderer.getLayersPositions()Returns a list of page positions for all layers in the document.Methods in com.openhtmltopdf.pdfboxout with parameters of type LayerModifier and TypeMethodDescriptionprivate intPdfBoxRenderer.findEndPage(RenderingContext c, Layer layer, List<PageBox> pages) Returns the end page number for a layer.private intPdfBoxRenderer.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) PdfBoxRenderer.getLayerPositions(Layer layer) Returns a list of page positions for a single layer. -
Uses of Layer in com.openhtmltopdf.render
Fields in com.openhtmltopdf.render declared as LayerModifier and TypeFieldDescriptionprivate LayerBox._containingLayerprivate LayerFloatedBoxData._drawingLayerprivate LayerBox._layerprivate LayerRenderingContext.rootLayerMethods in com.openhtmltopdf.render that return LayerModifier and TypeMethodDescriptionBox.getContainingLayer()FloatedBoxData.getDrawingLayer()Box.getLayer()RenderingContext.getRootLayer()Methods in com.openhtmltopdf.render with parameters of type LayerModifier and TypeMethodDescriptionvoidInlineLayoutBox.addAllChildren(List<? super Box> list, Layer layer) voidLineBox.addAllChildren(List<? super Box> list, Layer layer) private RectangleBox.calcClipBox(RenderingContext c, Layer layer) Box.getClipBox(RenderingContext c, Layer layer) Gets the combined clip of this box relative to the containing layer.Box.getParentClipBox(RenderingContext c, Layer layer) Gets the layer relative clip for the parent box.voidBox.setContainingLayer(Layer containingLayer) voidFloatedBoxData.setDrawingLayer(Layer drawingLayer) voidvoidRenderingContext.setRootLayer(Layer rootLayer) -
Uses of Layer in com.openhtmltopdf.render.displaylist
Fields in com.openhtmltopdf.render.displaylist declared as LayerMethods in com.openhtmltopdf.render.displaylist that return LayerMethods in com.openhtmltopdf.render.displaylist with parameters of type LayerModifier and TypeMethodDescriptionbooleanPagedBoxCollector.AddBlockToShadowPage.add(PagedBoxCollector collector, PagedBoxCollector.PageResult shadowPageResult, Box container, Shape clip, Layer layer) booleanPagedBoxCollector.AddFloatToShadowPage.add(PagedBoxCollector collector, PagedBoxCollector.PageResult shadowPageResult, Box container, Shape clip, Layer layer) booleanPagedBoxCollector.AddInlineToShadowPage.add(PagedBoxCollector collector, PagedBoxCollector.PageResult shadowPageResult, Box container, Shape clip, Layer layer) booleanPagedBoxCollector.AddToShadowPage.add(PagedBoxCollector collector, PagedBoxCollector.PageResult shadowPageResult, Box container, Shape clip, Layer layer) private voidPagedBoxCollector.addBlockToAll(CssContext c, Layer layer, Box container, int pgStart, int pgEnd, Shape ourClip, List<PagedBoxCollector.PageResult> clipPages, boolean includeShadowPages) private voidPagedBoxCollector.addBlockToShadowPage(CssContext c, Layer layer, Box container, int pgStart, int pgEnd, Shape ourClip, List<PagedBoxCollector.PageResult> clipPages, int shadowPageNumber) private voidPagedBoxCollector.addBoxToShadowPages(CssContext c, Box container, int pageNumber, PagedBoxCollector.PageResult pageResult, Shape ourClip, List<PagedBoxCollector.PageResult> clipPages, Layer layer, PagedBoxCollector.AddToShadowPage addToMethod) Adds box to inserted shadow pages as needed.private voidPagedBoxCollector.addLineBoxToAll(CssContext c, Layer layer, LineBox container, int basePageNumber, boolean includeShadowPages) Adds a line box to the base page if needed and any shadow pages as needed.private voidPagedBoxCollector.addLineBoxToShadowPage(CssContext c, Layer layer, LineBox container, int basePageNumber, int shadowPageNumber) private voidPagedBoxCollector.addTableHeaderFooter(CssContext c, Layer layer, Box container, int shadowPageNumber) protected voidDisplayListCollector.collect(RenderingContext c, Layer layer, DisplayListContainer dlPages, Set<DisplayListCollector.CollectFlags> flags) The main method to create a list of paint instruction for each page.voidPagedBoxCollector.collect(CssContext c, Layer layer) voidPagedBoxCollector.collect(CssContext c, Layer layer, Box container, int shadowPageNumber) The main box collection method.voidPagedBoxCollector.collect(CssContext c, Layer layer, Box container, int pgStart, int pgEnd, int shadowPageNumber) private voidDisplayListCollector.collectFloatAsLayer(RenderingContext c, Layer layer, BlockBox floater, DisplayListContainer.DisplayListPageContainer pageInstructions, int pageNumber, int shadowPageNumber) This method can be reached by two code paths:collectRoot -: collect -: processPage -: collectFloatAsLayer -: processPage collectRoot -: collect -: processShadowPages -: foreach(shadowPage) -: processPage -: collectFloatAsLayer -: processPageTherefore, it is important to be careful when expecting a base page or shadow page.voidPagedBoxCollector.collectFloats(CssContext c, Layer layer) private voidPagedBoxCollector.collectInline(CssContext c, Layer layer) private voidDisplayListCollector.collectLayerBackgroundAndBorder(RenderingContext c, Layer layer, DisplayListContainer dlPages, int pgStart, int pgEnd) private voidDisplayListCollector.collectReplacedElementLayer(RenderingContext c, Layer layer, DisplayListContainer dlPages, int pgStart, int pgEnd) DisplayListCollector.collectRoot(RenderingContext c, Layer rootLayer) Use this method to collect all boxes recursively into a list of paint instructions for each page.protected intDisplayListCollector.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 RectanglePagedBoxCollector.findLayerRect(CssContext c, Layer layer) protected intDisplayListCollector.findStartPage(RenderingContext c, Layer layer) private voidDisplayListPainter.paintFixed(RenderingContext c, Layer layer) protected voidDisplayListCollector.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.private voidDisplayListCollector.processShadowPages(RenderingContext c, Layer layer, int pageNumber, PagedBoxCollector.PageResult pg, DisplayListContainer.DisplayListPageContainer dlPageList, boolean includeFloats) If we have cut-off boxes we have to process them as separate pages.Method parameters in com.openhtmltopdf.render.displaylist with type arguments of type LayerModifier and TypeMethodDescriptionprivate voidDisplayListCollector.collectLayers(RenderingContext c, List<Layer> layers, DisplayListContainer dlPages, Set<DisplayListCollector.CollectFlags> flags) Constructors in com.openhtmltopdf.render.displaylist with parameters of type Layer -
Uses of Layer in com.openhtmltopdf.render.simplepainter
Methods in com.openhtmltopdf.render.simplepainter with parameters of type LayerModifier and TypeMethodDescriptionprivate booleanSimpleBoxCollector.addBlockToLists(RenderingContext c, Layer layer, Box container, Shape ourClip) Adds block box to appropriate flat box lists.private voidSimpleBoxCollector.addLineBox(RenderingContext c, Layer layer, LineBox container) voidSimpleBoxCollector.collect(RenderingContext c, Layer layer) voidSimpleBoxCollector.collect(RenderingContext c, Layer layer, Box container) private voidSimpleBoxCollector.collectInline(RenderingContext c, Layer layer) voidSimplePainter.paintLayer(RenderingContext c, Layer layer) Method parameters in com.openhtmltopdf.render.simplepainter with type arguments of type LayerModifier and TypeMethodDescriptionprivate voidSimplePainter.paintLayers(RenderingContext c, List<Layer> layers) -
Uses of Layer in com.openhtmltopdf.util
Methods in com.openhtmltopdf.util with parameters of type LayerModifier and TypeMethodDescriptionstatic StringLambdaUtil.layerDescription(Layer layer) Null-safe layer description including object id, toString and master box description.