Uses of Class
com.openhtmltopdf.render.BlockBox
Packages that use BlockBox
Package
Description
-
Uses of BlockBox in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type BlockBoxModifier and TypeMethodDescriptionReplacedElementFactory.createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) NOTE: Only block equivalent elements can be replaced.voidOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) -
Uses of BlockBox in com.openhtmltopdf.java2d
Fields in com.openhtmltopdf.java2d declared as BlockBoxMethods in com.openhtmltopdf.java2d with parameters of type BlockBoxModifier and TypeMethodDescriptionJava2DReplacedElementFactory.createReplacedElement(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) voidJava2DOutputDevice.finish(RenderingContext c, BlockBox _root) voidJava2DOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) void -
Uses of BlockBox in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as BlockBoxModifier and TypeFieldDescriptionprivate final BlockBoxBreakAtLineContext._blockprivate BlockBoxFloatLayoutResult._blockprivate BlockBoxBoxRangeData._boxprivate final BlockBoxFloatManager.BoxDistance._boxprivate final BlockBoxFloatManager.BoxOffset._box(package private) BlockBoxFootnoteManager.FootnoteArea.footnoteAreaFields in com.openhtmltopdf.layout with type parameters of type BlockBoxModifier and TypeFieldDescriptionprivate final Map<BlockBox, FootnoteManager.FootnoteArea> FootnoteManager._containerMapLayer._floatsLayer._pageSequencesLayer._runningBlocksLayer._sortedPageSequencesMethods in com.openhtmltopdf.layout that return BlockBoxModifier and TypeMethodDescriptionprivate static BlockBoxBoxBuilder.createBlockBox(CalculatedStyle style, BoxBuilder.ChildBoxInfo info, boolean generated) private BlockBoxFootnoteManager.createFootnoteAreaBlock(LayoutContext c, PageBox footnoteCallPage) Sets up the footnote area.private static BlockBoxBoxBuilder.createFootnoteBody(LayoutContext c, Element element, CalculatedStyle style) Creates the footnote body to put at the bottom of the page inside a page's footnote area.static BlockBoxBoxBuilder.createRootBox(LayoutContext c, Document document) private BlockBoxLayer.findPageSequence(List<BlockBox> sequences, int absY) BreakAtLineContext.getBlock()FloatLayoutResult.getBlock()BoxRangeData.getBox()(package private) BlockBoxFloatManager.BoxDistance.getBox()FloatManager.BoxOffset.getBox()static BlockBoxBoxBuilder.getRunningBlock(LayoutContext c, PropertyValue value) Layer.getRunningBlock(String identifer, PageBox page, PageElementPosition which) private static BlockBoxBoxBuilder.reorderTableContent(LayoutContext c, TableBox table) Reorganizes a table so that the header is the first row group and the footer the last.Methods in com.openhtmltopdf.layout that return types with arguments of type BlockBoxMethods in com.openhtmltopdf.layout with parameters of type BlockBoxModifier and TypeMethodDescriptionvoidLayer.addFloat(BlockBox floater, BlockFormattingContext bfc) voidFootnoteManager.addFootnoteBody(LayoutContext c, BlockBox footnoteBody, LineBox line) Adds a footnote body to the line box page, creating the footnote area as required.voidLayer.addPageSequence(BlockBox start) voidLayer.addRunningBlock(BlockBox block) private voidFloatManager.alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, FloatManager.FloatDirection direction) private voidFloatManager.alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, FloatManager.FloatDirection direction) static booleanBlockBoxing.avoidPageBreakBetween(BlockBox previous, BlockBox current) If we should try to avoid a page break between two block boxes.(package private) abstract voidBlockBoxing.AbstractRelayoutDataList.configureRun(int boxIndex, BlockBox previous, BlockBox current) voidBlockBoxing.LiteRelayoutDataList.configureRun(int offset, BlockBox previous, BlockBox current) Marks two consecutive block boxes as being in a run of boxes where a page break should not occur between them as set in thepage-break-afterandpage-break-beforeCSS properties.private static voidBoxBuilder.createAnonymousTableContent(LayoutContext c, BlockBox source, IdentValue next, List<Styleable> childrenForAnonymous, List<Styleable> childrenWithAnonymous) static voidBoxBuilder.createChildren(LayoutContext c, BlockBox parent) private static voidBoxBuilder.createChildren(LayoutContext c, BlockBox blockParent, Element parent, List<Styleable> children, BoxBuilder.ChildBoxInfo info, boolean inline) private static voidBoxBuilder.createElementChild(LayoutContext c, Element parent, BlockBox blockParent, Node working, List<Styleable> children, BoxBuilder.ChildBoxInfo info, BoxBuilder.CreateChildrenContext context) private booleanFloatManager.fitsInContainingBlock(BlockBox current) voidBlockFormattingContext.floatBox(LayoutContext c, BlockBox floated) voidFloatManager.floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, BlockBox box) private PointFloatManager.getOffset(BlockBox floater, Stream<FloatManager.BoxOffset> floats) private static booleanInlineBoxing.isAlwaysBreak(LayoutContext c, BlockBox parent, int breakAtLine, int lineOffset) private static booleanBlockBoxing.isPageBreakBetweenChildBoxes(BlockBoxing.AbstractRelayoutDataList relayoutDataList, int runStart, int runEnd, LayoutContext c, BlockBox block) private static booleanBoxBuilder.isParentInline(BlockBox box) static voidLayoutUtil.layoutAbsolute(LayoutContext c, LineBox currentLine, BlockBox box) private static voidBlockBoxing.layoutBlockChild(LayoutContext c, BlockBox parent, BlockBox child, boolean needPageClear, int childOffset, int trimmedPageCount, LayoutState layoutState) private static voidBlockBoxing.layoutBlockChild0(LayoutContext c, BlockBox parent, BlockBox child, boolean needPageClear, int childOffset, int trimmedPageCount) static voidBlockBoxing.layoutContent(LayoutContext c, BlockBox block, int contentStart) static voidInlineBoxing.layoutContent(LayoutContext c, BlockBox box, int initialY, int breakAtLine) static FloatLayoutResultLayoutUtil.layoutFloated(LayoutContext c, LineBox currentLine, BlockBox block, int avail, List<FloatLayoutResult> pendingFloats) private static voidInlineBoxing.layoutInlineBlockContent(LayoutContext c, BlockBox containingBlock, BlockBox inlineBlock, int initialY) private voidFloatManager.moveAllTheWayOver(BlockBox current, FloatManager.FloatDirection direction) private booleanFloatManager.overlaps(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, List<FloatManager.BoxOffset> floats) voidLayer.paintAsLayer(RenderingContext c, BlockBox startingPoint) Deprecated.private voidLayer.paintReplacedElement(RenderingContext c, BlockBox replaced) Deprecated.private voidFloatManager.position(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, FloatManager.FloatDirection direction) private static voidLayoutUtil.positionFloatOnPage(LayoutContext c, LineBox currentLine, BlockBox block, boolean movedVertically) private static voidInlineBoxing.positionInlineBlockVertically(LayoutContext c, VerticalAlignContext vaContext, BlockBox inlineBlock) private static intInlineBoxing.processOutOfFlowContent(LayoutContext c, LineBox current, BlockBox block, int available, List<FloatLayoutResult> pendingFloats) private static IntegerBlockBoxing.processPageBreakAvoidRun(LayoutContext c, BlockBox block, List<Box> localChildren, int offset, BlockBoxing.AbstractRelayoutDataList relayoutDataList, BlockBox childBox) private static intBlockBoxing.relayoutRun(LayoutContext c, List<Box> localChildren, BlockBox block, BlockBoxing.AbstractRelayoutDataList relayoutDataList, int start, int end, boolean onNewPage) voidFloatManager.removeFloat(BlockBox floater) private voidFloatManager.removeFloat(BlockBox floater, List<FloatManager.BoxOffset> floats) voidLayer.removeFloat(BlockBox floater) FIXME: Only used when we reset a box, so trying to remove at sometime in the future.voidLayer.removeRunningBlock(BlockBox block) private static voidBlockBoxing.repositionBox(LayoutContext c, BlockBox child, int trimmedPageCount) private static voidLayoutUtil.resetAndFloatBlock(LayoutContext c, LineBox currentLine, BlockBox block) private static voidBoxBuilder.resolveChildren(LayoutContext c, BlockBox owner, List<Styleable> children, BoxBuilder.ChildBoxInfo info) private static voidBoxBuilder.resolveChildTableContent(LayoutContext c, BlockBox parent, List<Styleable> children, BoxBuilder.ChildBoxInfo info, IdentValue target) Handles the situation when we find table content, but our parent is not table related.private static voidBoxBuilder.resolveTableContent(LayoutContext c, BlockBox parent, List<Styleable> children, BoxBuilder.ChildBoxInfo info) Handles the situation when our current parent is table related.private voidFloatManager.save(BlockBox current, Layer layer, BlockFormattingContext bfc, FloatManager.FloatDirection direction) private static voidInlineBoxing.saveLine(LineBox current, LayoutContext c, BlockBox block, int minHeight, int maxAvailableWidth, List<FloatLayoutResult> pendingFloats, boolean hasFirstLinePCs, List<Layer> pendingInlineLayers, MarkerData markerData, int contentStart, boolean alwaysBreak) voidvoidprivate static voidInlineBoxing.startInlineBlock(LayoutContext c, BlockBox box, int initialY, int breakAtLine, byte blockLayoutDirection, InlineBoxing.SpaceVariables space, InlineBoxing.StateVariables current, InlineBoxing.StateVariables previous, int contentStart, List<InlineBox> openInlineBoxes, Map<InlineBox, InlineLayoutBox> iBMap, int minimumLineHeight, MarkerData markerData, List<FloatLayoutResult> pendingFloats, boolean hasFirstLinePEs, List<Layer> pendingInlineLayers, int lineOffset, BlockBox child) private static voidInlineBoxing.startNewInlineLine(LayoutContext c, BlockBox box, int breakAtLine, byte blockLayoutDirection, InlineBoxing.SpaceVariables space, InlineBoxing.StateVariables current, InlineBoxing.StateVariables previous, int contentStart, List<InlineBox> openInlineBoxes, Map<InlineBox, InlineLayoutBox> iBMap, int minimumLineHeight, MarkerData markerData, List<FloatLayoutResult> pendingFloats, boolean hasFirstLinePEs, List<Layer> pendingInlineLayers, int lineOffset, InlineBox inlineBox, LineBreakContext lbContext) Method parameters in com.openhtmltopdf.layout with type arguments of type BlockBoxModifier and TypeMethodDescriptionprivate BlockBoxLayer.findPageSequence(List<BlockBox> sequences, int absY) private intLayer.getPageSequenceStart(RenderingContext c, List<BlockBox> sequences, PageBox page) voidFootnoteManager.removeFootnoteBodies(LayoutContext c, List<BlockBox> footnoteBodies, LineBox line) Removes footnotes.Constructors in com.openhtmltopdf.layout with parameters of type BlockBoxModifierConstructorDescriptionBlockFormattingContext(BlockBox block, LayoutContext c) BoxDistance(BlockBox box, int distance) BoxRangeData(BlockBox box, BoxRange range) BreakAtLineContext(BlockBox block, int line) PersistentBFC(BlockBox master, LayoutContext c) -
Uses of BlockBox in com.openhtmltopdf.newtable
Subclasses of BlockBox in com.openhtmltopdf.newtableModifier and TypeClassDescriptionclassclassclassclassMethods in com.openhtmltopdf.newtable that return BlockBoxModifier and TypeMethodDescriptionTableBox.copyOf()TableCellBox.copyOf()TableRowBox.copyOf()TableSectionBox.copyOf()protected BlockBoxTableRowBox.getNextCollapsableSibling(BlockBox.MarginCollapseResult collapsedMargin) Methods in com.openhtmltopdf.newtable with parameters of type BlockBoxModifier and TypeMethodDescriptionvoidTableRowBox.initStaticPos(LayoutContext c, BlockBox parent, int childOffset) -
Uses of BlockBox in com.openhtmltopdf.pdfboxout
Fields in com.openhtmltopdf.pdfboxout declared as BlockBoxMethods in com.openhtmltopdf.pdfboxout that return BlockBoxMethods in com.openhtmltopdf.pdfboxout with parameters of type BlockBoxModifier and TypeMethodDescriptionPdfBoxReplacedElementFactory.createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) voidBookmarkElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxImageElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxObjectDrawerReplacedElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxPDFReplacedElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxReplacedElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxSVGReplacedElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxFastOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidPdfBoxOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidPdfBoxSlowOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) -
Uses of BlockBox in com.openhtmltopdf.render
Subclasses of BlockBox in com.openhtmltopdf.renderModifier and TypeClassDescriptionclassAn anonymous block box as defined in the CSS spec.classclassclassA dummy box representing one side of the margin area of a page.classA dummy box representing the viewportFields in com.openhtmltopdf.render declared as BlockBoxFields in com.openhtmltopdf.render with type parameters of type BlockBoxMethods in com.openhtmltopdf.render that return BlockBoxModifier and TypeMethodDescriptionAnonymousBlockBox.copyOf()BlockBox.copyOf()MarginBox.copyOf()ViewportBox.copyOf()InlineBox.getFootnoteBody()protected BlockBoxBlockBox.getNextCollapsableSibling(BlockBox.MarginCollapseResult collapsedMargin) LineBox.getParent()Narrows the return type of LineBox to a BlockBox.Methods in com.openhtmltopdf.render that return types with arguments of type BlockBoxModifier and TypeMethodDescriptionLineBox.getReferencedFootnoteBodies()Gets the list of footnote bodies which have calls in this line of text.Methods in com.openhtmltopdf.render with parameters of type BlockBoxModifier and TypeMethodDescriptionprivate AnonymousBlockBoxInlineLayoutBox.addFollowingBlockBoxes(BlockBox container, List<Box> result) voidLineBox.addNonFlowContent(BlockBox box) voidLineBox.addReferencedFootnoteBody(BlockBox footnoteBody) private static voidListItemPainter.drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) private static voidListItemPainter.drawImage(RenderingContext c, BlockBox box, MarkerData markerData) private static voidListItemPainter.drawText(RenderingContext c, BlockBox box, IdentValue listStyle) private static intListItemPainter.getReferenceBaseline(RenderingContext c, BlockBox box) private static intListItemPainter.getReferenceX(RenderingContext c, BlockBox box) voidBlockBox.initStaticPos(LayoutContext c, BlockBox parent, int childOffset) private static booleanListItemPainter.isInVisiblePageArea(RenderingContext c, PageBox page, StrutMetrics metrics, BlockBox box) The list item box may go over two pages.static voidListItemPainter.paint(RenderingContext c, BlockBox box) voidInlineBox.setFootnote(BlockBox footnoteBody) -
Uses of BlockBox in com.openhtmltopdf.render.displaylist
Fields in com.openhtmltopdf.render.displaylist declared as BlockBoxFields in com.openhtmltopdf.render.displaylist with type parameters of type BlockBoxMethods in com.openhtmltopdf.render.displaylist that return BlockBoxMethods in com.openhtmltopdf.render.displaylist that return types with arguments of type BlockBoxMethods in com.openhtmltopdf.render.displaylist with parameters of type BlockBoxModifier and TypeMethodDescriptionprivate voidprivate 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.DisplayListCollector.collectInlineBlock(RenderingContext c, BlockBox bb, EnumSet<DisplayListCollector.CollectFlags> noneOf, int shadowPageNo) private voidDisplayListPainter.paintReplacedElement(RenderingContext c, BlockBox replaced) private voidDisplayListPainter.updateTableHeaderFooterPosition(RenderingContext c, BlockBox container) If the container is a table and it is set topaginatethen update its header and footer position for this page.Constructors in com.openhtmltopdf.render.displaylist with parameters of type BlockBox -
Uses of BlockBox in com.openhtmltopdf.render.simplepainter
Methods in com.openhtmltopdf.render.simplepainter with parameters of type BlockBoxModifier and TypeMethodDescriptionvoidSimplePainter.paintAsLayer(RenderingContext c, BlockBox startingPoint) private voidSimplePainter.paintReplacedElement(RenderingContext c, BlockBox replaced) Method parameters in com.openhtmltopdf.render.simplepainter with type arguments of type BlockBoxModifier and TypeMethodDescriptionprivate voidSimplePainter.paintFloats(RenderingContext c, List<BlockBox> floaters) -
Uses of BlockBox in com.openhtmltopdf.simple.extend
Methods in com.openhtmltopdf.simple.extend with parameters of type BlockBoxModifier and TypeMethodDescriptionNoReplacedElementFactory.createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)