Uses of Class
org.xhtmlrenderer.css.style.CalculatedStyle
Packages that use CalculatedStyle
Package
Description
-
Uses of CalculatedStyle in org.xhtmlrenderer.css.sheet
Fields in org.xhtmlrenderer.css.sheet declared as CalculatedStyleMethods in org.xhtmlrenderer.css.sheet that return CalculatedStyle -
Uses of CalculatedStyle in org.xhtmlrenderer.css.style
Subclasses of CalculatedStyle in org.xhtmlrenderer.css.styleModifier and TypeClassDescriptionclass
Represents the outer box to be used for evaluating positioning of internal boxesFields in org.xhtmlrenderer.css.style declared as CalculatedStyleModifier and TypeFieldDescriptionprivate final @Nullable CalculatedStyle
CalculatedStyle._parent
The parent-style we inherit fromFields in org.xhtmlrenderer.css.style with type parameters of type CalculatedStyleModifier and TypeFieldDescriptionprivate final Map<String,
CalculatedStyle> CalculatedStyle._childCache
Cache child styles of this style that have the same cascaded propertiesMethods in org.xhtmlrenderer.css.style that return CalculatedStyleModifier and TypeMethodDescriptionCalculatedStyle.createAnonymousStyle
(IdentValue display) @NonNull CalculatedStyle
CalculatedStyle.deriveStyle
(CascadedStyle matched) derives a child style from this style.@Nullable CalculatedStyle
CalculatedStyle.getParent()
Methods in org.xhtmlrenderer.css.style with parameters of type CalculatedStyleModifier and TypeMethodDescriptionprivate static BorderPropertySet
CalculatedStyle.getBorderProperty
(CalculatedStyle style, @Nullable CssContext ctx) private static RectPropertySet
CalculatedStyle.getMarginProperty
(CalculatedStyle style, float cbWidth, CssContext ctx, boolean useCache) private static RectPropertySet
CalculatedStyle.getPaddingProperty
(CalculatedStyle style, float cbWidth, CssContext ctx) 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 CalculatedStyleModifierConstructorDescriptionBorderRadiusCorner
(CSSName fromVal, CalculatedStyle style, CssContext ctx) private
CalculatedStyle
(@Nullable CalculatedStyle parent) private
CalculatedStyle
(CalculatedStyle parent, CascadedStyle matched) Constructor for the CalculatedStyle object. -
Uses of CalculatedStyle in org.xhtmlrenderer.css.style.derived
Fields in org.xhtmlrenderer.css.style.derived declared as CalculatedStyleMethods in org.xhtmlrenderer.css.style.derived that return CalculatedStyleMethods in org.xhtmlrenderer.css.style.derived with parameters of type CalculatedStyleModifier and TypeMethodDescriptionstatic float
LengthValue.calcFloatProportionalValue
(CalculatedStyle style, CSSName cssName, String stringValue, float relVal, short primitiveType, float baseValue, CssContext ctx) private static float
BorderPropertySet.calculate
(CalculatedStyle style, CSSName borderStyle, CSSName borderWidth, CssContext ctx) static FSDerivedValue
DerivedValueFactory.newDerivedValue
(@Nullable CalculatedStyle style, CSSName cssName, PropertyValue value) static BorderPropertySet
BorderPropertySet.newInstance
(CalculatedStyle style, @Nullable 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 CalculatedStyleModifierConstructorDescriptionprivate
BorderPropertySet
(CalculatedStyle style, CssContext ctx) LengthValue
(CalculatedStyle style, CSSName name, PropertyValue value) -
Uses of CalculatedStyle in org.xhtmlrenderer.extend
Methods in org.xhtmlrenderer.extend with parameters of type CalculatedStyleModifier and TypeMethodDescriptionvoid
OutputDevice.paintBackground
(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border) void
OutputDevice.paintBorder
(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides) -
Uses of CalculatedStyle in org.xhtmlrenderer.fop
Methods in org.xhtmlrenderer.fop with parameters of type CalculatedStyleModifier and TypeMethodDescriptionFOPLineBreakingStrategy.getBreakPointsProvider
(String text, String lang, CalculatedStyle style) private Set<BreakPoint>
FOPLineBreakingStrategy.getPoints
(String text, String lang, CalculatedStyle style) -
Uses of CalculatedStyle in org.xhtmlrenderer.layout
Fields in org.xhtmlrenderer.layout with type parameters of type CalculatedStyleModifier and TypeFieldDescriptionprivate final Map<CalculatedStyle,
LayoutContext.CounterContext> LayoutContext._counterContextMap
private @Nullable Map<Element,
CalculatedStyle> SharedContext.styleMap
Methods in org.xhtmlrenderer.layout that return CalculatedStyleModifier and TypeMethodDescriptionStyleTracker.deriveAll
(CalculatedStyle start) @Nullable CalculatedStyle
Styleable.getStyle()
Methods in org.xhtmlrenderer.layout with parameters of type CalculatedStyleModifier and TypeMethodDescriptionprivate static void
BoxBuilder.addColumnOrColumnGroup
(LayoutContext c, TableBox table, Element e, CalculatedStyle style) private static BlockBox
BoxBuilder.createBlockBox
(Element source, CalculatedStyle style, BoxBuilder.ChildBoxInfo info, boolean generated, boolean anonymous) BoxBuilder.createGeneratedContent
(LayoutContext c, Element element, String peName, CalculatedStyle style, PropertyValue property, BoxBuilder.ChildBoxInfo info) BoxBuilder.createGeneratedContentList
(LayoutContext c, Element element, PropertyValue propValue, @Nullable String peName, CalculatedStyle style, int mode, @Nullable BoxBuilder.ChildBoxInfo info) BoxBuilder.createGeneratedMarginBoxContent
(LayoutContext c, Element element, PropertyValue property, CalculatedStyle style, BoxBuilder.ChildBoxInfo info) private static InlineBox
BoxBuilder.createInlineBox
(String text, Element parent, CalculatedStyle parentStyle, @Nullable Text node) StyleTracker.deriveAll
(CalculatedStyle start) LayoutContext.getCounterContext
(CalculatedStyle style) private static boolean
InlineBoxing.hasTrimmableLeadingSpace
(LineBox line, CalculatedStyle style, LineBreakContext lbContext, boolean zeroWidthInlineBlock) private static void
BoxBuilder.insertGeneratedContent
(LayoutContext c, Element element, CalculatedStyle parentStyle, String peName, List<Styleable> children, BoxBuilder.ChildBoxInfo info) private static InlineText
InlineBoxing.layoutText
(LayoutContext c, CalculatedStyle style, int remainingWidth, LineBreakContext lbContext, boolean needFirstLetter) private static @Nullable CounterFunction
BoxBuilder.makeCounterFunction
(FSFunction function, LayoutContext c, CalculatedStyle style) void
LayoutContext.resolveCounters
(CalculatedStyle style) void
LayoutContext.resolveCounters
(CalculatedStyle style, @Nullable Integer startIndex) void
Styleable.setStyle
(@Nullable CalculatedStyle style) static String
TextUtil.transformFirstLetterText
(String text, CalculatedStyle style) static String
TextUtil.transformText
(String text, CalculatedStyle style) Constructors in org.xhtmlrenderer.layout with parameters of type CalculatedStyleModifierConstructorDescription(package private)
CounterContext
(CalculatedStyle style, @Nullable Integer startIndex) A CounterContext should really be reflected in the element hierarchy, but CalculatedStyles reflect the ancestor hierarchy just as well and also handles pseudo-elements seamlessly. -
Uses of CalculatedStyle in org.xhtmlrenderer.layout.breaker
Methods in org.xhtmlrenderer.layout.breaker with parameters of type CalculatedStyleModifier and TypeMethodDescriptionstatic void
Breaker.breakFirstLetter
(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style) static void
Breaker.breakText
(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style) private static void
Breaker.doBreakText
(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style, boolean tryToBreakAnywhere) static BreakPointsProvider
Breaker.getBreakPointsProvider
(String text, LayoutContext c, Element element, CalculatedStyle style) static BreakPointsProvider
Breaker.getBreakPointsProvider
(String text, LayoutContext c, Text textNode, CalculatedStyle style) DefaultLineBreakingStrategy.getBreakPointsProvider
(String text, String lang, CalculatedStyle style) LineBreakingStrategy.getBreakPointsProvider
(String text, String lang, CalculatedStyle style) -
Uses of CalculatedStyle in org.xhtmlrenderer.newtable
Fields in org.xhtmlrenderer.newtable declared as CalculatedStyleMethods in org.xhtmlrenderer.newtable that return CalculatedStyleMethods in org.xhtmlrenderer.newtable with parameters of type CalculatedStyleModifier and TypeMethodDescriptionfinal void
TableBox.setStyle
(CalculatedStyle style) void
TableColumn.setStyle
(@Nullable CalculatedStyle style) Constructors in org.xhtmlrenderer.newtable with parameters of type CalculatedStyleModifierConstructorDescriptionTableBox
(@Nullable Element element, @Nullable CalculatedStyle style, boolean anonymous) TableCellBox
(@Nullable Element source, @Nullable CalculatedStyle style, boolean anonymous) TableColumn
(Element element, CalculatedStyle style) TableRowBox
(@Nullable Element element, @Nullable CalculatedStyle style, boolean anonymous) TableSectionBox
(@Nullable Element element, @Nullable CalculatedStyle style, boolean anonymous) -
Uses of CalculatedStyle in org.xhtmlrenderer.render
Fields in org.xhtmlrenderer.render declared as CalculatedStyleModifier and TypeFieldDescriptionprivate @Nullable CalculatedStyle
Box._style
private @Nullable CalculatedStyle
InlineBox._style
private final CalculatedStyle
PageBox._style
Methods in org.xhtmlrenderer.render that return CalculatedStyleModifier and TypeMethodDescriptionfinal @Nullable CalculatedStyle
Box.getStyle()
@Nullable CalculatedStyle
InlineBox.getStyle()
PageBox.getStyle()
Methods in org.xhtmlrenderer.render with parameters of type CalculatedStyleModifier and TypeMethodDescriptionprivate int
AbstractOutputDevice.calcBackgroundSizeLength
(CssContext c, CalculatedStyle style, PropertyValue value, float boundsDim) private int
AbstractOutputDevice.calcOffset
(CssContext c, CalculatedStyle style, PropertyValue value, float boundsDim, float imageDim) private static void
ListItemPainter.drawGlyph
(RenderingContext c, BlockBox box, CalculatedStyle style) private @Nullable FSImage
AbstractOutputDevice.getBackgroundImage
(RenderingContext c, CalculatedStyle style) void
AbstractOutputDevice.paintBackground
(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border) private void
AbstractOutputDevice.paintBackground0
(RenderingContext c, CalculatedStyle style, Rectangle backgroundBounds, Rectangle bgImageContainer, BorderPropertySet border) void
AbstractOutputDevice.paintBorder
(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides) private FSImage
AbstractOutputDevice.scaleBackgroundImage
(CssContext c, CalculatedStyle style, Rectangle backgroundContainer, FSImage image) void
Box.setStyle
(@Nullable CalculatedStyle style) void
InlineBox.setStyle
(@Nullable CalculatedStyle style) void
BlockBox.styleText
(LayoutContext c, CalculatedStyle style) Constructors in org.xhtmlrenderer.render with parameters of type CalculatedStyleModifierConstructorDescriptionAnonymousBlockBox
(Element element, CalculatedStyle style, List<InlineBox> savedParents, List<Styleable> inlineContent) BlockBox
(@Nullable Element element, @Nullable CalculatedStyle style, boolean anonymous) protected
Box
(@Nullable Element element, @Nullable CalculatedStyle style, boolean anonymous) protected
Box
(@Nullable Box parent, @Nullable CalculatedStyle style) InlineBox
(String text, @Nullable Text textNode, @Nullable ContentFunction contentFunction, @Nullable FSFunction function, @Nullable Element element, @Nullable String pseudoElementOrClass, @Nullable CalculatedStyle style) private
InlineLayoutBox
(@Nullable Element elem, @Nullable CalculatedStyle style) InlineLayoutBox
(LayoutContext c, @Nullable Element elem, @Nullable CalculatedStyle style, int cbWidth) LineBox
(@Nullable Box parent, @Nullable CalculatedStyle style) PageBox
(PageInfo pageInfo, CssContext cssContext, CalculatedStyle style, int top, int pageNo) -
Uses of CalculatedStyle in org.xhtmlrenderer.simple.extend.form
Methods in org.xhtmlrenderer.simple.extend.form that return CalculatedStyleMethods in org.xhtmlrenderer.simple.extend.form with parameters of type CalculatedStyleModifier and TypeMethodDescriptionprotected static Integer
FormField.getLengthValue
(CalculatedStyle style, CSSName cssName) -
Uses of CalculatedStyle in org.xhtmlrenderer.swt
Methods in org.xhtmlrenderer.swt with parameters of type CalculatedStyleModifier and TypeMethodDescriptionvoid
FormControlReplacementElement.calculateSize
(LayoutContext c, CalculatedStyle style, int cssWidth, int cssHeight) Recalculate the size of the control based on the css lengths.