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(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)ObjectOutputDevice. startStructure(StructureType type, Box box)Propagate the structure heirachy to allow for PDF/UA compliance. -
Uses of Box in com.openhtmltopdf.layout
Methods in com.openhtmltopdf.layout that return Box Modifier and Type Method Description BoxLayer. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)Deprecated.BoxSharedContext. getBoxById(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 Map<String,Box>SharedContext. getIdMap()Methods in com.openhtmltopdf.layout with parameters of type Box Modifier and Type Method Description voidLayoutContext. addBoxId(String id, Box box)voidSharedContext. addBoxId(String id, Box box)protected List<AffineTransform>Layer. applyTranform(RenderingContext c, Box box)Deprecated.static List<TextDecoration>InlineBoxing. calculateTextDecorations(Box box, int baseline, FSFontMetrics fm)voidBlockFormattingContext. clear(LayoutContext c, Box current)voidFloatManager. clear(CssContext cssCtx, BlockFormattingContext bfc, Box box)voidBoxCollector. collect(CssContext c, Shape clip, Layer layer, Box container, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists)VerticalAlignContextVerticalAlignContext. createChild(Box root)static StrutMetricsInlineBoxing. createDefaultStrutMetrics(LayoutContext c, Box container)voidLayer. ensureHasPage(CssContext c, Box box)PageBoxLayer. getFirstPage(CssContext c, Box box)PageBoxLayer. getLastPage(CssContext c, Box box)booleanBoxCollector. intersectsAny(CssContext c, Shape clip, Box master)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.voidLayoutContext. pushLayer(Box master)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, 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)Constructors in com.openhtmltopdf.layout with parameters of type Box Constructor Description FloatManager(Box master)Layer(Layer parent, Box master, CssContext c)Creates a child layer.Layer(Box master, CssContext c)Creates the root layer. -
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.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 viewportMethods 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(Predicate<Box> predicate)Walks up the ancestor tree to the root testing ancestors agains the predicate.BoxRenderingContext. getBoxById(String id)BoxBox. getChild(int i)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()BoxBox. getRestyleTarget()BoxInlineLayoutBox. getRestyleTarget()BoxLineBox. getRestyleTarget()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 List<Box>Box. ancestors()Get all ancestors, up until the root box.List<Box>Box. ancestorsWhile(Predicate<Box> predicate)Creates a list of ancestors by walking up the chain of parent, grandparent, etc.Iterator<Box>Box. getChildIterator()List<Box>Box. getChildren()List<Box>Box. getElementBoxes(Element elem)List<Box>InlineLayoutBox. getElementBoxes(Element elem)List<Box>InlineLayoutBox. getElementWithContent()List<Box>LineBox. getNonFlowContent()Methods in com.openhtmltopdf.render with parameters of type Box Modifier and Type Method Description voidFlowingColumnContainerBox.ColumnBreakStore. addBreak(Box box, List<Box> ancestors)Add a break opportunity.voidBox. addChild(Box child)voidBox. addChildForLayout(LayoutContext c, Box child)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)voidAbstractOutputDevice. paintBackground(RenderingContext c, Box box)voidAbstractOutputDevice. paintBorder(RenderingContext c, Box box)voidBox. removeChild(Box target)voidInlineLayoutBox. removeChild(Box child)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(List<Box> children)voidInlineLayoutBox. addAllChildren(List<? super Box> list, Layer layer)voidLineBox. addAllChildren(List<? super Box> list, Layer layer)voidFlowingColumnContainerBox.ColumnBreakStore. addBreak(Box box, List<Box> ancestors)Add a break opportunity.List<Box>Box. ancestorsWhile(Predicate<Box> predicate)Creates a list of ancestors by walking up the chain of parent, grandparent, etc.protected voidBox. dumpBoxes(LayoutContext c, String indent, List<Box> boxes, int which, StringBuilder result)BoxBox. findAncestor(Predicate<Box> predicate)Walks up the ancestor tree to the root testing ancestors agains the predicate.Constructors in com.openhtmltopdf.render with parameters of type Box Constructor Description FlowingColumnBox(Box parent) -
Uses of Box in com.openhtmltopdf.render.displaylist
Methods 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 protected voidDisplayListCollector. addTransformItem(Box master, List<PagedBoxCollector.PageInfo> pages, DisplayListContainer dlPages)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 AffineTransformTransformCreator. createDocumentCoordinatesTransform(Box master, CssContext c, AffineTransform _parentCtm)Creates an absolute transform in document coordinates.static 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 AffineTransformTransformCreator. createPageMarginCoordinatesTransform(RenderingContext c, Box box, PageBox page, int xTranslate, int yTranslate)static RectanglePagedBoxCollector. 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 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, AffineTransform transform)static intPagedBoxCollector. findEndPage(CssContext c, Box container, List<PageBox> pages)protected intPagedBoxCollector. findStartPage(CssContext c, Box container, AffineTransform transform)static intPagedBoxCollector. findStartPage(CssContext c, Box container, List<PageBox> pages)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 voidSimpleBoxCollector. collect(RenderingContext c, Layer layer, Box container)