Uses of Interface
org.xhtmlrenderer.css.style.CssContext
Packages that use CssContext
Package
Description
-
Uses of CssContext in org.xhtmlrenderer.css.constants
Methods in org.xhtmlrenderer.css.constants with parameters of type CssContextModifier and TypeMethodDescriptionfloatIdentValue.getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx) -
Uses of CssContext in org.xhtmlrenderer.css.style
Methods in org.xhtmlrenderer.css.style with parameters of type CssContextModifier and TypeMethodDescriptionCalculatedStyle.asLength(CssContext c, CSSName cssName) CalculatedStyle.getBorder(@Nullable CssContext ctx) intCalculatedStyle.getBorderHSpacing(CssContext c) private static BorderPropertySetCalculatedStyle.getBorderProperty(CalculatedStyle style, @Nullable CssContext ctx) intCalculatedStyle.getBorderVSpacing(CssContext c) 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) intCalculatedStyle.getIntPropertyProportionalTo(CSSName cssName, float baseValue, CssContext ctx) floatCalculatedStyle.getLineHeight(CssContext ctx) intCalculatedStyle.getMarginBorderPadding(CssContext cssCtx, int cbWidth, CalculatedStyle.Edge edge) private static RectPropertySetCalculatedStyle.getMarginProperty(CalculatedStyle style, 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, float cbWidth, CssContext ctx) CalculatedStyle.getPaddingRect(float cbWidth, CssContext ctx) Convenience property accessor; returns a Border initialized with the four-sided padding width.private static RectPropertySetCalculatedStyle.newRectInstance(CalculatedStyle style, 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 org.xhtmlrenderer.css.style with parameters of type CssContextModifierConstructorDescriptionBorderRadiusCorner(CSSName fromVal, CalculatedStyle style, CssContext ctx) -
Uses of CssContext in org.xhtmlrenderer.css.style.derived
Methods in org.xhtmlrenderer.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 static floatBorderPropertySet.calculate(CalculatedStyle style, CSSName borderStyle, CSSName borderWidth, CssContext ctx) 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, @Nullable CssContext ctx) static RectPropertySetRectPropertySet.newInstance(CalculatedStyle style, CSSName.CSSSideProperties sideProperties, float cbWidth, CssContext ctx) Constructors in org.xhtmlrenderer.css.style.derived with parameters of type CssContext -
Uses of CssContext in org.xhtmlrenderer.layout
Classes in org.xhtmlrenderer.layout that implement CssContextModifier and TypeClassDescriptionclassThis class tracks state which changes over the course of a layout run.Methods in org.xhtmlrenderer.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.Direction direction) private voidFloatManager.alignToLastOpposingFloat(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, FloatManager.Direction direction) private voidFloatManager.applyLineHeightHack(CssContext cssCtx, Box line, Rectangle bounds) voidLayer.assignPagePaintingPositions(CssContext cssCtx, Layer.PagedMode mode) voidLayer.assignPagePaintingPositions(CssContext cssCtx, Layer.PagedMode mode, int additionalClearance) 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, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) voidBoxCollector.collect(CssContext c, Shape clip, Layer layer, Box container, 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) static PageBoxLayer.createPageBox(CssContext c, String pseudoPage, int top, int pageNo) voidLayer.ensureHasPage(CssContext c, Box box) @Nullable BoxLayer.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) private @Nullable BoxLayer.find(CssContext cssCtx, int absX, int absY, List<Layer> layers, boolean findAnonymous) private intFloatManager.findLowestY(CssContext cssCtx, List<FloatManager.BoxOffset> floats) intFloatManager.getClearDelta(CssContext cssCtx, int bfcRelativeY) @Nullable 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, List<FloatManager.BoxOffset> floatsList, FloatManager.Direction direction) @Nullable 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) @Nullable PageBoxLayer.getPage(CssContext c, int yOffset) intBlockFormattingContext.getRightFloatDistance(CssContext cssCtx, LineBox line, int containingBlockWidth) intFloatManager.getRightFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth) 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.Direction direction) static intInlineBoxing.positionHorizontally(CssContext c, Box current, int start) private static intInlineBoxing.positionHorizontally(CssContext c, InlineLayoutBox current, int start) 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) -
Uses of CssContext in org.xhtmlrenderer.newtable
Methods in org.xhtmlrenderer.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 org.xhtmlrenderer.pdf
Methods in org.xhtmlrenderer.pdf with parameters of type CssContextModifier and TypeMethodDescriptionprivate @Nullable PagePositionITextOutputDevice.calcPDFPagePosition(CssContext c, String id, Box box) ITextOutputDevice.findPagePositionsByID(CssContext c, Pattern pattern) -
Uses of CssContext in org.xhtmlrenderer.render
Classes in org.xhtmlrenderer.render that implement CssContextModifier and TypeClassDescriptionclassSupplies information about the context in which rendering will take placeMethods in org.xhtmlrenderer.render with parameters of type CssContextModifier and TypeMethodDescriptionprivate voidBlockBox.applyCSSMinMaxHeight(CssContext c) private voidBlockBox.applyCSSMinMaxWidth(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 @NonNull RectPropertySetBox.ensureWorkingMargin(CssContext cssContext) @Nullable BoxAnonymousBlockBox.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) @Nullable BoxBox.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) @Nullable BoxInlineLayoutBox.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) @Nullable BoxLineBox.find(CssContext cssCtx, int absX, int absY, boolean findAnonymous) Box.getBorder(CssContext cssCtx) 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) 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) intPageBox.getHeight(CssContext cssCtx) intInlineLayoutBox.getInlineWidth(CssContext cssContext) 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, CalculatedStyle.Edge edge) intPageBox.getMarginBorderPadding(CssContext cssCtx, CalculatedStyle.Edge edge) 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) 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) private PageBox.PageDimensionsPageBox.getPageDimensions(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.getStyleMarginNoCache(CssContext cssContext) intPageBox.getWidth(CssContext cssCtx) booleanBox.intersects(CssContext cssCtx, @Nullable Shape clip) NOTE: This method does not consider any children of this boxbooleanLineBox.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) voidBlockBox.positionAbsolute(CssContext cssCtx, BlockBox.Position direction) Box.positionRelative(CssContext cssCtx) InlineLayoutBox.positionRelative(CssContext cssCtx) protected voidBox.resetTopMargin(CssContext cssContext) private intPageBox.resolveAutoPageHeight(CssContext cssCtx) private intPageBox.resolveAutoPageWidth(CssContext cssCtx) private PageBox.PageDimensionsPageBox.resolvePageDimensions(CssContext cssCtx) private FSImageAbstractOutputDevice.scaleBackgroundImage(CssContext c, CalculatedStyle style, Rectangle backgroundContainer, FSImage image) protected voidBox.setMarginBottom(CssContext cssContext, int marginBottom) voidBox.setMarginLeft(CssContext cssContext, int marginLeft) protected voidBox.setMarginRight(CssContext cssContext, int marginRight) protected final voidBox.setMarginTop(CssContext cssContext, int marginTop) Constructors in org.xhtmlrenderer.render with parameters of type CssContextModifierConstructorDescriptionPageBox(PageInfo pageInfo, CssContext cssContext, CalculatedStyle style, int top, int pageNo)