Uses of Interface
com.openhtmltopdf.css.style.CssContext
-
-
Uses of CssContext in com.openhtmltopdf.css.constants
Methods in com.openhtmltopdf.css.constants with parameters of type CssContext Modifier and Type Method Description floatIdentValue. getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx) -
Uses of CssContext in com.openhtmltopdf.css.style
Methods in com.openhtmltopdf.css.style with parameters of type CssContext Modifier and Type Method Description LengthCalculatedStyle. asLength(CssContext c, CSSName cssName)BorderPropertySetCalculatedStyle. getBorder(CssContext ctx)intCalculatedStyle. getBorderHSpacing(CssContext c)private static BorderPropertySetCalculatedStyle. getBorderProperty(CalculatedStyle style, CssContext ctx)intCalculatedStyle. getBorderVSpacing(CssContext c)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.floatCalculatedStyle. getFloatPropertyProportionalHeight(CSSName cssName, float parentHeight, CssContext ctx)floatCalculatedStyle. getFloatPropertyProportionalTo(CSSName cssName, float baseValue, CssContext ctx)floatCalculatedStyle. getFloatPropertyProportionalWidth(CSSName cssName, float parentWidth, CssContext ctx)floatDerivedValue. getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)floatFSDerivedValue. getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)FontSpecificationCalculatedStyle. getFont(CssContext ctx)FSFontCalculatedStyle. getFSFont(CssContext cssContext)FSFontMetricsCalculatedStyle. getFSFontMetrics(CssContext c)floatCalculatedStyle. getFSPageBreakMinHeight(CssContext c)FSLinearGradientCalculatedStyle. getLinearGradient(PropertyValue value, CssContext cssContext, int boxWidth, int boxHeight)floatCalculatedStyle. getLineHeight(CssContext ctx)intCalculatedStyle. getMarginBorderPadding(CssContext cssCtx, int cbWidth, int which)private static RectPropertySetCalculatedStyle. getMarginProperty(CalculatedStyle style, CSSName shorthandProp, CSSName.CSSSideProperties sides, float cbWidth, CssContext ctx, boolean useCache)RectPropertySetCalculatedStyle. getMarginRect(float cbWidth, CssContext ctx)Convenience property accessor; returns a Border initialized with the four-sided margin width.RectPropertySetCalculatedStyle. getMarginRect(float cbWidth, CssContext ctx, boolean useCache)intCalculatedStyle. getMaxHeight(CssContext c, int cbHeight)intCalculatedStyle. getMaxWidth(CssContext c, int cbWidth)intCalculatedStyle. getMinHeight(CssContext c, int cbHeight)intCalculatedStyle. getMinWidth(CssContext c, int cbWidth)private static RectPropertySetCalculatedStyle. getPaddingProperty(CalculatedStyle style, CSSName shorthandProp, CSSName.CSSSideProperties sides, float cbWidth, CssContext ctx, boolean useCache)RectPropertySetCalculatedStyle. getPaddingRect(float cbWidth, CssContext ctx)RectPropertySetCalculatedStyle. getPaddingRect(float cbWidth, CssContext ctx, boolean useCache)Convenience property accessor; returns a Border initialized with the four-sided padding width.private static RectPropertySetCalculatedStyle. newRectInstance(CalculatedStyle style, CSSName shorthand, CSSName.CSSSideProperties sides, float cbWidth, CssContext ctx)private voidBorderRadiusCorner. setLeft(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx)private voidBorderRadiusCorner. setRight(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx)Constructors in com.openhtmltopdf.css.style with parameters of type CssContext Constructor Description BorderRadiusCorner(CSSName fromVal, CalculatedStyle style, CssContext ctx) -
Uses of CssContext in com.openhtmltopdf.css.style.derived
Methods in com.openhtmltopdf.css.style.derived with parameters of type CssContext Modifier and Type Method Description static floatLengthValue. calcFloatProportionalValue(CalculatedStyle style, CSSName cssName, java.lang.String stringValue, float relVal, short primitiveType, float baseValue, CssContext ctx)private java.util.List<FSLinearGradient.StopPoint>FSLinearGradient. calculateStopPoints(java.util.List<PropertyValue> params, CalculatedStyle style, CssContext ctx, float boxWidth, int stopsStartIndex)private floatFSLinearGradient. get100PercentDefaultStopLength(CalculatedStyle style, CssContext ctx, float boxWidth)floatLengthValue. getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)Computes a relative unit (e.g.floatNumberValue. getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)static BorderPropertySetBorderPropertySet. newInstance(CalculatedStyle style, CssContext ctx)static RectPropertySetRectPropertySet. newInstance(CalculatedStyle style, CSSName shortHandProperty, CSSName.CSSSideProperties sideProperties, float cbWidth, CssContext ctx)Constructors in com.openhtmltopdf.css.style.derived with parameters of type CssContext Constructor Description BorderPropertySet(CalculatedStyle style, CssContext ctx)FSLinearGradient(CalculatedStyle style, FSFunction function, int boxWidth, int boxHeight, CssContext ctx) -
Uses of CssContext in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type CssContext Modifier and Type Method Description SVGDrawer.SVGImageSVGDrawer. buildSVGImage(org.w3c.dom.Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel) -
Uses of CssContext in com.openhtmltopdf.java2d
Constructors in com.openhtmltopdf.java2d with parameters of type CssContext Constructor Description Java2DSVGReplacedElement(org.w3c.dom.Element e, SVGDrawer svgImpl, int width, int height, Box box, CssContext c) -
Uses of CssContext in com.openhtmltopdf.layout
Classes in com.openhtmltopdf.layout that implement CssContext Modifier and Type Class Description classLayoutContextThis class tracks state which changes over the course of a layout run.Methods in com.openhtmltopdf.layout with parameters of type CssContext Modifier and Type Method Description voidLayer. addPage(CssContext c)private voidLayer. addPagesUntilPosition(CssContext c, int position)private voidFloatManager. alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, FloatManager.FloatDirection direction)private voidFloatManager. alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, FloatManager.FloatDirection direction)private voidFloatManager. applyLineHeightHack(CssContext cssCtx, Box line, java.awt.Rectangle bounds)voidLayer. assignPagePaintingPositions(CssContext cssCtx, int mode, int additionalClearance)voidLayer. assignPagePaintingPositions(CssContext cssCtx, short mode)private intFloatManager. calcDelta(CssContext cssCtx, LineBox line, FloatManager.BoxDistance boxDistance)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)voidBoxCollector. collect(CssContext c, java.awt.Shape clip, Layer layer, java.util.List<Box> blockContent, java.util.List<Box> inlineContent, BoxRangeLists rangeLists)private voidBoxCollector. collectInlineLayer(CssContext c, java.awt.Shape clip, Layer layer, java.util.List<Box> blockContent, java.util.List<Box> inlineContent, BoxRangeLists rangeLists)static PageBoxLayer. createPageBox(CssContext c, java.lang.String pseudoPage)voidLayer. ensureHasPage(CssContext c, Box box)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.private intFloatManager. findLowestY(CssContext cssCtx, java.util.List<FloatManager.BoxOffset> floats)intFloatManager. getClearDelta(CssContext cssCtx, int bfcRelativeY)PageBoxLayer. getFirstPage(CssContext c, int absY)Returns the page box for a Y position.PageBoxLayer. getFirstPage(CssContext c, Box box)intBlockFormattingContext. getFloatDistance(CssContext cssCtx, LineBox line, int containingBlockWidth)private FloatManager.BoxDistanceFloatManager. getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth, java.util.List<FloatManager.BoxOffset> floatsList, FloatManager.FloatDirection direction)PageBoxLayer. getLastPage(CssContext c, Box box)intBlockFormattingContext. getLeftFloatDistance(CssContext cssCtx, LineBox line, int containingBlockWidth)intFloatManager. getLeftFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth)intLayer. getMaxPageWidth(CssContext cssCtx, int additionalClearance)intBlockFormattingContext. getNextLineBoxDelta(CssContext cssCtx, LineBox line, int containingBlockWidth)intFloatManager. getNextLineBoxDelta(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth)PageBoxLayer. getPage(CssContext c, int yOffset)Gets the page box for the given document y offset.java.util.List<PageBox>Layer. getPages(CssContext c, int top, int bottom)Tries to return a list of pages that cover top to bottom.intBlockFormattingContext. getRightFloatDistance(CssContext cssCtx, LineBox line, int containingBlockWidth)intFloatManager. getRightFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth)static intBreaker. getTextWidthWithLetterSpacing(CssContext c, FSFont font, java.lang.String text, float letterSpacing)Gets the width of a string with letter spacing factored in.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 booleanFloatManager. overlaps(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, java.util.List<FloatManager.BoxOffset> floats)private voidFloatManager. position(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, FloatManager.FloatDirection direction)static intInlineBoxing. positionHorizontally(CssContext c, Box current, int start)private static intInlineBoxing. positionHorizontally(CssContext c, InlineLayoutBox current, int start)private static intInlineBoxing. positionHorizontallyILBRTL(CssContext c, InlineLayoutBox current, int start, int width)static intInlineBoxing. positionHorizontallyRTL(CssContext c, Box current, int start, int width)Attempts to layout inline boxes from right to left.voidLayer. propagateCurrentTransformationMatrix(CssContext c)Recursively propagates the transformation matrix.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. trimEmptyPages(CssContext c, int maxYHeight)Constructors in com.openhtmltopdf.layout with parameters of type CssContext Constructor Description 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 CssContext in com.openhtmltopdf.newtable
-
Uses of CssContext in com.openhtmltopdf.pdfboxout
Methods in com.openhtmltopdf.pdfboxout with parameters of type CssContext 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)static PdfBoxPDFReplacedElementPdfBoxPDFReplacedElement. create(org.apache.pdfbox.pdmodel.PDDocument target, byte[] pdfBytes, org.w3c.dom.Element e, Box box, CssContext ctx, SharedContext shared)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>>PdfBoxSlowOutputDevice. findPagePositionsByID(CssContext c, java.util.regex.Pattern pattern)Constructors in com.openhtmltopdf.pdfboxout with parameters of type CssContext Constructor Description 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 CssContext in com.openhtmltopdf.render
Classes in com.openhtmltopdf.render that implement CssContext Modifier and Type Class Description classRenderingContextSupplies information about the context in which rendering will take placeMethods in com.openhtmltopdf.render with parameters of type CssContext Modifier and Type Method Description voidLineBox. align(boolean dynamic, CssContext c)private voidBlockBox. applyCSSMinMaxHeight(CssContext c)private voidBlockBox. applyCSSMinMaxWidth(CssContext c)private java.awt.geom.AreaBox. calcAbsoluteClipBox(CssContext c)private intAbstractOutputDevice. calcBackgroundSizeLength(CssContext c, CalculatedStyle style, PropertyValue value, float boundsDim)protected voidBlockBox. calcChildPaintingInfo(CssContext c, PaintingInfo result, boolean useCache)protected voidBox. calcChildPaintingInfo(CssContext c, PaintingInfo result, boolean useCache)protected voidInlineLayoutBox. calcChildPaintingInfo(CssContext c, PaintingInfo result, boolean useCache)intBlockBox. calcInlineBaseline(CssContext c)private intAbstractOutputDevice. calcOffset(CssContext c, CalculatedStyle style, PropertyValue value, float boundsDim, float imageDim)PaintingInfoBox. calcPaintingInfo(CssContext c, boolean useCache)private intBlockBox. calcPinnedContentWidth(CssContext c)private intBlockBox. calcPinnedHeight(CssContext c)private voidBox. ensureWorkingMargin(CssContext cssContext)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)java.awt.geom.AreaBox. getAbsoluteClipBox(CssContext c)Returns the absolute (ie transformed if needed) clip area for this box.BorderPropertySetBox. getBorder(CssContext cssCtx)java.awt.RectangleBox. getBorderBox(CssContext c)Only to be called after layout, due to double use of getHeight().intBox. getBorderBoxHeight(CssContext c)intBox. getBorderBoxWidth(CssContext c)java.awt.RectangleBox. getBorderEdge(int left, int top, CssContext cssCtx)java.awt.RectangleInlineLayoutBox. getBorderEdge(int left, int top, CssContext cssCtx)private java.awt.RectanglePageBox. getBorderEdge(int left, int top, CssContext cssCtx)intPageBox. getBottom(CssContext c)If we are in a footnote callsPageBox.getBottom(), otherwise usesPageBox.getBottomUsable().java.awt.RectangleBox. getChildrenClipEdge(CssContext c)private intBlockBox. getContainingBlockCSSHeight(CssContext c)java.awt.RectangleBox. getContentAreaEdge(int left, int top, CssContext cssCtx)java.awt.RectangleInlineLayoutBox. getContentAreaEdge(int left, int top, CssContext cssCtx)java.awt.RectangleMarginBox. getContentAreaEdge(int left, int top, CssContext cssCtx)java.awt.RectangleViewportBox. getContentAreaEdge(int left, int top, CssContext cssCtx)intPageBox. getContentHeight(CssContext cssCtx)intPageBox. getContentWidth(CssContext cssCtx)protected intBlockBox. getCSSFitToWidth(CssContext c)protected intBlockBox. getCSSHeight(CssContext c)protected intViewportBox. getCSSHeight(CssContext c)private intBlockBox. getCSSMaxHeight(CssContext c)private intBlockBox. getCSSMaxWidth(CssContext c)private intBlockBox. getCSSMinHeight(CssContext c)private intBlockBox. getCSSMinWidth(CssContext c)protected intBlockBox. getCSSWidth(CssContext c)protected intBlockBox. getCSSWidth(CssContext c, boolean shrinkingToFit)java.awt.RectanglePageBox. getDocumentCoordinatesContentBounds(CssContext c)Get the rectangle that this page's content area will cover of the layed out document.java.awt.RectanglePageBox. getDocumentCoordinatesContentBoundsForInsertedPage(CssContext c, int shadowPageNumber)Get the shadow page (a page inserted to carry cut off content) content area of the layed out document.floatPageBox. getFootnoteMaxHeight(CssContext c)Gets the footnote area max-height if it is provided in the footnote at-rule for this page, otherwise -1.intPageBox. getHeight(CssContext cssCtx)intInlineLayoutBox. getInlineWidth(CssContext cssCtx)java.awt.DimensionPageBox.BottomLeftCorner. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)java.awt.DimensionPageBox.BottomMarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)java.awt.DimensionPageBox.BottomRightCorner. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)java.awt.DimensionPageBox.LeftMarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)abstract java.awt.DimensionPageBox.MarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)java.awt.DimensionPageBox.RightMarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)java.awt.DimensionPageBox.TopLeftCorner. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)java.awt.DimensionPageBox.TopMarginArea. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)java.awt.DimensionPageBox.TopRightCorner. getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)intInlineLayoutBox. getLeftMarginBorderPadding(CssContext cssCtx)RectPropertySetBox. getMargin(CssContext cssContext)RectPropertySetPageBox. getMargin(CssContext cssCtx)intBox. getMarginBorderPadding(CssContext cssCtx, int which)intPageBox. getMarginBorderPadding(CssContext cssCtx, int which)java.awt.RectangleBox. getMarginEdge(int left, int top, CssContext cssCtx, int tx, int ty)java.awt.RectangleBox. getMarginEdge(CssContext cssCtx, int tx, int ty)java.awt.RectangleInlineLayoutBox. getMarginEdge(int left, int top, CssContext cssCtx, int tx, int ty)java.awt.RectangleLineBox. getMarginEdge(CssContext cssCtx, int tx, int ty)intPageBox. getMaxShadowPagesForXPos(CssContext c, int x)Returns the number of shadow pages needed for a given x coordinate.RectPropertySetBox. getPadding(CssContext cssCtx)java.awt.RectangleBox. getPaddingEdge(int left, int top, CssContext cssCtx)java.awt.RectangleMarginBox. getPaddingEdge(int left, int top, CssContext cssCtx)java.awt.RectangleViewportBox. getPaddingEdge(int left, int top, CssContext cssCtx)protected intBox. getPaddingWidth(CssContext cssCtx)protected intMarginBox. getPaddingWidth(CssContext cssCtx)protected intViewportBox. getPaddingWidth(CssContext cssCtx)java.awt.RectanglePageBox. getPagedViewClippingBounds(CssContext cssCtx, int additionalClearance)java.awt.RectangleBox. getPaintingBorderEdge(CssContext cssCtx)java.awt.RectangleBlockBox. getPaintingClipEdge(CssContext cssCtx)java.awt.RectangleBox. getPaintingClipEdge(CssContext cssCtx)java.awt.RectangleLineBox. getPaintingClipEdge(CssContext cssCtx)java.awt.RectangleBox. getPaintingPaddingEdge(CssContext cssCtx)java.awt.RectanglePageBox. getPrintClippingBounds(CssContext cssCtx)java.awt.RectanglePageBox. getPrintPaintingBounds(CssContext cssCtx)intInlineLayoutBox. getRightMarginPaddingBorder(CssContext cssCtx)java.awt.RectanglePageBox. getScreenPaintingBounds(CssContext cssCtx, int additionalClearance)protected RectPropertySetBox. getStyleMargin(CssContext cssContext)protected RectPropertySetBox. getStyleMargin(CssContext cssContext, boolean useCache)intPageBox. getWidth(CssContext cssCtx)booleanBox. hasNonTextContent(CssContext c)booleanInlineLayoutBox. hasNonTextContent(CssContext c)booleanLineBox. hasNonTextContent(CssContext c)booleanBox. intersects(CssContext cssCtx, java.awt.Shape clip)NOTE: This method does not consider any children of this box but does consider the transformation matrix of the containing layer.booleanLineBox. intersects(CssContext cssCtx, java.awt.Shape clip)booleanInlineLayoutBox. intersectsInlineBlocks(CssContext cssCtx, java.awt.Shape clip)private booleanLineBox. intersectsInlineBlocks(CssContext cssCtx, java.awt.Shape clip)private booleanLineBox. intersectsLine(CssContext cssCtx, java.awt.Shape clip)booleanInlineLayoutBox. isAllTextItems(CssContext c)booleanPageBox. isFootnoteReserved(CssContext c)If this page is reserved for footnote content.booleanBlockBox. isNeedsClipOnPaint(CssContext c)voidLineBox. justify(CssContext c)voidBlockBox. positionAbsolute(CssContext cssCtx, int direction)java.awt.DimensionBox. positionRelative(CssContext cssCtx)java.awt.DimensionInlineLayoutBox. positionRelative(CssContext cssCtx)protected voidBox. resetTopMargin(CssContext cssContext)private intPageBox. resolveAutoPageHeight(CssContext cssCtx)Return the default page height if defined, else A4.private intPageBox. resolveAutoPageWidth(CssContext cssCtx)Returns the default page width if defined, else the A4 page size width.private voidPageBox. resolvePageDimensions(CssContext cssCtx)private voidAbstractOutputDevice. scaleBackgroundImage(CssContext c, CalculatedStyle style, java.awt.Rectangle backgroundContainer, FSImage image, CalculatedStyle.BackgroundContainer bgImage)protected voidBox. setBorderBoxHeight(CssContext c, int h)voidBox. setBorderBoxWidth(CssContext c, int borderBoxWidth)voidBox. setMarginBottom(CssContext cssContext, int marginBottom)voidBox. setMarginLeft(CssContext cssContext, int marginLeft)voidBox. setMarginRight(CssContext cssContext, int marginRight)voidBox. setMarginTop(CssContext cssContext, int marginTop)voidPageBox. setTopAndBottom(CssContext cssCtx, int top) -
Uses of CssContext in com.openhtmltopdf.render.displaylist
Methods in com.openhtmltopdf.render.displaylist with parameters of type CssContext Modifier and Type Method Description 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. 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)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)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)voidPagedBoxCollector. collectFloats(CssContext c, Layer layer)private voidPagedBoxCollector. collectInline(CssContext c, Layer layer)static java.awt.geom.AffineTransformTransformCreator. createDocumentCoordinatesTransform(Box master, CssContext c, java.awt.geom.AffineTransform _parentCtm)Creates an absolute transform in document coordinates.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. findEndPage(CssContext c, java.awt.Rectangle bounds, java.awt.geom.AffineTransform transform)static java.util.List<PagedBoxCollector.PageInfo>PagedBoxCollector. findLayerPages(CssContext c, Layer layer, java.util.List<PageBox> pages)Returns the pages a layer appears on including inserted overflow pages.static java.awt.RectanglePagedBoxCollector. findLayerRect(CssContext c, Layer layer)private intPagedBoxCollector.PageFinder. findPage(CssContext c, int yOffset)intPagedBoxCollector.PageFinder. findPageAdjusted(CssContext c, int yOffset)static intPagedBoxCollector. findPageForY(CssContext c, double y, 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)protected intPagedBoxCollector. findStartPage(CssContext c, java.awt.Rectangle bounds, java.awt.geom.AffineTransform transform)private static java.awt.RectanglePagedBoxCollector. getBoxRect(CssContext c, Box container)private java.awt.RectanglePagedBoxCollector.PageResult. getContentWindowOnDocument(PageBox page, CssContext c)private static floatTransformCreator. getPageTranslateX(float absTranslateX, int shadowPageNumber, PageBox page, CssContext c, Box box)static intPagedBoxCollector. getShadowPageForBounds(CssContext c, java.awt.Rectangle bounds, PageBox page)java.awt.RectanglePagedBoxCollector.PageResult. getShadowWindowOnDocument(PageBox page, CssContext c, int shadowPageNumber)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. -
Uses of CssContext in com.openhtmltopdf.svgsupport
Methods in com.openhtmltopdf.svgsupport with parameters of type CssContext 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 CssContext Constructor Description BatikSVGImage(org.w3c.dom.Element svgElement, Box box, double cssWidth, double cssHeight, double cssMaxWidth, double cssMaxHeight, double dotsPerPixel, CssContext ctx)
-