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 TypeMethodDescriptionfloat
IdentValue.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
(CssContext ctx) int
CalculatedStyle.getBorderHSpacing
(CssContext c) private static BorderPropertySet
CalculatedStyle.getBorderProperty
(CalculatedStyle style, CssContext ctx) int
CalculatedStyle.getBorderVSpacing
(CssContext c) float
CalculatedStyle.getFloatPropertyProportionalHeight
(CSSName cssName, float parentHeight, CssContext ctx) float
CalculatedStyle.getFloatPropertyProportionalTo
(CSSName cssName, float baseValue, CssContext ctx) float
CalculatedStyle.getFloatPropertyProportionalWidth
(CSSName cssName, float parentWidth, CssContext ctx) float
DerivedValue.getFloatProportionalTo
(CSSName cssName, float baseValue, CssContext ctx) float
FSDerivedValue.getFloatProportionalTo
(CSSName cssName, float baseValue, CssContext ctx) CalculatedStyle.getFont
(CssContext ctx) CalculatedStyle.getFSFont
(CssContext cssContext) CalculatedStyle.getFSFontMetrics
(CssContext c) float
CalculatedStyle.getLineHeight
(CssContext ctx) int
CalculatedStyle.getMarginBorderPadding
(CssContext cssCtx, int cbWidth, int which) private static RectPropertySet
CalculatedStyle.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) int
CalculatedStyle.getMaxHeight
(CssContext c, int cbHeight) int
CalculatedStyle.getMaxWidth
(CssContext c, int cbWidth) int
CalculatedStyle.getMinHeight
(CssContext c, int cbHeight) int
CalculatedStyle.getMinWidth
(CssContext c, int cbWidth) private static RectPropertySet
CalculatedStyle.getPaddingProperty
(CalculatedStyle style, 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 RectPropertySet
CalculatedStyle.newRectInstance
(CalculatedStyle style, CSSName.CSSSideProperties sides, float cbWidth, CssContext ctx) private void
BorderRadiusCorner.setLeft
(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx) private void
BorderRadiusCorner.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 float
LengthValue.calcFloatProportionalValue
(CalculatedStyle style, CSSName cssName, String stringValue, float relVal, short primitiveType, float baseValue, CssContext ctx) float
LengthValue.getFloatProportionalTo
(CSSName cssName, float baseValue, CssContext ctx) Computes a relative unit (e.g.float
NumberValue.getFloatProportionalTo
(CSSName cssName, float baseValue, CssContext ctx) static BorderPropertySet
BorderPropertySet.newInstance
(CalculatedStyle style, CssContext ctx) static RectPropertySet
RectPropertySet.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 TypeClassDescriptionclass
This class tracks state which changes over the course of a layout run.Methods in org.xhtmlrenderer.layout with parameters of type CssContextModifier and TypeMethodDescriptionvoid
Layer.addPage
(CssContext c) private void
Layer.addPagesUntilPosition
(CssContext c, int position) private void
FloatManager.alignToLastFloat
(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, int direction) private void
FloatManager.alignToLastOpposingFloat
(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, int direction) private void
FloatManager.applyLineHeightHack
(CssContext cssCtx, Box line, Rectangle bounds) void
Layer.assignPagePaintingPositions
(CssContext cssCtx, int mode, int additionalClearance) void
Layer.assignPagePaintingPositions
(CssContext cssCtx, short mode) private int
FloatManager.calcDelta
(CssContext cssCtx, LineBox line, FloatManager.BoxDistance boxDistance) void
FloatManager.clear
(CssContext cssCtx, BlockFormattingContext bfc, Box box) void
BoxCollector.collect
(CssContext c, Shape clip, Layer layer, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) void
BoxCollector.collect
(CssContext c, Shape clip, Layer layer, Box container, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) private void
BoxCollector.collectInlineLayer
(CssContext c, Shape clip, Layer layer, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists) static PageBox
Layer.createPageBox
(CssContext c, String pseudoPage) void
Layer.ensureHasPage
(CssContext c, Box box) Layer.find
(CssContext cssCtx, int absX, int absY, boolean findAnonymous) private Box
Layer.find
(CssContext cssCtx, int absX, int absY, List<Layer> layers, boolean findAnonymous) private int
FloatManager.findLowestY
(CssContext cssCtx, List<FloatManager.BoxOffset> floats) int
FloatManager.getClearDelta
(CssContext cssCtx, int bfcRelativeY) Layer.getFirstPage
(CssContext c, Box box) int
BlockFormattingContext.getFloatDistance
(CssContext cssCtx, LineBox line, int containingBlockWidth) private FloatManager.BoxDistance
FloatManager.getFloatDistance
(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth, List<FloatManager.BoxOffset> floatsList, int direction) Layer.getLastPage
(CssContext c, Box box) int
BlockFormattingContext.getLeftFloatDistance
(CssContext cssCtx, LineBox line, int containingBlockWidth) int
FloatManager.getLeftFloatDistance
(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth) int
Layer.getMaxPageWidth
(CssContext cssCtx, int additionalClearance) int
BlockFormattingContext.getNextLineBoxDelta
(CssContext cssCtx, LineBox line, int containingBlockWidth) int
FloatManager.getNextLineBoxDelta
(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth) Layer.getPage
(CssContext c, int yOffset) int
BlockFormattingContext.getRightFloatDistance
(CssContext cssCtx, LineBox line, int containingBlockWidth) int
FloatManager.getRightFloatDistance
(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth) boolean
BoxCollector.intersectsAny
(CssContext c, Shape clip, Box master) private boolean
BoxCollector.intersectsAny
(CssContext c, Shape clip, Box master, Box container) private void
FloatManager.moveClear
(CssContext cssCtx, BlockFormattingContext bfc, Box current, List<FloatManager.BoxOffset> floats) private void
FloatManager.moveFloatBelow
(CssContext cssCtx, BlockFormattingContext bfc, Box current, List<FloatManager.BoxOffset> floats) private boolean
FloatManager.overlaps
(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, List<FloatManager.BoxOffset> floats) private void
FloatManager.position
(CssContext cssCtx, BlockFormattingContext bfc, BlockBox current, int direction) static int
InlineBoxing.positionHorizontally
(CssContext c, Box current, int start) private static int
InlineBoxing.positionHorizontally
(CssContext c, InlineLayoutBox current, int start) private void
BoxCollector.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 TypeMethodDescriptionvoid
TableCellBox.calcCollapsedBorder
(CssContext c) int
TableBox.calcFixedHeightRowBottom
(CssContext c) int
TableBox.calcInlineBaseline
(CssContext c) private void
TableRowBox.calcRowHeight
(CssContext c) private CollapsedBorderValue
TableCellBox.collapsedBottomBorder
(CssContext c) private CollapsedBorderValue
TableCellBox.collapsedLeftBorder
(CssContext c) private CollapsedBorderValue
TableCellBox.collapsedRightBorder
(CssContext c) private CollapsedBorderValue
TableCellBox.collapsedTopBorder
(CssContext c) TableBox.getBorder
(CssContext cssCtx) TableCellBox.getBorder
(CssContext cssCtx) private Rectangle
TableCellBox.getCollapsedBorderBounds
(CssContext c) TableBox.getColumnBounds
(CssContext c, int col) protected int
TableCellBox.getCSSHeight
(CssContext c) protected int
TableBox.getCSSWidth
(CssContext c) TableCellBox.getOuterStyleOrColWidth
(CssContext c) TableCellBox.getOuterStyleWidth
(CssContext c) TableCellBox.getPaintingClipEdge
(CssContext c) int
TableBox.marginsBordersPaddingAndSpacing
(CssContext c, boolean ignoreAutoMargins) -
Uses of CssContext in org.xhtmlrenderer.pdf
Methods in org.xhtmlrenderer.pdf with parameters of type CssContextModifier and TypeMethodDescriptionprivate PagePosition
ITextOutputDevice.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 TypeClassDescriptionclass
Supplies information about the context in which rendering will take placeMethods in org.xhtmlrenderer.render with parameters of type CssContextModifier and TypeMethodDescriptionprivate void
BlockBox.applyCSSMinMaxHeight
(CssContext c) private void
BlockBox.applyCSSMinMaxWidth
(CssContext c) private int
AbstractOutputDevice.calcBackgroundSizeLength
(CssContext c, CalculatedStyle style, PropertyValue value, float boundsDim) protected void
BlockBox.calcChildPaintingInfo
(CssContext c, PaintingInfo result, boolean useCache) protected void
Box.calcChildPaintingInfo
(CssContext c, PaintingInfo result, boolean useCache) protected void
InlineLayoutBox.calcChildPaintingInfo
(CssContext c, PaintingInfo result, boolean useCache) int
BlockBox.calcInlineBaseline
(CssContext c) private int
AbstractOutputDevice.calcOffset
(CssContext c, CalculatedStyle style, PropertyValue value, float boundsDim, float imageDim) Box.calcPaintingInfo
(CssContext c, boolean useCache) private int
BlockBox.calcPinnedContentWidth
(CssContext c) private int
BlockBox.calcPinnedHeight
(CssContext c) private void
Box.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.getBorder
(CssContext cssCtx) Box.getBorderEdge
(int left, int top, CssContext cssCtx) InlineLayoutBox.getBorderEdge
(int left, int top, CssContext cssCtx) private Rectangle
PageBox.getBorderEdge
(int left, int top, CssContext cssCtx) private int
BlockBox.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) int
PageBox.getContentHeight
(CssContext cssCtx) int
PageBox.getContentWidth
(CssContext cssCtx) protected int
BlockBox.getCSSFitToWidth
(CssContext c) protected int
BlockBox.getCSSHeight
(CssContext c) protected int
ViewportBox.getCSSHeight
(CssContext c) private int
BlockBox.getCSSMaxHeight
(CssContext c) private int
BlockBox.getCSSMaxWidth
(CssContext c) private int
BlockBox.getCSSMinHeight
(CssContext c) private int
BlockBox.getCSSMinWidth
(CssContext c) protected int
BlockBox.getCSSWidth
(CssContext c) protected int
BlockBox.getCSSWidth
(CssContext c, boolean shrinkingToFit) int
PageBox.getHeight
(CssContext cssCtx) int
InlineLayoutBox.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 Dimension
PageBox.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) int
InlineLayoutBox.getLeftMarginBorderPadding
(CssContext cssCtx) Box.getMargin
(CssContext cssContext) PageBox.getMargin
(CssContext cssCtx) int
Box.getMarginBorderPadding
(CssContext cssCtx, int which) int
PageBox.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) 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 int
Box.getPaddingWidth
(CssContext cssCtx) protected int
MarginBox.getPaddingWidth
(CssContext cssCtx) protected int
ViewportBox.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) int
InlineLayoutBox.getRightMarginPaddingBorder
(CssContext cssCtx) PageBox.getScreenPaintingBounds
(CssContext cssCtx, int additionalClearance) protected RectPropertySet
Box.getStyleMargin
(CssContext cssContext) protected RectPropertySet
Box.getStyleMarginNoCache
(CssContext cssContext) int
PageBox.getWidth
(CssContext cssCtx) boolean
Box.intersects
(CssContext cssCtx, Shape clip) NOTE: This method does not consider any children of this boxboolean
LineBox.intersects
(CssContext cssCtx, Shape clip) boolean
InlineLayoutBox.intersectsInlineBlocks
(CssContext cssCtx, Shape clip) private boolean
LineBox.intersectsInlineBlocks
(CssContext cssCtx, Shape clip) private boolean
LineBox.intersectsLine
(CssContext cssCtx, Shape clip) void
BlockBox.positionAbsolute
(CssContext cssCtx, int direction) Box.positionRelative
(CssContext cssCtx) InlineLayoutBox.positionRelative
(CssContext cssCtx) protected void
Box.resetTopMargin
(CssContext cssContext) private int
PageBox.resolveAutoPageHeight
(CssContext cssCtx) private int
PageBox.resolveAutoPageWidth
(CssContext cssCtx) private void
PageBox.resolvePageDimensions
(CssContext cssCtx) private void
AbstractOutputDevice.scaleBackgroundImage
(CssContext c, CalculatedStyle style, Rectangle backgroundContainer, FSImage image) void
Box.setMarginBottom
(CssContext cssContext, int marginBottom) void
Box.setMarginLeft
(CssContext cssContext, int marginLeft) void
Box.setMarginRight
(CssContext cssContext, int marginRight) void
Box.setMarginTop
(CssContext cssContext, int marginTop) void
PageBox.setTopAndBottom
(CssContext cssCtx, int top)