Uses of Class
com.openhtmltopdf.render.Box
-
-
Uses of Box in com.openhtmltopdf.css.style
Methods in com.openhtmltopdf.css.style with parameters of type Box Modifier and Type Method Description static intCalculatedStyle. getCSSMaxHeight(CssContext c, Box box)Aims to get the correct resolved max-height for a box in dots unit.static intCalculatedStyle. getCSSMaxWidth(CssContext c, Box box)Aims to get the correct resolved max-width for a box in dots unit.booleanCalculatedStyle. isVisible(RenderingContext renderingContext, Box thisElement)Determine if the element is visible. -
Uses of Box in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type Box Modifier and Type Method Description SVGDrawer.SVGImageSVGDrawer. buildSVGImage(org.w3c.dom.Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel)voidOutputDevice. drawDebugOutline(RenderingContext c, Box box, FSColor color)voidOutputDevice. paintBackground(RenderingContext c, Box box)voidOutputDevice. paintBorder(RenderingContext c, Box box)java.lang.ObjectOutputDevice. startStructure(StructureType type, Box box)Propagate the structure heirachy to allow for PDF/UA compliance. -
Uses of Box in com.openhtmltopdf.java2d
Methods in com.openhtmltopdf.java2d with parameters of type Box Modifier and Type Method Description java.lang.ObjectJava2DOutputDevice. startStructure(StructureType type, Box box)Constructors in com.openhtmltopdf.java2d with parameters of type Box Constructor Description Java2DSVGReplacedElement(org.w3c.dom.Element e, SVGDrawer svgImpl, int width, int height, Box box, CssContext c) -
Uses of Box in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as Box Modifier and Type Field Description private BoxLayer. _endprivate BoxFloatManager. _masterprivate BoxLayer. _masterprivate BoxVerticalAlignContext.ChildContextData. _rootprivate BoxLayer. _selectionEndprivate BoxLayer. _selectionStartFields in com.openhtmltopdf.layout with type parameters of type Box Modifier and Type Field Description private java.util.Map<java.lang.String,Box>SharedContext. idMapMethods in com.openhtmltopdf.layout that return Box Modifier and Type Method Description BoxLayer. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)Deprecated.private BoxLayer. find(CssContext cssCtx, int absX, int absY, java.util.List<Layer> layers, boolean findAnonymous)Deprecated.BoxSharedContext. getBoxById(java.lang.String id)BoxLayer. getEnd()BoxFloatManager. getMaster()BoxLayer. getMaster()BoxLayer. getSelectionEnd()BoxLayer. getSelectionStart()Methods in com.openhtmltopdf.layout that return types with arguments of type Box Modifier and Type Method Description java.util.Map<java.lang.String,Box>SharedContext. getIdMap()Methods in com.openhtmltopdf.layout with parameters of type Box Modifier and Type Method Description voidLayoutContext. addBoxId(java.lang.String id, Box box)voidSharedContext. addBoxId(java.lang.String id, Box box)private static voidInlineBoxing. alignInlineContent(LayoutContext c, Box box, float ascent, float descent, VerticalAlignContext vaContext)private voidFloatManager. applyLineHeightHack(CssContext cssCtx, Box line, java.awt.Rectangle bounds)protected java.util.List<java.awt.geom.AffineTransform>Layer. applyTranform(RenderingContext c, Box box)Deprecated.static java.util.List<TextDecoration>InlineBoxing. calculateTextDecorations(Box box, int baseline, FSFontMetrics fm)private booleanVerticalAlignContext.ChildContextData. canBeMoved(Box box)voidBlockFormattingContext. clear(LayoutContext c, Box current)voidFloatManager. clear(CssContext cssCtx, BlockFormattingContext bfc, Box box)voidBoxCollector. collect(CssContext c, java.awt.Shape clip, Layer layer, Box container, java.util.List<Box> blockContent, java.util.List<Box> inlineContent, BoxRangeLists rangeLists)private static voidBoxBuilder. createAnonymousBlock(SharedContext c, Box parent, java.util.List<Styleable> inline, java.util.List<InlineBox> savedParents)private static voidBoxBuilder. createAnonymousBlock(SharedContext c, Box parent, java.util.List<Styleable> inline, java.util.List<InlineBox> savedParents, IdentValue display)VerticalAlignContextVerticalAlignContext. createChild(Box root)static StrutMetricsInlineBoxing. createDefaultStrutMetrics(LayoutContext c, Box container)voidLayer. ensureHasPage(CssContext c, Box box)private static LineBoxBlockBoxing. getFirstLine(Box box)PageBoxLayer. getFirstPage(CssContext c, Box box)private static InlineBoxMeasurementsInlineBoxing. getInitialMeasurements(LayoutContext c, Box container, FSFontMetrics strutM)PageBoxLayer. getLastPage(CssContext c, Box box)private static voidBoxBuilder. insertAnonymousBlocks(SharedContext c, Box parent, java.util.List<Styleable> children, boolean layoutRunningBlocks)private booleanBoxCollector. intersectsAggregateBounds(java.awt.Shape clip, Box box)booleanBoxCollector. intersectsAny(CssContext c, java.awt.Shape clip, Box master)private booleanBoxCollector. intersectsAny(CssContext c, java.awt.Shape clip, Box master, Box container)private voidFloatManager. moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, java.util.List<FloatManager.BoxOffset> floats)private voidFloatManager. moveFloatBelow(CssContext cssCtx, BlockFormattingContext bfc, Box current, java.util.List<FloatManager.BoxOffset> floats)private voidVerticalAlignContext.ChildContextData. moveInlineContents(Box box, int ty)private static LineBoxInlineBoxing. newLine(LayoutContext c, int y, Box box)private static LineBoxInlineBoxing. newLine(LayoutContext c, LineBox previousLine, Box box)voidFloatManager.FloatOperation. operate(Box floater)static intInlineBoxing. positionHorizontally(CssContext c, Box current, int start)static intInlineBoxing. positionHorizontallyRTL(CssContext c, Box current, int start, int width)Attempts to layout inline boxes from right to left.private static voidInlineBoxing. positionInlineContentVertically(LayoutContext c, VerticalAlignContext vaContext, Box child)private static voidInlineBoxing. positionVertically(LayoutContext c, Box container, LineBox current, MarkerData markerData)voidLayoutContext. pushLayer(Box master)voidLayoutContext. pushLayerIsolated(Box master)private voidBoxCollector. saveRangeData(CssContext c, Box container, java.util.List<Box> blockContent, java.util.List<Box> inlineContent, BoxRangeLists rangeLists, boolean isBlock, int blockStart, int inlineStart, int blockRangeStart, int inlineRangeStart)voidLayer. setEnd(Box end)voidLayer. setSelectionEnd(Box selectionEnd)voidLayer. setSelectionStart(Box selectionStart)Method parameters in com.openhtmltopdf.layout with type arguments of type Box Modifier and Type Method Description voidBoxCollector. collect(CssContext c, java.awt.Shape clip, Layer layer, Box container, java.util.List<Box> blockContent, java.util.List<Box> inlineContent, BoxRangeLists rangeLists)voidBoxCollector. collect(CssContext c, java.awt.Shape clip, Layer layer, java.util.List<Box> blockContent, java.util.List<Box> inlineContent, BoxRangeLists rangeLists)private java.util.Map<TableCellBox,java.util.List<CollapsedBorderSide>>Layer. collectCollapsedTableBorders(RenderingContext c, java.util.List<Box> blocks)Deprecated.private voidBoxCollector. collectInlineLayer(CssContext c, java.awt.Shape clip, Layer layer, java.util.List<Box> blockContent, java.util.List<Box> inlineContent, BoxRangeLists rangeLists)private voidLayer. paintBackgroundsAndBorders(RenderingContext c, java.util.List<Box> blocks, java.util.Map<TableCellBox,java.util.List<CollapsedBorderSide>> collapsedTableBorders, BoxRangeLists rangeLists)Deprecated.private voidLayer. paintInlineContent(RenderingContext c, java.util.List<Box> lines, BoxRangeLists rangeLists)Deprecated.private voidLayer. paintListMarkers(RenderingContext c, java.util.List<Box> blocks, BoxRangeLists rangeLists)Deprecated.private voidLayer. paintReplacedElements(RenderingContext c, java.util.List<Box> blocks, BoxRangeLists rangeLists)Deprecated.private voidLayer. paintSelection(RenderingContext c, java.util.List<Box> lines)Deprecated.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)private voidBoxCollector. saveRangeData(CssContext c, Box container, java.util.List<Box> blockContent, java.util.List<Box> inlineContent, BoxRangeLists rangeLists, boolean isBlock, int blockStart, int inlineStart, int blockRangeStart, int inlineRangeStart)Constructors in com.openhtmltopdf.layout with parameters of type Box Constructor Description ChildContextData(Box root, VerticalAlignContext vaContext)FloatManager(Box master)Layer(Layer parent, Box master, CssContext c)Creates a child layer.Layer(Box master, CssContext c)Creates the root layer.Layer(Box master, CssContext c, boolean isolated) -
Uses of Box in com.openhtmltopdf.newtable
Subclasses of Box in com.openhtmltopdf.newtable Modifier and Type Class Description classTableBoxclassTableCellBoxclassTableRowBoxclassTableSectionBox -
Uses of Box in com.openhtmltopdf.pdfboxout
Fields in com.openhtmltopdf.pdfboxout declared as Box Modifier and Type Field Description private BoxPdfBoxFastLinkManager. _rootprivate BoxPdfBoxFastOutputDevice. _rootprivate BoxPdfBoxLinkManager. _rootDeprecated.private BoxPdfBoxSlowOutputDevice. _rootprivate BoxPdfBoxAccessibilityHelper. _rootBox(package private) BoxPdfBoxAccessibilityHelper.AbstractStructualElement. box(package private) BoxPdfBoxFastLinkManager.LinkDetails. boxBoxPdfBoxForm.Control. box(package private) BoxPdfBoxLinkManager.LinkDetails. boxMethods in com.openhtmltopdf.pdfboxout that return types with arguments of type Box Modifier and Type Method Description private PagePosition<Box>PdfBoxFastOutputDevice. calcPDFPagePosition(CssContext c, java.lang.String id, Box box)private PagePosition<Box>PdfBoxSlowOutputDevice. calcPDFPagePosition(CssContext c, java.lang.String id, Box box)java.util.List<PagePosition<Box>>PdfBoxFastOutputDevice. findPagePositionsByID(CssContext c, java.util.regex.Pattern pattern)java.util.List<PagePosition<Box>>PdfBoxOutputDevice. findPagePositionsByID(CssContext c, java.util.regex.Pattern pattern)java.util.List<PagePosition<Box>>PdfBoxRenderer. findPagePositionsByID(java.util.regex.Pattern pattern)java.util.List<PagePosition<Box>>PdfBoxSlowOutputDevice. findPagePositionsByID(CssContext c, java.util.regex.Pattern pattern)Methods in com.openhtmltopdf.pdfboxout with parameters of type Box Modifier and Type Method Description voidPdfBoxPerDocumentFormState. addControlIfRequired(Box box, org.apache.pdfbox.pdmodel.PDPage page, java.awt.geom.AffineTransform transform, RenderingContext c, float pageHeight)Adds a control to a list to be used later byprocessControls.voidPdfBoxPerDocumentFormState. addFormIfRequired(Box box, PdfBoxOutputDevice od)Adds a form to a map to be used later byprocessControls.voidPdfBoxAccessibilityHelper. addLink(Box anchor, Box target, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation pdAnnotation, org.apache.pdfbox.pdmodel.PDPage page)private voidPdfBoxFastLinkManager. addLinkToPage(org.apache.pdfbox.pdmodel.PDPage page, AnnotationContainer annot, Box anchor, Box target)private voidPdfBoxFastLinkManager. addUriAsLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform, org.w3c.dom.Element elem, NamespaceHandler handler, java.lang.String uri, java.awt.Shape linkShape)private voidPdfBoxLinkManager. addUriAsLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform, org.w3c.dom.Element elem, NamespaceHandler handler, java.lang.String uri, java.awt.Shape linkShape)Deprecated.private PagePosition<Box>PdfBoxFastOutputDevice. calcPDFPagePosition(CssContext c, java.lang.String id, Box box)private PagePosition<Box>PdfBoxSlowOutputDevice. calcPDFPagePosition(CssContext c, java.lang.String id, Box box)private java.awt.geom.Rectangle2DPdfBoxFastLinkManager. calcTotalLinkArea(RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform)private java.awt.geom.Rectangle2DPdfBoxLinkManager. calcTotalLinkArea(RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform)Deprecated.private java.awt.geom.Rectangle2DPdfBoxFastLinkManager. checkLinkArea(org.apache.pdfbox.pdmodel.PDPage page, RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform, java.awt.Shape linkShape)private java.awt.geom.Rectangle2DPdfBoxLinkManager. checkLinkArea(org.apache.pdfbox.pdmodel.PDPage page, RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform, java.awt.Shape linkShape)Deprecated.private java.lang.StringPdfBoxAccessibilityHelper.GenericStructualElement. chooseTag(Box box)static PdfBoxPDFReplacedElementPdfBoxPDFReplacedElement. create(org.apache.pdfbox.pdmodel.PDDocument target, byte[] pdfBytes, org.w3c.dom.Element e, Box box, CssContext ctx, SharedContext shared)private org.apache.pdfbox.cos.COSDictionaryPdfBoxAccessibilityHelper. createBackgroundArtifact(StructureType type, Box box)static org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestinationPdfBoxBookmarkManager. createBoxDestination(RenderingContext c, org.apache.pdfbox.pdmodel.PDDocument writer, PdfBoxFastOutputDevice od, float dotsPerPoint, Box root, Box box)Creates aPDPageXYZDestinationwith the Y set to the min Y of the border box and the X and Z set to null.private org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestinationPdfBoxFastLinkManager. createDestination(RenderingContext c, Box box)private org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestinationPdfBoxLinkManager. createDestination(RenderingContext c, Box box)Deprecated.private PdfBoxAccessibilityHelper.FigureContentItemPdfBoxAccessibilityHelper. createFigureContentStructureItem(StructureType type, Box box)private PdfBoxAccessibilityHelper.GenericContentItemPdfBoxAccessibilityHelper. createListItemLabelMarkedContent(StructureType type, Box box)private PdfBoxAccessibilityHelper.GenericContentItemPdfBoxAccessibilityHelper. createMarkedContentStructureItem(StructureType type, Box box)private org.apache.pdfbox.cos.COSDictionaryPdfBoxAccessibilityHelper. createPaginationArtifact(StructureType type, Box box)private PdfBoxAccessibilityHelper.AbstractStructualElementPdfBoxAccessibilityHelper. createStructureItem(StructureType type, Box box)static java.awt.geom.Rectangle2DPdfBoxFastLinkManager. createTargetArea(RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform, Box _root, PdfBoxOutputDevice _od)static java.awt.geom.Rectangle2DPdfBoxLinkManager. createTargetArea(RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform, Box _root, PdfBoxOutputDevice _od)Deprecated.private voidPdfBoxAccessibilityHelper. ensureAncestorTree(PdfBoxAccessibilityHelper.AbstractTreeItem child, Box parent)private voidPdfBoxAccessibilityHelper. ensureParent(Box box, PdfBoxAccessibilityHelper.AbstractTreeItem child)voidPdfBoxFastOutputDevice. finish(RenderingContext c, Box root)voidPdfBoxOutputDevice. finish(RenderingContext c, Box root)voidPdfBoxSlowOutputDevice. finish(RenderingContext c, Box root)intPdfBoxFastOutputDevice. getPageRefY(Box box)intPdfBoxOutputDevice. getPageRefY(Box box)intPdfBoxSlowOutputDevice. getPageRefY(Box box)static org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDStructureElementPdfBoxAccessibilityHelper. getStructualElementForBox(Box targetBox)Given a box, gets its structual element.private static java.lang.StringPdfBoxAccessibilityHelper. guessBoxTag(Box box)voidPdfBoxFastOutputDevice. paintBackground(RenderingContext c, Box box)We use paintBackground to do extra stuff such as processing links, forms and form controls.voidPdfBoxOutputDevice. paintBackground(RenderingContext c, Box box)We use paintBackground to do extra stuff such as processing links, forms and form controls.voidPdfBoxSlowOutputDevice. paintBackground(RenderingContext c, Box box)We use paintBackground to do extra stuff such as processing links, forms and form controls.intPdfBoxForm. process(org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acro, int startId, Box root)private voidPdfBoxForm. processCheckboxControl(PdfBoxForm.ControlFontPair pair, org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acro, int i, PdfBoxForm.Control ctrl, Box root)voidPdfBoxPerDocumentFormState. processControls(SharedContext sharedContext, org.apache.pdfbox.pdmodel.PDDocument writer, Box root)private voidPdfBoxForm. processHiddenControl(PdfBoxForm.ControlFontPair pair, PdfBoxForm.Control ctrl, org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acro, int i, Box root)private voidPdfBoxFastLinkManager. processLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform)private voidPdfBoxLinkManager. processLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform)Deprecated.voidPdfBoxFastLinkManager. processLinkLater(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform)voidPdfBoxLinkManager. processLinkLater(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform)Deprecated.private voidPdfBoxForm. processMultiSelectControl(PdfBoxForm.ControlFontPair pair, PdfBoxForm.Control ctrl, org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acro, int i, Box root)private voidPdfBoxForm. processRadioButtonGroup(java.util.List<PdfBoxForm.Control> group, org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acro, int i, Box root)private voidPdfBoxForm. processSelectControl(PdfBoxForm.ControlFontPair pair, PdfBoxForm.Control ctrl, org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acro, int i, Box root)Processes select controls and the custom openhtmltopdf-combo control.private voidPdfBoxForm. processSubmitControl(org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acro, int i, PdfBoxForm.Control ctrl, Box root)private voidPdfBoxForm. processTextControl(PdfBoxForm.ControlFontPair pair, PdfBoxForm.Control ctrl, org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acro, int i, Box root)voidPdfBoxFastOutputDevice. setRoot(Box root)voidPdfBoxOutputDevice. setRoot(Box root)voidPdfBoxSlowOutputDevice. setRoot(Box root)private voidPdfBoxAccessibilityHelper. setupStructureElement(PdfBoxAccessibilityHelper.AbstractStructualElement child, Box box)PdfBoxAccessibilityHelper.TokenPdfBoxAccessibilityHelper. startStructure(StructureType type, Box box)java.lang.ObjectPdfBoxFastOutputDevice. startStructure(StructureType type, Box box)java.lang.ObjectPdfBoxSlowOutputDevice. startStructure(StructureType type, Box box)private voidPdfBoxBookmarkManager. writeBookmark(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, PdfBoxBookmarkManager.Bookmark bookmark)private voidPdfBoxSlowOutputDevice. writeBookmark(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, PdfBoxSlowOutputDevice.Bookmark bookmark)private voidPdfBoxBookmarkManager. writeBookmarks(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, java.util.List<PdfBoxBookmarkManager.Bookmark> bookmarks)private voidPdfBoxSlowOutputDevice. writeBookmarks(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, java.util.List<PdfBoxSlowOutputDevice.Bookmark> bookmarks)voidPdfBoxBookmarkManager. writeOutline(RenderingContext c, Box root)private voidPdfBoxSlowOutputDevice. writeOutline(RenderingContext c, Box root)Constructors in com.openhtmltopdf.pdfboxout with parameters of type Box Constructor Description Control(Box box, org.apache.pdfbox.pdmodel.PDPage page, java.awt.geom.AffineTransform transform, RenderingContext c, float pageHeight)PdfBoxAccessibilityHelper(PdfBoxFastOutputDevice od, Box root, org.w3c.dom.Document doc)PdfBoxFastLinkManager(SharedContext ctx, float dotsPerPoint, Box root, PdfBoxFastOutputDevice od)PdfBoxLinkManager(SharedContext ctx, float dotsPerPoint, Box root, PdfBoxOutputDevice od)Deprecated.PdfBoxPDFReplacedElement(org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject srcForm, org.w3c.dom.Element e, Box box, CssContext ctx, SharedContext shared, float w, float h)PdfBoxSVGReplacedElement(org.w3c.dom.Element e, SVGDrawer svgImpl, int cssWidth, int cssHeight, Box box, CssContext css, SharedContext c) -
Uses of Box in com.openhtmltopdf.render
Subclasses of Box in com.openhtmltopdf.render Modifier and Type Class Description classAnonymousBlockBoxAn anonymous block box as defined in the CSS spec.classBlockBoxA block box as defined in the CSS spec.classFlowingColumnBoxclassFlowingColumnContainerBoxclassInlineLayoutBoxABoxwhich contains the portion of an inline element layed out on a single line.classLineBoxA line box contains a single line of text (or other inline content).classMarginBoxA dummy box representing one side of the margin area of a page.classViewportBoxA dummy box representing the viewportFields in com.openhtmltopdf.render declared as Box Modifier and Type Field Description private BoxBox. _containingBlockprivate BoxBox. _parentprivate BoxBlockBox. _staticEquivalentprivate BoxFlowingColumnContainerBox.ColumnBreakOpportunity. boxprivate BoxFlowingColumnBox. parentFields in com.openhtmltopdf.render with type parameters of type Box Modifier and Type Field Description private java.util.List<Box>Box. _boxesprivate java.util.List<Box>LineBox. _nonFlowContentprivate java.util.List<Box>FlowingColumnContainerBox.ColumnBreakOpportunity. ancestorsprivate java.util.Iterator<Box>Box.ChildIteratorOfType. iterprivate java.util.Set<Box>FlowingColumnContainerBox.ColumnBreakStore. processedContainersMethods in com.openhtmltopdf.render that return Box Modifier and Type Method Description BoxAnonymousBlockBox. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)BoxBox. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)BoxInlineLayoutBox. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)BoxLineBox. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)BoxBox. findAncestor(java.util.function.Predicate<Box> predicate)Walks up the ancestor tree to the root testing ancestors agains the predicate.BoxRenderingContext. getBoxById(java.lang.String id)BoxBox. getChild(int i)private BoxBox. getClipParent()BoxBox. getContainingBlock()BoxBlockBox. getDocumentParent()BoxBox. getDocumentParent()protected BoxBox. getNext(Box child)protected BoxInlineLayoutBox. getNext(Box child)BoxBox. getNextSibling()BoxBox. getParent()BoxFlowingColumnBox. getParent()protected BoxBox. getPrevious(Box child)protected BoxInlineLayoutBox. getPrevious(Box child)BoxBox. getPreviousSibling()BoxBlockBox. getStaticEquivalent()BoxBox. rootBox()Returns the highest ancestor box.Methods in com.openhtmltopdf.render that return types with arguments of type Box Modifier and Type Method Description java.util.List<Box>Box. ancestors()Get all ancestors, up until the root box.java.util.List<Box>Box. ancestorsWhile(java.util.function.Predicate<Box> predicate)Creates a list of ancestors by walking up the chain of parent, grandparent, etc.java.util.Iterator<Box>Box. getChildIterator()java.util.List<Box>Box. getChildren()java.util.List<Box>Box. getElementBoxes(org.w3c.dom.Element elem)java.util.List<Box>InlineLayoutBox. getElementBoxes(org.w3c.dom.Element elem)java.util.List<Box>InlineLayoutBox. getElementWithContent()java.util.List<Box>LineBox. getNonFlowContent()Methods in com.openhtmltopdf.render with parameters of type Box Modifier and Type Method Description voidFlowingColumnContainerBox.ColumnBreakStore. addBreak(Box box, java.util.List<Box> ancestors)Add a break opportunity.voidBox. addChild(Box child)voidBox. addChildForLayout(LayoutContext c, Box child)private intFlowingColumnContainerBox. adjustUnbalanced(LayoutContext c, Box child, int colGap, int colWidth, int columnCount, int xStart)booleanFlowingColumnContainerBox.ColumnBreakStore. checkContainerShouldProcess(Box container)Whether an ancestor box needs to be added to the list of ancestors.voidAbstractOutputDevice. drawDebugOutline(RenderingContext c, Box box, FSColor color)intBlockBox. findOffset(Box box)protected BoxBox. getNext(Box child)protected BoxInlineLayoutBox. getNext(Box child)protected BoxBox. getPrevious(Box child)protected BoxInlineLayoutBox. getPrevious(Box child)private booleanInlineLayoutBox. isEndingBox(Box b)(package private) static FlowingColumnContainerBox.ColumnBreakOpportunityFlowingColumnContainerBox.ColumnBreakOpportunity. of(Box box, java.util.List<Box> ancestors)voidAbstractOutputDevice. paintBackground(RenderingContext c, Box box)voidAbstractOutputDevice. paintBorder(RenderingContext c, Box box)booleanBox. removeChild(Box target)Removes a child box if it is indeed a child and adjusts the index of subsequent children.booleanInlineLayoutBox. removeChild(Box child)Removes a child box if it is indeed a child and adjusts the index of subsequent children.private voidFlowingColumnContainerBox. reposition(Box box, int xAdjust, int yAdjust)voidBox. setContainingBlock(Box containingBlock)voidBox. setParent(Box box)voidBlockBox. setStaticEquivalent(Box staticEquivalent)Method parameters in com.openhtmltopdf.render with type arguments of type Box Modifier and Type Method Description voidBox. addAllChildren(java.util.List<Box> children)voidInlineLayoutBox. addAllChildren(java.util.List<? super Box> list, Layer layer)voidLineBox. addAllChildren(java.util.List<? super Box> list, Layer layer)voidFlowingColumnContainerBox.ColumnBreakStore. addBreak(Box box, java.util.List<Box> ancestors)Add a break opportunity.private AnonymousBlockBoxInlineLayoutBox. addFollowingBlockBoxes(BlockBox container, java.util.List<Box> result)private voidInlineLayoutBox. addToContentList(java.util.List<Box> list)java.util.List<Box>Box. ancestorsWhile(java.util.function.Predicate<Box> predicate)Creates a list of ancestors by walking up the chain of parent, grandparent, etc.private booleanInlineLayoutBox. containsEnd(java.util.List<Box> result)protected voidBox. dumpBoxes(LayoutContext c, java.lang.String indent, java.util.List<Box> boxes, int which, java.lang.StringBuilder result)BoxBox. findAncestor(java.util.function.Predicate<Box> predicate)Walks up the ancestor tree to the root testing ancestors agains the predicate.(package private) static FlowingColumnContainerBox.ColumnBreakOpportunityFlowingColumnContainerBox.ColumnBreakOpportunity. of(Box box, java.util.List<Box> ancestors)private voidFlowingColumnContainerBox. repositionAncestors(java.util.List<Box> ancestors, int xAdjust, int yAdjust)Constructors in com.openhtmltopdf.render with parameters of type Box Constructor Description ColumnBreakOpportunity(Box box, java.util.List<Box> ancestors)FlowingColumnBox(Box parent)Constructor parameters in com.openhtmltopdf.render with type arguments of type Box Constructor Description ChildIteratorOfType(java.util.Iterator<Box> parent, java.lang.Class<T> clazz)ColumnBreakOpportunity(Box box, java.util.List<Box> ancestors) -
Uses of Box in com.openhtmltopdf.render.displaylist
Fields in com.openhtmltopdf.render.displaylist declared as Box Modifier and Type Field Description private BoxPaintPopTransformLayer. _masterprivate BoxPaintPushTransformLayer. _masterprivate BoxPaintLayerBackgroundAndBorder. masterprivate BoxPaintRootElementBackground. rootMethods in com.openhtmltopdf.render.displaylist that return Box Modifier and Type Method Description BoxPaintLayerBackgroundAndBorder. getMaster()BoxPaintPopTransformLayer. getMaster()BoxPaintPushTransformLayer. getMaster()BoxPaintRootElementBackground. getRoot()Methods in com.openhtmltopdf.render.displaylist with parameters of type Box Modifier and Type Method Description booleanPagedBoxCollector.AddBlockToShadowPage. add(PagedBoxCollector collector, PagedBoxCollector.PageResult shadowPageResult, Box container, java.awt.Shape clip, Layer layer)booleanPagedBoxCollector.AddFloatToShadowPage. add(PagedBoxCollector collector, PagedBoxCollector.PageResult shadowPageResult, Box container, java.awt.Shape clip, Layer layer)booleanPagedBoxCollector.AddInlineToShadowPage. add(PagedBoxCollector collector, PagedBoxCollector.PageResult shadowPageResult, Box container, java.awt.Shape clip, Layer layer)booleanPagedBoxCollector.AddToShadowPage. add(PagedBoxCollector collector, PagedBoxCollector.PageResult shadowPageResult, Box container, java.awt.Shape clip, Layer layer)private voidPagedBoxCollector. addBlock(Box container, PagedBoxCollector.PageResult pageResult)Adds block box to appropriate flat box lists.private voidPagedBoxCollector. addBlockToAll(CssContext c, Layer layer, Box container, int pgStart, int pgEnd, java.awt.Shape ourClip, java.util.List<PagedBoxCollector.PageResult> clipPages, boolean includeShadowPages)private voidPagedBoxCollector. addBlockToShadowPage(CssContext c, Layer layer, Box container, int pgStart, int pgEnd, java.awt.Shape ourClip, java.util.List<PagedBoxCollector.PageResult> clipPages, int shadowPageNumber)private voidPagedBoxCollector. addBoxToShadowPages(CssContext c, Box container, int pageNumber, PagedBoxCollector.PageResult pageResult, java.awt.Shape ourClip, java.util.List<PagedBoxCollector.PageResult> clipPages, Layer layer, PagedBoxCollector.AddToShadowPage addToMethod)Adds box to inserted shadow pages as needed.private voidPagedBoxCollector. addTableHeaderFooter(CssContext c, Layer layer, Box container, int shadowPageNumber)protected voidDisplayListCollector. addTransformItem(Box master, java.util.List<PagedBoxCollector.PageInfo> pages, DisplayListContainer dlPages)private static voidTransformCreator. applyTransformFunctions(float flipFactor, java.util.List<PropertyValue> transformList, java.awt.geom.AffineTransform result, Box box, CssContext ctx)private booleanPagedBoxCollector. boxIntersects(CssContext c, java.awt.Shape clip, Box box, java.awt.Rectangle boxBounds)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)static java.awt.geom.AffineTransformTransformCreator. createDocumentCoordinatesTransform(Box master, CssContext c, java.awt.geom.AffineTransform _parentCtm)Creates an absolute transform in document coordinates.static java.awt.geom.AffineTransformTransformCreator. 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.AffineTransformTransformCreator. createPageMarginCoordinatesTransform(RenderingContext c, Box box, PageBox page, int xTranslate, int yTranslate)private static voidTransformCreator. createTransform(CssContext c, Box box, PageBox page, java.awt.geom.AffineTransform result, TransformCreator.TransformYOrigin transformYOrigin, int shadowPageNumber)pagemay be null in the case thattransformYOriginisDOCUMENT_TOP.static java.awt.RectanglePagedBoxCollector. 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 java.awt.RectanglePagedBoxCollector. findAdjustedBoundsForContentBox(CssContext c, Box container)Finds the document coordinates content box bounds of a box adjusted for transform and clipped according to overflow hidden.protected intPagedBoxCollector. findEndPage(CssContext c, Box container, java.awt.geom.AffineTransform transform)static intPagedBoxCollector. findEndPage(CssContext c, Box container, java.util.List<PageBox> pages)protected intPagedBoxCollector. findStartPage(CssContext c, Box container, java.awt.geom.AffineTransform transform)static intPagedBoxCollector. findStartPage(CssContext c, Box container, java.util.List<PageBox> pages)private static java.awt.RectanglePagedBoxCollector. getBoxRect(CssContext c, Box container)private static floatTransformCreator. getPageTranslateX(float absTranslateX, int shadowPageNumber, PageBox page, CssContext c, Box box)private booleanPagedBoxCollector. intersectsAggregateBounds(CssContext c, java.awt.Shape clip, Box box)private booleanPagedBoxCollector. intersectsAny(CssContext c, java.awt.Shape clip, Box master, Box container)private booleanPagedBoxCollector. intersectsBorderBoxBounds(CssContext c, java.awt.Shape clip, Box box)Returns whether a box (out to the outside edge of border) is partially or fully in a clip shape.private voidDisplayListPainter. popTransform(RenderingContext c, Box master)private voidDisplayListPainter. pushTransform(RenderingContext c, Box master, int shadowPage)Constructors in com.openhtmltopdf.render.displaylist with parameters of type Box Constructor Description PaintLayerBackgroundAndBorder(Box master)PaintPopTransformLayer(Box master)PaintPushTransformLayer(Box master, int shadowPage)PaintRootElementBackground(Box root) -
Uses of Box in com.openhtmltopdf.render.simplepainter
Methods in com.openhtmltopdf.render.simplepainter with parameters of type Box Modifier and Type Method Description private booleanSimpleBoxCollector. addBlockToLists(RenderingContext c, Layer layer, Box container, java.awt.Shape ourClip)Adds block box to appropriate flat box lists.voidSimpleBoxCollector. collect(RenderingContext c, Layer layer, Box container)private voidSimplePainter. paintLayerBackgroundAndBorder(RenderingContext c, Box master) -
Uses of Box in com.openhtmltopdf.svgsupport
Fields in com.openhtmltopdf.svgsupport declared as Box Modifier and Type Field Description private BoxPDFTranscoder. boxMethods in com.openhtmltopdf.svgsupport with parameters of type Box Modifier and Type Method Description SVGDrawer.SVGImageBatikSVGDrawer. buildSVGImage(org.w3c.dom.Element svgElement, Box box, CssContext c, double cssWidth, double cssHeight, double dotsPerPixel)private java.awt.PointBatikSVGImage. parseDimensions(org.w3c.dom.Element e, Box box, CssContext ctx)private java.lang.IntegerBatikSVGImage. parseLength(java.lang.String attrValue, CSSName property, Box box, CssContext ctx)private java.awt.PointBatikSVGImage. parseWidthHeightAttributes(org.w3c.dom.Element e, Box box, CssContext ctx)Constructors in com.openhtmltopdf.svgsupport with parameters of type Box Constructor Description BatikSVGImage(org.w3c.dom.Element svgElement, Box box, double cssWidth, double cssHeight, double cssMaxWidth, double cssMaxHeight, double dotsPerPixel, CssContext ctx)PDFTranscoder(Box box, double dotsPerPixel, double width, double height) -
Uses of Box in com.openhtmltopdf.util
Fields in com.openhtmltopdf.util with type parameters of type Box Modifier and Type Field Description private java.util.Deque<Box>DescendantBoxSpliterator. unprocessedMethods in com.openhtmltopdf.util that return Box Modifier and Type Method Description private BoxDescendantBoxSpliterator. current()static BoxBoxUtil. getBodyBoxOrSomething(Box root)static BoxBoxUtil. getBodyOrNull(Box root)Looks at the direct children of root to find one with an element with node name body.private BoxDescendantBoxSpliterator. getNext()private BoxDescendantBoxSpliterator. getNextInlineChild(java.util.List<? extends java.lang.Object> inlineChilds)Methods in com.openhtmltopdf.util that return types with arguments of type Box Modifier and Type Method Description static java.util.stream.Stream<Box>LambdaUtil. ancestors(Box bx)Null-safe way to look up the ancestor tree as a stream.static java.util.stream.Stream<Box>LambdaUtil. descendants(Box parent)A stream of all descendant boxes not including InlineText or InlineBox objects.static java.util.List<Box>LambdaUtil. descendantsList(Box parent)java.util.Spliterator<Box>DescendantBoxSpliterator. trySplit()Methods in com.openhtmltopdf.util with parameters of type Box Modifier and Type Method Description private voidDescendantBoxSpliterator. add(Box bx)static java.lang.StringLambdaUtil. ancestorDump(Box bx)Ancestor dump to string including starting box and referenced layers.static java.util.stream.Stream<Box>LambdaUtil. ancestors(Box bx)Null-safe way to look up the ancestor tree as a stream.static java.lang.StringLambdaUtil. boxDescription(Box box)Null-safe box description including object id, layer, containing layer and impl class.static java.lang.StringLambdaUtil. descendantDump(Box root)Creates an indented dump of the box tree.private static voidLambdaUtil. descendantDump(Box parent, int indent, java.util.List<LambdaUtil.DescendantContent> out)static java.util.stream.Stream<Box>LambdaUtil. descendants(Box parent)A stream of all descendant boxes not including InlineText or InlineBox objects.static java.util.List<Box>LambdaUtil. descendantsList(Box parent)static BoxBoxUtil. getBodyBoxOrSomething(Box root)static BoxBoxUtil. getBodyOrNull(Box root)Looks at the direct children of root to find one with an element with node name body.private booleanDescendantBoxSpliterator. hasChildren(Box bx)private static booleanBoxUtil. isBody(Box child)Method parameters in com.openhtmltopdf.util with type arguments of type Box Modifier and Type Method Description booleanDescendantBoxSpliterator. tryAdvance(java.util.function.Consumer<? super Box> action)Constructors in com.openhtmltopdf.util with parameters of type Box Constructor Description DescendantBoxSpliterator(Box parent)
-