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 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) CalculatedStyle.deriveStyle
(CascadedStyle matched) derives a child style from this style.CalculatedStyle.getParent()
Methods in org.xhtmlrenderer.css.style with parameters of type CalculatedStyleModifier and TypeMethodDescriptionprivate static BorderPropertySet
CalculatedStyle.getBorderProperty
(CalculatedStyle style, 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, boolean useCache) 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
(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) static FSDerivedValue
DerivedValueFactory.newDerivedValue
(CalculatedStyle style, CSSName cssName, PropertyValue value) 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 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 TreeSet<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 Map<Element,
CalculatedStyle> SharedContext.styleMap
Methods in org.xhtmlrenderer.layout that return CalculatedStyleModifier and TypeMethodDescriptionStyleTracker.deriveAll
(CalculatedStyle start) 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
(CalculatedStyle style, BoxBuilder.ChildBoxInfo info, boolean generated) BoxBuilder.createGeneratedContent
(LayoutContext c, Element element, String peName, CalculatedStyle style, PropertyValue property, BoxBuilder.ChildBoxInfo info) BoxBuilder.createGeneratedContentList
(LayoutContext c, Element element, PropertyValue propValue, String peName, CalculatedStyle style, int mode, 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, 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 CounterFunction
BoxBuilder.makeCounterFunction
(FSFunction function, LayoutContext c, CalculatedStyle style) void
LayoutContext.resolveCounters
(CalculatedStyle style) void
LayoutContext.resolveCounters
(CalculatedStyle style, Integer startIndex) void
Styleable.setStyle
(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, 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 TypeMethodDescriptionvoid
TableBox.setStyle
(CalculatedStyle style) void
TableColumn.setStyle
(CalculatedStyle style) Constructors in org.xhtmlrenderer.newtable with parameters of type CalculatedStyle -
Uses of CalculatedStyle in org.xhtmlrenderer.render
Fields in org.xhtmlrenderer.render declared as CalculatedStyleModifier and TypeFieldDescriptionprivate CalculatedStyle
Box._style
private CalculatedStyle
InlineBox._style
private CalculatedStyle
PageBox._style
Methods in org.xhtmlrenderer.render that return CalculatedStyleModifier and TypeMethodDescriptionfinal CalculatedStyle
Box.getStyle()
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, IdentValue listStyle) private 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 void
AbstractOutputDevice.scaleBackgroundImage
(CssContext c, CalculatedStyle style, Rectangle backgroundContainer, FSImage image) void
Box.setStyle
(CalculatedStyle style) void
InlineBox.setStyle
(CalculatedStyle style) void
PageBox.setStyle
(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) InlineLayoutBox
(LayoutContext c, Element elem, CalculatedStyle style, int cbWidth) -
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.swing
Methods in org.xhtmlrenderer.swing with parameters of type CalculatedStyleModifier and TypeMethodDescriptionprivate int
SelectionHighlighter.getTextWidth
(LayoutContext c, CalculatedStyle cs, String s) -
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. -
Uses of CalculatedStyle in org.xhtmlrenderer.swt.simple
Methods in org.xhtmlrenderer.swt.simple with parameters of type CalculatedStyleModifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.Control
SWTButtonControl.createSWTControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) protected org.eclipse.swt.widgets.Control
SWTCheckControl.createSWTControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) protected org.eclipse.swt.widgets.Control
SWTSelectControl.createSWTControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) protected org.eclipse.swt.widgets.Control
SWTTextControl.createSWTControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) protected abstract org.eclipse.swt.widgets.Control
SWTXhtmlControl.createSWTControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) Constructors in org.xhtmlrenderer.swt.simple with parameters of type CalculatedStyleModifierConstructorDescriptionSWTButtonControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) SWTCheckControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) SWTSelectControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) SWTTextControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) SWTXhtmlControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac)