Uses of Class
com.openhtmltopdf.render.BlockBox
-
-
Uses of BlockBox in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type BlockBox Modifier and Type Method Description ReplacedElementReplacedElementFactory. 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 BlockBox Modifier and Type Field Description private BlockBoxJava2DRenderer. _rootMethods in com.openhtmltopdf.java2d with parameters of type BlockBox Modifier and Type Method Description ReplacedElementJava2DReplacedElementFactory. createReplacedElement(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)voidJava2DOutputDevice. finish(RenderingContext c, BlockBox _root)voidJava2DOutputDevice. paintReplacedElement(RenderingContext c, BlockBox box)voidJava2DOutputDevice. setRoot(BlockBox _root) -
Uses of BlockBox in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as BlockBox Modifier and Type Field Description private BlockBoxBreakAtLineContext. _blockprivate BlockBoxFloatLayoutResult. _blockprivate BlockBoxBoxRangeData. _boxprivate BlockBoxFloatManager.BoxDistance. _boxprivate BlockBoxFloatManager.BoxOffset. _box(package private) BlockBoxFootnoteManager.FootnoteArea. footnoteAreaFields in com.openhtmltopdf.layout with type parameters of type BlockBox Modifier and Type Field Description private java.util.Map<BlockBox,FootnoteManager.FootnoteArea>FootnoteManager. _containerMapprivate java.util.List<BlockBox>Layer. _floatsprivate java.util.Set<BlockBox>Layer. _pageSequencesprivate java.util.Map<java.lang.String,java.util.List<BlockBox>>Layer. _runningBlocksprivate java.util.List<BlockBox>Layer. _sortedPageSequencesMethods in com.openhtmltopdf.layout that return BlockBox Modifier and Type Method Description private 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, org.w3c.dom.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, org.w3c.dom.Document document)private BlockBoxLayer. findPageSequence(java.util.List<BlockBox> sequences, int absY)BlockBoxBreakAtLineContext. getBlock()BlockBoxFloatLayoutResult. getBlock()BlockBoxBoxRangeData. getBox()(package private) BlockBoxFloatManager.BoxDistance. getBox()BlockBoxFloatManager.BoxOffset. getBox()static BlockBoxBoxBuilder. getRunningBlock(LayoutContext c, PropertyValue value)BlockBoxLayer. getRunningBlock(java.lang.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 BlockBox Modifier and Type Method Description java.util.List<BlockBox>Layer. getFloats()private java.util.List<BlockBox>Layer. getSortedPageSequences()Methods in com.openhtmltopdf.layout with parameters of type BlockBox Modifier and Type Method Description voidLayer. 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, java.util.List<Styleable> childrenForAnonymous, java.util.List<Styleable> childrenWithAnonymous)static voidBoxBuilder. createChildren(LayoutContext c, BlockBox parent)private static voidBoxBuilder. createChildren(LayoutContext c, BlockBox blockParent, org.w3c.dom.Element parent, java.util.List<Styleable> children, BoxBuilder.ChildBoxInfo info, boolean inline)private static voidBoxBuilder. createElementChild(LayoutContext c, org.w3c.dom.Element parent, BlockBox blockParent, org.w3c.dom.Node working, java.util.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)java.awt.PointFloatManager. getOffset(BlockBox floater)private java.awt.PointFloatManager. getOffset(BlockBox floater, java.util.stream.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, java.util.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, java.util.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, java.util.List<FloatLayoutResult> pendingFloats)private static java.lang.IntegerBlockBoxing. processPageBreakAvoidRun(LayoutContext c, BlockBox block, java.util.List<Box> localChildren, int offset, BlockBoxing.AbstractRelayoutDataList relayoutDataList, BlockBox childBox)private static intBlockBoxing. relayoutRun(LayoutContext c, java.util.List<Box> localChildren, BlockBox block, BlockBoxing.AbstractRelayoutDataList relayoutDataList, int start, int end, boolean onNewPage)voidFloatManager. removeFloat(BlockBox floater)private voidFloatManager. removeFloat(BlockBox floater, java.util.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, java.util.List<Styleable> children, BoxBuilder.ChildBoxInfo info)private static voidBoxBuilder. resolveChildTableContent(LayoutContext c, BlockBox parent, java.util.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, java.util.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, java.util.List<FloatLayoutResult> pendingFloats, boolean hasFirstLinePCs, java.util.List<Layer> pendingInlineLayers, MarkerData markerData, int contentStart, boolean alwaysBreak)voidFloatLayoutResult. setBlock(BlockBox block)voidBoxRangeData. setBox(BlockBox box)private static voidInlineBoxing. startInlineBlock(LayoutContext c, BlockBox box, int initialY, int breakAtLine, byte blockLayoutDirection, InlineBoxing.SpaceVariables space, InlineBoxing.StateVariables current, InlineBoxing.StateVariables previous, int contentStart, java.util.List<InlineBox> openInlineBoxes, java.util.Map<InlineBox,InlineLayoutBox> iBMap, int minimumLineHeight, MarkerData markerData, java.util.List<FloatLayoutResult> pendingFloats, boolean hasFirstLinePEs, java.util.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, java.util.List<InlineBox> openInlineBoxes, java.util.Map<InlineBox,InlineLayoutBox> iBMap, int minimumLineHeight, MarkerData markerData, java.util.List<FloatLayoutResult> pendingFloats, boolean hasFirstLinePEs, java.util.List<Layer> pendingInlineLayers, int lineOffset, InlineBox inlineBox, LineBreakContext lbContext)Method parameters in com.openhtmltopdf.layout with type arguments of type BlockBox Modifier and Type Method Description private BlockBoxLayer. findPageSequence(java.util.List<BlockBox> sequences, int absY)private intLayer. getPageSequenceStart(RenderingContext c, java.util.List<BlockBox> sequences, PageBox page)voidFootnoteManager. removeFootnoteBodies(LayoutContext c, java.util.List<BlockBox> footnoteBodies, LineBox line)Removes footnotes.Constructors in com.openhtmltopdf.layout with parameters of type BlockBox Constructor Description BlockFormattingContext(BlockBox block, LayoutContext c)BoxDistance(BlockBox box, int distance)BoxOffset(BlockBox box, int x, int y)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.newtable Modifier and Type Class Description classTableBoxclassTableCellBoxclassTableRowBoxclassTableSectionBoxMethods in com.openhtmltopdf.newtable that return BlockBox Modifier and Type Method Description BlockBoxTableBox. copyOf()BlockBoxTableCellBox. copyOf()BlockBoxTableRowBox. copyOf()BlockBoxTableSectionBox. copyOf()protected BlockBoxTableRowBox. getNextCollapsableSibling(BlockBox.MarginCollapseResult collapsedMargin)Methods in com.openhtmltopdf.newtable with parameters of type BlockBox Modifier and Type Method Description voidTableRowBox. initStaticPos(LayoutContext c, BlockBox parent, int childOffset) -
Uses of BlockBox in com.openhtmltopdf.pdfboxout
Fields in com.openhtmltopdf.pdfboxout declared as BlockBox Modifier and Type Field Description private BlockBoxPdfBoxRenderer. _rootMethods in com.openhtmltopdf.pdfboxout that return BlockBox Modifier and Type Method Description BlockBoxPdfBoxRenderer. getRootBox()Methods in com.openhtmltopdf.pdfboxout with parameters of type BlockBox Modifier and Type Method Description ReplacedElementPdfBoxReplacedElementFactory. 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.render Modifier and Type Class Description classAnonymousBlockBoxAn anonymous block box as defined in the CSS spec.classFlowingColumnBoxclassFlowingColumnContainerBoxclassMarginBoxA dummy box representing one side of the margin area of a page.classViewportBoxA dummy box representing the viewportFields in com.openhtmltopdf.render declared as BlockBox Modifier and Type Field Description private BlockBoxInlineBox. _footnoteBodyFields in com.openhtmltopdf.render with type parameters of type BlockBox Modifier and Type Field Description private java.util.List<BlockBox>LineBox. referencedFootnoteBodiesMethods in com.openhtmltopdf.render that return BlockBox Modifier and Type Method Description BlockBoxAnonymousBlockBox. copyOf()BlockBoxBlockBox. copyOf()BlockBoxMarginBox. copyOf()BlockBoxViewportBox. copyOf()BlockBoxInlineBox. getFootnoteBody()protected BlockBoxBlockBox. getNextCollapsableSibling(BlockBox.MarginCollapseResult collapsedMargin)BlockBoxLineBox. getParent()Narrows the return type of LineBox to a BlockBox.Methods in com.openhtmltopdf.render that return types with arguments of type BlockBox Modifier and Type Method Description java.util.List<BlockBox>LineBox. getReferencedFootnoteBodies()Gets the list of footnote bodies which have calls in this line of text.Methods in com.openhtmltopdf.render with parameters of type BlockBox Modifier and Type Method Description private AnonymousBlockBoxInlineLayoutBox. addFollowingBlockBoxes(BlockBox container, java.util.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 BlockBox Modifier and Type Field Description private BlockBoxPaintReplacedElement. masterFields in com.openhtmltopdf.render.displaylist with type parameters of type BlockBox Modifier and Type Field Description private java.util.List<BlockBox>PagedBoxCollector.PageResult. _floatsMethods in com.openhtmltopdf.render.displaylist that return BlockBox Modifier and Type Method Description BlockBoxPaintReplacedElement. getMaster()Methods in com.openhtmltopdf.render.displaylist that return types with arguments of type BlockBox Modifier and Type Method Description java.util.List<BlockBox>PagedBoxCollector.PageResult. floats()Methods in com.openhtmltopdf.render.displaylist with parameters of type BlockBox Modifier and Type Method Description private voidPagedBoxCollector.PageResult. addFloat(BlockBox floater)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.DisplayListContainer.DisplayListPageContainerDisplayListCollector. collectInlineBlock(RenderingContext c, BlockBox bb, java.util.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 Constructor Description PaintReplacedElement(BlockBox master) -
Uses of BlockBox in com.openhtmltopdf.render.simplepainter
Methods in com.openhtmltopdf.render.simplepainter with parameters of type BlockBox Modifier and Type Method Description voidSimplePainter. paintAsLayer(RenderingContext c, BlockBox startingPoint)private voidSimplePainter. paintReplacedElement(RenderingContext c, BlockBox replaced)Method parameters in com.openhtmltopdf.render.simplepainter with type arguments of type BlockBox Modifier and Type Method Description private voidSimplePainter. paintFloats(RenderingContext c, java.util.List<BlockBox> floaters) -
Uses of BlockBox in com.openhtmltopdf.simple.extend
Methods in com.openhtmltopdf.simple.extend with parameters of type BlockBox Modifier and Type Method Description ReplacedElementNoReplacedElementFactory. createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)
-