Uses of Interface
org.xhtmlrenderer.css.style.CssContext
-
-
Uses of CssContext in org.xhtmlrenderer.css.constants
Methods in org.xhtmlrenderer.css.constants with parameters of type CssContext Modifier and Type Method Description float
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 CssContext Modifier and Type Method Description Length
CalculatedStyle. asLength(CssContext c, CSSName cssName)
BorderPropertySet
CalculatedStyle. getBorder(CssContext ctx)
int
CalculatedStyle. getBorderHSpacing(CssContext c)
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)
FontSpecification
CalculatedStyle. getFont(CssContext ctx)
FSFont
CalculatedStyle. getFSFont(CssContext cssContext)
FSFontMetrics
CalculatedStyle. getFSFontMetrics(CssContext c)
float
CalculatedStyle. getLineHeight(CssContext ctx)
int
CalculatedStyle. getMarginBorderPadding(CssContext cssCtx, int cbWidth, int which)
RectPropertySet
CalculatedStyle. getMarginRect(float cbWidth, CssContext ctx)
Convenience property accessor; returns a Border initialized with the four-sided margin width.RectPropertySet
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)
RectPropertySet
CalculatedStyle. getPaddingRect(float cbWidth, CssContext ctx)
RectPropertySet
CalculatedStyle. getPaddingRect(float cbWidth, CssContext ctx, boolean useCache)
Convenience property accessor; returns a Border initialized with the four-sided padding width. -
Uses of CssContext in org.xhtmlrenderer.css.style.derived
Methods in org.xhtmlrenderer.css.style.derived with parameters of type CssContext Modifier and Type Method Description static float
LengthValue. calcFloatProportionalValue(CalculatedStyle style, CSSName cssName, java.lang.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 shortHandProperty, CSSName[] sideProperties, float cbWidth, CssContext ctx)
-
Uses of CssContext in org.xhtmlrenderer.layout
Classes in org.xhtmlrenderer.layout that implement CssContext Modifier and Type Class Description class
LayoutContext
This class tracks state which changes over the course of a layout run.Methods in org.xhtmlrenderer.layout with parameters of type CssContext Modifier and Type Method Description void
Layer. addPage(CssContext c)
void
Layer. assignPagePaintingPositions(CssContext cssCtx, int mode, int additionalClearance)
void
Layer. assignPagePaintingPositions(CssContext cssCtx, short mode)
void
FloatManager. clear(CssContext cssCtx, BlockFormattingContext bfc, Box box)
void
BoxCollector. collect(CssContext c, java.awt.Shape clip, Layer layer, java.util.List blockContent, java.util.List inlineContent, BoxRangeLists rangeLists)
void
BoxCollector. collect(CssContext c, java.awt.Shape clip, Layer layer, Box container, java.util.List blockContent, java.util.List inlineContent, BoxRangeLists rangeLists)
static PageBox
Layer. createPageBox(CssContext c, java.lang.String pseudoPage)
void
Layer. ensureHasPage(CssContext c, Box box)
Box
Layer. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)
int
FloatManager. getClearDelta(CssContext cssCtx, int bfcRelativeY)
PageBox
Layer. getFirstPage(CssContext c, Box box)
int
BlockFormattingContext. getFloatDistance(CssContext cssCtx, LineBox line, int containingBlockWidth)
PageBox
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)
PageBox
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, java.awt.Shape clip, Box master)
static int
InlineBoxing. positionHorizontally(CssContext c, Box current, int start)
void
Layer. trimEmptyPages(CssContext c, int maxYHeight)
-
Uses of CssContext in org.xhtmlrenderer.newtable
Methods in org.xhtmlrenderer.newtable with parameters of type CssContext Modifier and Type Method Description void
TableCellBox. calcCollapsedBorder(CssContext c)
int
TableBox. calcFixedHeightRowBottom(CssContext c)
int
TableBox. calcInlineBaseline(CssContext c)
BorderPropertySet
TableBox. getBorder(CssContext cssCtx)
BorderPropertySet
TableCellBox. getBorder(CssContext cssCtx)
java.awt.Rectangle
TableBox. getColumnBounds(CssContext c, int col)
Length
TableCellBox. getOuterStyleOrColWidth(CssContext c)
Length
TableCellBox. getOuterStyleWidth(CssContext c)
java.awt.Rectangle
TableCellBox. getPaintingClipEdge(CssContext c)
int
TableBox. marginsBordersPaddingAndSpacing(CssContext c)
-
Uses of CssContext in org.xhtmlrenderer.pdf
Methods in org.xhtmlrenderer.pdf with parameters of type CssContext Modifier and Type Method Description java.util.List
ITextOutputDevice. findPagePositionsByID(CssContext c, java.util.regex.Pattern pattern)
-
Uses of CssContext in org.xhtmlrenderer.render
Classes in org.xhtmlrenderer.render that implement CssContext Modifier and Type Class Description class
RenderingContext
Supplies information about the context in which rendering will take placeMethods in org.xhtmlrenderer.render with parameters of type CssContext Modifier and Type Method Description int
BlockBox. calcInlineBaseline(CssContext c)
PaintingInfo
Box. calcPaintingInfo(CssContext c, boolean useCache)
Box
AnonymousBlockBox. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)
Box
Box. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)
Box
InlineLayoutBox. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)
Box
LineBox. find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)
BorderPropertySet
Box. getBorder(CssContext cssCtx)
java.awt.Rectangle
Box. getBorderEdge(int left, int top, CssContext cssCtx)
java.awt.Rectangle
InlineLayoutBox. getBorderEdge(int left, int top, CssContext cssCtx)
java.awt.Rectangle
Box. getContentAreaEdge(int left, int top, CssContext cssCtx)
java.awt.Rectangle
InlineLayoutBox. getContentAreaEdge(int left, int top, CssContext cssCtx)
java.awt.Rectangle
MarginBox. getContentAreaEdge(int left, int top, CssContext cssCtx)
java.awt.Rectangle
ViewportBox. getContentAreaEdge(int left, int top, CssContext cssCtx)
int
PageBox. getContentHeight(CssContext cssCtx)
int
PageBox. getContentWidth(CssContext cssCtx)
int
PageBox. getHeight(CssContext cssCtx)
int
InlineLayoutBox. getInlineWidth(CssContext cssCtx)
int
InlineLayoutBox. getLeftMarginBorderPadding(CssContext cssCtx)
RectPropertySet
Box. getMargin(CssContext cssContext)
RectPropertySet
PageBox. getMargin(CssContext cssCtx)
int
Box. getMarginBorderPadding(CssContext cssCtx, int which)
int
PageBox. getMarginBorderPadding(CssContext cssCtx, int which)
java.awt.Rectangle
Box. getMarginEdge(int left, int top, CssContext cssCtx, int tx, int ty)
java.awt.Rectangle
Box. getMarginEdge(CssContext cssCtx, int tx, int ty)
java.awt.Rectangle
InlineLayoutBox. getMarginEdge(int left, int top, CssContext cssCtx, int tx, int ty)
java.awt.Rectangle
LineBox. getMarginEdge(CssContext cssCtx, int tx, int ty)
RectPropertySet
Box. getPadding(CssContext cssCtx)
java.awt.Rectangle
Box. getPaddingEdge(int left, int top, CssContext cssCtx)
java.awt.Rectangle
MarginBox. getPaddingEdge(int left, int top, CssContext cssCtx)
java.awt.Rectangle
ViewportBox. getPaddingEdge(int left, int top, CssContext cssCtx)
java.awt.Rectangle
PageBox. getPagedViewClippingBounds(CssContext cssCtx, int additionalClearance)
java.awt.Rectangle
Box. getPaintingBorderEdge(CssContext cssCtx)
java.awt.Rectangle
BlockBox. getPaintingClipEdge(CssContext cssCtx)
java.awt.Rectangle
Box. getPaintingClipEdge(CssContext cssCtx)
java.awt.Rectangle
LineBox. getPaintingClipEdge(CssContext cssCtx)
java.awt.Rectangle
Box. getPaintingPaddingEdge(CssContext cssCtx)
java.awt.Rectangle
PageBox. getPrintClippingBounds(CssContext cssCtx)
java.awt.Rectangle
PageBox. getPrintPaintingBounds(CssContext cssCtx)
int
InlineLayoutBox. getRightMarginPaddingBorder(CssContext cssCtx)
java.awt.Rectangle
PageBox. getScreenPaintingBounds(CssContext cssCtx, int additionalClearance)
int
PageBox. getWidth(CssContext cssCtx)
boolean
Box. intersects(CssContext cssCtx, java.awt.Shape clip)
NOTE: This method does not consider any children of this boxboolean
LineBox. intersects(CssContext cssCtx, java.awt.Shape clip)
boolean
InlineLayoutBox. intersectsInlineBlocks(CssContext cssCtx, java.awt.Shape clip)
void
BlockBox. positionAbsolute(CssContext cssCtx, int direction)
java.awt.Dimension
Box. positionRelative(CssContext cssCtx)
java.awt.Dimension
InlineLayoutBox. positionRelative(CssContext cssCtx)
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)
-