Uses of Interface
com.openhtmltopdf.css.style.CssContext
Packages that use CssContext
Package
Description
-
Uses of CssContext in com.openhtmltopdf.css.constants
Methods in com.openhtmltopdf.css.constants with parameters of type CssContextModifier and TypeMethodDescriptionfloatIdentValue.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 CssContextModifier and TypeMethodDescriptionCalculatedStyle.asLength(CssContext c, CSSName cssName) CalculatedStyle.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) CalculatedStyle.getFont(CssContext ctx) CalculatedStyle.getFSFont(CssContext cssContext) CalculatedStyle.getFSFontMetrics(CssContext c) floatCalculatedStyle.getFSPageBreakMinHeight(CssContext c) CalculatedStyle.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) CalculatedStyle.getMarginRect(float cbWidth, CssContext ctx) Convenience property accessor; returns a Border initialized with the four-sided margin width.CalculatedStyle.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) CalculatedStyle.getPaddingRect(float cbWidth, CssContext ctx) CalculatedStyle.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 CssContextModifierConstructorDescriptionBorderRadiusCorner(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 CssContextModifier and TypeMethodDescriptionstatic floatLengthValue.calcFloatProportionalValue(CalculatedStyle style, CSSName cssName, String stringValue, float relVal, short primitiveType, float baseValue, CssContext ctx) private List<FSLinearGradient.StopPoint> FSLinearGradient.calculateStopPoints(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 CssContextModifierConstructorDescriptionprivateBorderPropertySet(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 CssContextModifier and TypeMethodDescriptionSVGDrawer.buildSVGImage(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 CssContextModifierConstructorDescriptionJava2DSVGReplacedElement(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 CssContextModifier and TypeClassDescriptionclassThis class tracks state which changes over the course of a layout run.Methods in com.openhtmltopdf.layout with parameters of type CssContextModifier and TypeMethodDescriptionvoidLayer.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, 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, 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) private voidBoxCollector.collectInlineLayer(CssContext c, Shape clip, Layer layer, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) static PageBoxLayer.createPageBox(CssContext c, String pseudoPage) voidLayer.ensureHasPage(CssContext c, Box box) Layer.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) Deprecated.private BoxLayer.find(CssContext cssCtx, int absX, int absY, List<Layer> layers, boolean findAnonymous) Deprecated.private intFloatManager.findLowestY(CssContext cssCtx, List<FloatManager.BoxOffset> floats) intFloatManager.getClearDelta(CssContext cssCtx, int bfcRelativeY) Layer.getFirstPage(CssContext c, int absY) Returns the page box for a Y position.Layer.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, List<FloatManager.BoxOffset> floatsList, FloatManager.FloatDirection direction) Layer.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) Layer.getPage(CssContext c, int yOffset) Gets the page box for the given document y offset.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, String text, float letterSpacing) Gets the width of a string with letter spacing factored in.booleanBoxCollector.intersectsAny(CssContext c, Shape clip, Box master) private booleanBoxCollector.intersectsAny(CssContext c, Shape clip, Box master, Box container) private voidFloatManager.moveClear(CssContext cssCtx, BlockFormattingContext bfc, Box current, List<FloatManager.BoxOffset> floats) private voidFloatManager.moveFloatBelow(CssContext cssCtx, BlockFormattingContext bfc, Box current, List<FloatManager.BoxOffset> floats) private booleanFloatManager.overlaps(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, 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.voidRecursively propagates the transformation matrix.private voidBoxCollector.saveRangeData(CssContext c, Box container, List<Box> blockContent, 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 CssContextModifierConstructorDescriptionLayer(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
Methods in com.openhtmltopdf.newtable with parameters of type CssContextModifier and TypeMethodDescriptionvoidTableCellBox.calcCollapsedBorder(CssContext c) intTableBox.calcFixedHeightRowBottom(CssContext c) intTableBox.calcInlineBaseline(CssContext c) private voidTableRowBox.calcRowHeight(CssContext c) private CollapsedBorderValueTableCellBox.collapsedBottomBorder(CssContext c) private CollapsedBorderValueTableCellBox.collapsedLeftBorder(CssContext c) private CollapsedBorderValueTableCellBox.collapsedRightBorder(CssContext c) private CollapsedBorderValueTableCellBox.collapsedTopBorder(CssContext c) TableBox.getBorder(CssContext cssCtx) TableCellBox.getBorder(CssContext cssCtx) private RectangleTableCellBox.getCollapsedBorderBounds(CssContext c) TableBox.getColumnBounds(CssContext c, int col) protected intTableCellBox.getCSSHeight(CssContext c) protected intTableBox.getCSSWidth(CssContext c) TableCellBox.getOuterStyleOrColWidth(CssContext c) TableCellBox.getOuterStyleWidth(CssContext c) TableCellBox.getPaintingClipEdge(CssContext c) intTableBox.marginsBordersPaddingAndSpacing(CssContext c, boolean ignoreAutoMargins) -
Uses of CssContext in com.openhtmltopdf.pdfboxout
Methods in com.openhtmltopdf.pdfboxout with parameters of type CssContextModifier and TypeMethodDescriptionprivate PagePosition<Box> PdfBoxFastOutputDevice.calcPDFPagePosition(CssContext c, String id, Box box) private PagePosition<Box> PdfBoxSlowOutputDevice.calcPDFPagePosition(CssContext c, String id, Box box) static PdfBoxPDFReplacedElementPdfBoxPDFReplacedElement.create(org.apache.pdfbox.pdmodel.PDDocument target, byte[] pdfBytes, Element e, Box box, CssContext ctx, SharedContext shared) PdfBoxFastOutputDevice.findPagePositionsByID(CssContext c, Pattern pattern) PdfBoxOutputDevice.findPagePositionsByID(CssContext c, Pattern pattern) PdfBoxSlowOutputDevice.findPagePositionsByID(CssContext c, Pattern pattern) Constructors in com.openhtmltopdf.pdfboxout with parameters of type CssContextModifierConstructorDescriptionprivatePdfBoxPDFReplacedElement(org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject srcForm, Element e, Box box, CssContext ctx, SharedContext shared, float w, float h) PdfBoxSVGReplacedElement(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 CssContextModifier and TypeClassDescriptionclassSupplies information about the context in which rendering will take placeMethods in com.openhtmltopdf.render with parameters of type CssContextModifier and TypeMethodDescriptionvoidLineBox.align(boolean dynamic, CssContext c) private voidBlockBox.applyCSSMinMaxHeight(CssContext c) private voidBlockBox.applyCSSMinMaxWidth(CssContext c) private 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) Box.calcPaintingInfo(CssContext c, boolean useCache) private intBlockBox.calcPinnedContentWidth(CssContext c) private intBlockBox.calcPinnedHeight(CssContext c) private voidBox.ensureWorkingMargin(CssContext cssContext) AnonymousBlockBox.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) Box.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) InlineLayoutBox.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) LineBox.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) Box.getAbsoluteClipBox(CssContext c) Returns the absolute (ie transformed if needed) clip area for this box.Box.getBorder(CssContext cssCtx) Box.getBorderBox(CssContext c) Only to be called after layout, due to double use of getHeight().intBox.getBorderBoxHeight(CssContext c) intBox.getBorderBoxWidth(CssContext c) Box.getBorderEdge(int left, int top, CssContext cssCtx) InlineLayoutBox.getBorderEdge(int left, int top, CssContext cssCtx) private RectanglePageBox.getBorderEdge(int left, int top, CssContext cssCtx) intPageBox.getBottom(CssContext c) If we are in a footnote callsPageBox.getBottom(), otherwise usesPageBox.getBottomUsable().Box.getChildrenClipEdge(CssContext c) private intBlockBox.getContainingBlockCSSHeight(CssContext c) Box.getContentAreaEdge(int left, int top, CssContext cssCtx) InlineLayoutBox.getContentAreaEdge(int left, int top, CssContext cssCtx) MarginBox.getContentAreaEdge(int left, int top, CssContext cssCtx) ViewportBox.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) PageBox.getDocumentCoordinatesContentBounds(CssContext c) Get the rectangle that this page's content area will cover of the layed out document.PageBox.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) PageBox.BottomLeftCorner.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) PageBox.BottomMarginArea.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) PageBox.BottomRightCorner.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) PageBox.LeftMarginArea.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) abstract DimensionPageBox.MarginArea.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) PageBox.RightMarginArea.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) PageBox.TopLeftCorner.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) PageBox.TopMarginArea.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) PageBox.TopRightCorner.getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) intInlineLayoutBox.getLeftMarginBorderPadding(CssContext cssCtx) Box.getMargin(CssContext cssContext) PageBox.getMargin(CssContext cssCtx) intBox.getMarginBorderPadding(CssContext cssCtx, int which) intPageBox.getMarginBorderPadding(CssContext cssCtx, int which) Box.getMarginEdge(int left, int top, CssContext cssCtx, int tx, int ty) Box.getMarginEdge(CssContext cssCtx, int tx, int ty) InlineLayoutBox.getMarginEdge(int left, int top, CssContext cssCtx, int tx, int ty) LineBox.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.Box.getPadding(CssContext cssCtx) Box.getPaddingEdge(int left, int top, CssContext cssCtx) MarginBox.getPaddingEdge(int left, int top, CssContext cssCtx) ViewportBox.getPaddingEdge(int left, int top, CssContext cssCtx) protected intBox.getPaddingWidth(CssContext cssCtx) protected intMarginBox.getPaddingWidth(CssContext cssCtx) protected intViewportBox.getPaddingWidth(CssContext cssCtx) PageBox.getPagedViewClippingBounds(CssContext cssCtx, int additionalClearance) Box.getPaintingBorderEdge(CssContext cssCtx) BlockBox.getPaintingClipEdge(CssContext cssCtx) Box.getPaintingClipEdge(CssContext cssCtx) LineBox.getPaintingClipEdge(CssContext cssCtx) Box.getPaintingPaddingEdge(CssContext cssCtx) PageBox.getPrintClippingBounds(CssContext cssCtx) PageBox.getPrintPaintingBounds(CssContext cssCtx) intInlineLayoutBox.getRightMarginPaddingBorder(CssContext cssCtx) PageBox.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, 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, Shape clip) booleanInlineLayoutBox.intersectsInlineBlocks(CssContext cssCtx, Shape clip) private booleanLineBox.intersectsInlineBlocks(CssContext cssCtx, Shape clip) private booleanLineBox.intersectsLine(CssContext cssCtx, 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) Box.positionRelative(CssContext cssCtx) InlineLayoutBox.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, 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 CssContextModifier and TypeMethodDescriptionprivate voidPagedBoxCollector.addBlockToAll(CssContext c, Layer layer, Box container, int pgStart, int pgEnd, Shape ourClip, List<PagedBoxCollector.PageResult> clipPages, boolean includeShadowPages) private voidPagedBoxCollector.addBlockToShadowPage(CssContext c, Layer layer, Box container, int pgStart, int pgEnd, Shape ourClip, List<PagedBoxCollector.PageResult> clipPages, int shadowPageNumber) private voidPagedBoxCollector.addBoxToShadowPages(CssContext c, Box container, int pageNumber, PagedBoxCollector.PageResult pageResult, Shape ourClip, 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, List<PropertyValue> transformList, AffineTransform result, Box box, CssContext ctx) private booleanPagedBoxCollector.boxIntersects(CssContext c, Shape clip, Box box, 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 AffineTransformTransformCreator.createDocumentCoordinatesTransform(Box master, CssContext c, AffineTransform _parentCtm) Creates an absolute transform in document coordinates.private static voidTransformCreator.createTransform(CssContext c, Box box, PageBox page, AffineTransform result, TransformCreator.TransformYOrigin transformYOrigin, int shadowPageNumber) pagemay be null in the case thattransformYOriginisDOCUMENT_TOP.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.findEndPage(CssContext c, Rectangle bounds, AffineTransform transform) static List<PagedBoxCollector.PageInfo> PagedBoxCollector.findLayerPages(CssContext c, Layer layer, List<PageBox> pages) Returns the pages a layer appears on including inserted overflow pages.static 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, List<PageBox> pages) protected intPagedBoxCollector.findStartPage(CssContext c, Box container, AffineTransform transform) static intPagedBoxCollector.findStartPage(CssContext c, Box container, List<PageBox> pages) protected intPagedBoxCollector.findStartPage(CssContext c, Rectangle bounds, AffineTransform transform) private static RectanglePagedBoxCollector.getBoxRect(CssContext c, Box container) private 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, Rectangle bounds, PageBox page) PagedBoxCollector.PageResult.getShadowWindowOnDocument(PageBox page, CssContext c, int shadowPageNumber) private booleanPagedBoxCollector.intersectsAggregateBounds(CssContext c, Shape clip, Box box) private booleanPagedBoxCollector.intersectsAny(CssContext c, Shape clip, Box master, Box container) private booleanPagedBoxCollector.intersectsBorderBoxBounds(CssContext c, 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 CssContextModifier and TypeMethodDescriptionBatikSVGDrawer.buildSVGImage(Element svgElement, Box box, CssContext c, double cssWidth, double cssHeight, double dotsPerPixel) private PointBatikSVGImage.parseDimensions(Element e, Box box, CssContext ctx) private IntegerBatikSVGImage.parseLength(String attrValue, CSSName property, Box box, CssContext ctx) private PointBatikSVGImage.parseWidthHeightAttributes(Element e, Box box, CssContext ctx) Constructors in com.openhtmltopdf.svgsupport with parameters of type CssContextModifierConstructorDescriptionBatikSVGImage(Element svgElement, Box box, double cssWidth, double cssHeight, double cssMaxWidth, double cssMaxHeight, double dotsPerPixel, CssContext ctx)