Uses of Class
com.openhtmltopdf.css.style.CalculatedStyle
-
-
Uses of CalculatedStyle in com.openhtmltopdf.context
Methods in com.openhtmltopdf.context that return CalculatedStyle Modifier and Type Method Description CalculatedStyleStyleReference. getRootElementStyle()Gets the style of the root element, should be html tag. -
Uses of CalculatedStyle in com.openhtmltopdf.css.newmatch
Methods in com.openhtmltopdf.css.newmatch that return CalculatedStyle Modifier and Type Method Description CalculatedStylePageInfo. getFootnoteAreaRawMaxHeightStyle() -
Uses of CalculatedStyle in com.openhtmltopdf.css.sheet
Fields in com.openhtmltopdf.css.sheet declared as CalculatedStyle Modifier and Type Field Description private CalculatedStyleFontFaceRule. _calculatedStyleMethods in com.openhtmltopdf.css.sheet that return CalculatedStyle Modifier and Type Method Description CalculatedStyleFontFaceRule. getCalculatedStyle() -
Uses of CalculatedStyle in com.openhtmltopdf.css.style
Subclasses of CalculatedStyle in com.openhtmltopdf.css.style Modifier and Type Class Description classEmptyStyleRepresents the outer box to be used for evaluating positioning of internal boxesFields in com.openhtmltopdf.css.style declared as CalculatedStyle Modifier and Type Field Description private CalculatedStyleCalculatedStyle. _parentThe parent-style we inherit fromFields in com.openhtmltopdf.css.style with type parameters of type CalculatedStyle Modifier and Type Field Description private java.util.Map<java.lang.String,CalculatedStyle>CalculatedStyle. _childCacheCache child styles of this style that have the same cascaded propertiesMethods in com.openhtmltopdf.css.style that return CalculatedStyle Modifier and Type Method Description CalculatedStyleCalculatedStyle. createAnonymousStyle(IdentValue display)This method derives a style for an anonymous child box with an overriden value for the display property.CalculatedStyleCalculatedStyle. deriveStyle(CascadedStyle matched)Derives a child style from this style.CalculatedStyleCalculatedStyle. getParent()Returns the parent style.CalculatedStyleCalculatedStyle. overrideStyle(IdentValue display)Override this style with specified styles.CalculatedStyleCalculatedStyle. overrideStyle(CascadedStyle matched)Override this style with specified styles.Methods in com.openhtmltopdf.css.style with parameters of type CalculatedStyle Modifier and Type Method Description private static BorderPropertySetCalculatedStyle. getBorderProperty(CalculatedStyle style, CssContext ctx)private static RectPropertySetCalculatedStyle. getMarginProperty(CalculatedStyle style, CSSName shorthandProp, CSSName.CSSSideProperties sides, float cbWidth, CssContext ctx, boolean useCache)private static RectPropertySetCalculatedStyle. getPaddingProperty(CalculatedStyle style, CSSName shorthandProp, CSSName.CSSSideProperties sides, float cbWidth, CssContext ctx, boolean useCache)private static RectPropertySetCalculatedStyle. newRectInstance(CalculatedStyle style, CSSName shorthand, 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 com.openhtmltopdf.css.style with parameters of type CalculatedStyle Constructor Description BorderRadiusCorner(CSSName fromVal, CalculatedStyle style, CssContext ctx)CalculatedStyle(CalculatedStyle parent, CascadedStyle matched)Constructor for the CalculatedStyle object. -
Uses of CalculatedStyle in com.openhtmltopdf.css.style.derived
Fields in com.openhtmltopdf.css.style.derived declared as CalculatedStyle Modifier and Type Field Description private CalculatedStyleLengthValue. _styleMethods in com.openhtmltopdf.css.style.derived that return CalculatedStyle Modifier and Type Method Description private CalculatedStyleLengthValue. getStyle()Methods in com.openhtmltopdf.css.style.derived with parameters of type CalculatedStyle Modifier and Type Method Description static floatLengthValue. calcFloatProportionalValue(CalculatedStyle style, CSSName cssName, java.lang.String stringValue, float relVal, short primitiveType, float baseValue, CssContext ctx)private java.util.List<FSLinearGradient.StopPoint>FSLinearGradient. calculateStopPoints(java.util.List<PropertyValue> params, CalculatedStyle style, CssContext ctx, float boxWidth, int stopsStartIndex)private floatFSLinearGradient. get100PercentDefaultStopLength(CalculatedStyle style, CssContext ctx, float boxWidth)static FSDerivedValueDerivedValueFactory. newDerivedValue(CalculatedStyle style, CSSName cssName, PropertyValue value)Derived value factory.static BorderPropertySetBorderPropertySet. newInstance(CalculatedStyle style, CssContext ctx)static RectPropertySetRectPropertySet. newInstance(CalculatedStyle style, CSSName shortHandProperty, CSSName.CSSSideProperties sideProperties, float cbWidth, CssContext ctx)Constructors in com.openhtmltopdf.css.style.derived with parameters of type CalculatedStyle Constructor Description BorderPropertySet(CalculatedStyle style, CssContext ctx)FSLinearGradient(CalculatedStyle style, FSFunction function, int boxWidth, int boxHeight, CssContext ctx)LengthValue(CalculatedStyle style, CSSName name, PropertyValue value) -
Uses of CalculatedStyle in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type CalculatedStyle Modifier and Type Method Description voidOutputDevice. paintBackground(RenderingContext c, CalculatedStyle style, java.awt.Rectangle bounds, java.awt.Rectangle bgImageContainer, BorderPropertySet border)voidOutputDevice. paintBorder(RenderingContext c, CalculatedStyle style, java.awt.Rectangle edge, int sides) -
Uses of CalculatedStyle in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as CalculatedStyle Modifier and Type Field Description (package private) CalculatedStyleBoxBuilder.CreateChildrenContext. parentStyleFields in com.openhtmltopdf.layout with type parameters of type CalculatedStyle Modifier and Type Field Description java.util.Map<CalculatedStyle,CounterContext>LayoutContext. _counterContextMapprivate java.util.Map<org.w3c.dom.Element,CalculatedStyle>SharedContext. styleMapMethods in com.openhtmltopdf.layout that return CalculatedStyle Modifier and Type Method Description CalculatedStyleStyleTracker. deriveAll(CalculatedStyle start)CalculatedStyleSharedContext. getStyle(org.w3c.dom.Element e)Gets the resolved style for an element.CalculatedStyleStyleable. getStyle()Methods in com.openhtmltopdf.layout with parameters of type CalculatedStyle Modifier and Type Method Description private static voidBoxBuilder. addColumnOrColumnGroup(LayoutContext c, TableBox table, org.w3c.dom.Element e, CalculatedStyle style)static voidBreaker. breakFirstLetter(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style)static Breaker.BreakTextResultBreaker. breakText(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style, boolean tryToBreakAnywhere, int lineWidth, boolean forceOutput)private static BlockBoxBoxBuilder. createBlockBox(CalculatedStyle style, BoxBuilder.ChildBoxInfo info, boolean generated)private static StyleableBoxBuilder. createChildBlockBox(LayoutContext c, BoxBuilder.ChildBoxInfo info, org.w3c.dom.Element element, CalculatedStyle style)private static voidBoxBuilder. createColumnContainer(LayoutContext c, Styleable child, org.w3c.dom.Element element, CalculatedStyle style)private static BlockBoxBoxBuilder. createFootnoteBody(LayoutContext c, org.w3c.dom.Element element, CalculatedStyle style)Creates the footnote body to put at the bottom of the page inside a page's footnote area.private static java.util.List<Styleable>BoxBuilder. createGeneratedContent(LayoutContext c, org.w3c.dom.Element element, java.lang.String peName, CalculatedStyle style, PropertyValue property, BoxBuilder.ChildBoxInfo info)Creates generated content boxes for pseudo elements such as::before.private static java.util.List<Styleable>BoxBuilder. createGeneratedContentList(LayoutContext c, org.w3c.dom.Element element, java.util.List<PropertyValue> values, java.lang.String peName, CalculatedStyle style, int mode, BoxBuilder.ChildBoxInfo info, java.util.List<Styleable> result)private static java.util.List<Styleable>BoxBuilder. createGeneratedMarginBoxContent(LayoutContext c, org.w3c.dom.Element element, PropertyValue property, CalculatedStyle style, BoxBuilder.ChildBoxInfo info)private static InlineBoxBoxBuilder. createInlineBox(java.lang.String text, org.w3c.dom.Element parent, CalculatedStyle parentStyle, org.w3c.dom.Text node)CalculatedStyleStyleTracker. deriveAll(CalculatedStyle start)private static InlineBoxBoxBuilder. doBidi(LayoutContext c, org.w3c.dom.Text textNode, org.w3c.dom.Element parent, CalculatedStyle parentStyle, InlineBox previousIB, java.util.List<Styleable> children)Attempts to divide a Text node further into directional text runs, either LTR or RTL.private static LineBreakContext.LineBreakResultBreaker. doBreakText(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style, boolean tryToBreakAnywhere)static LineBreakContext.LineBreakResultBreaker. doBreakText(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style, Breaker.TextBreakerSupplier lineBreaker)private static InlineBoxBoxBuilder. doFakeBidi(LayoutContext c, org.w3c.dom.Text textNode, org.w3c.dom.Element parent, CalculatedStyle parentStyle, InlineBox previousIB, java.util.List<Styleable> children)private static voidInlineBoxing. endInlineBox(LayoutContext c, InlineBoxing.SpaceVariables space, InlineBoxing.StateVariables current, InlineBoxing.StateVariables previous, java.util.List<InlineBox> openInlineBoxes, java.util.List<Layer> pendingInlineLayers, InlineBox inlineBox, CalculatedStyle style)AbstractCounterContextLayoutContext. getCounterContext(CalculatedStyle style)private static booleanInlineBoxing. hasTrimmableLeadingSpace(LineBox line, CalculatedStyle style, LineBreakContext lbContext, boolean zeroWidthInlineBlock)private static voidBoxBuilder. insertGeneratedContent(LayoutContext c, org.w3c.dom.Element element, CalculatedStyle parentStyle, java.lang.String peName, java.util.List<Styleable> children, BoxBuilder.ChildBoxInfo info)private static booleanBoxBuilder. isValidFootnote(LayoutContext c, org.w3c.dom.Element element, CalculatedStyle style)private static booleanBoxBuilder. isValidFootnotePseudo(CalculatedStyle style)private static InlineTextInlineBoxing. layoutText(LayoutContext c, CalculatedStyle style, int remainingWidth, LineBreakContext lbContext, boolean needFirstLetter, byte textDirection, boolean tryToBreakAnywhere, int lineWidth, boolean forceOutput)private static voidBoxBuilder. logInvalidFootnotePseudo(java.lang.String peName, CalculatedStyle style)private static voidBoxBuilder. logInvalidFootnoteStyle(LayoutContext c, org.w3c.dom.Element element, CalculatedStyle style)private static CounterFunctionBoxBuilder. makeCounterFunction(FSFunction function, LayoutContext c, CalculatedStyle style)voidLayoutContext. resolveCounters(CalculatedStyle style)voidLayoutContext. resolveCounters(CalculatedStyle style, java.lang.Integer startIndex)private static voidBoxBuilder. resolveElementCounters(LayoutContext c, org.w3c.dom.Node working, org.w3c.dom.Element element, CalculatedStyle style)voidStyleable. setStyle(CalculatedStyle style)private static voidInlineBoxing. startInlineBox(LayoutContext c, InlineBoxing.SpaceVariables space, InlineBoxing.StateVariables current, InlineBoxing.StateVariables previous, java.util.List<InlineBox> openInlineBoxes, java.util.Map<InlineBox,InlineLayoutBox> iBMap, InlineBox inlineBox, CalculatedStyle style)static java.lang.StringTextUtil. transformFirstLetterText(java.lang.String text, CalculatedStyle style)static java.lang.StringTextUtil. transformText(java.lang.String text, CalculatedStyle style)private static java.util.List<Styleable>BoxBuilder. wrapGeneratedContent(LayoutContext c, org.w3c.dom.Element element, java.lang.String peName, CalculatedStyle style, BoxBuilder.ChildBoxInfo info, BoxBuilder.ChildBoxInfo childInfo, java.util.List<Styleable> inlineBoxes)Constructors in com.openhtmltopdf.layout with parameters of type CalculatedStyle Constructor Description CreateChildrenContext(boolean needStartText, boolean needEndText, CalculatedStyle parentStyle, boolean inline) -
Uses of CalculatedStyle in com.openhtmltopdf.layout.counter
Methods in com.openhtmltopdf.layout.counter with parameters of type CalculatedStyle Modifier and Type Method Description voidRootCounterContext. incrementCounterValue(CalculatedStyle style)voidRootCounterContext. resetCounterValue(CalculatedStyle style)Constructors in com.openhtmltopdf.layout.counter with parameters of type CalculatedStyle Constructor Description CounterContext(LayoutContext ctx, CalculatedStyle style, java.lang.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 com.openhtmltopdf.newtable
Fields in com.openhtmltopdf.newtable declared as CalculatedStyle Modifier and Type Field Description private CalculatedStyleTableColumn. _styleMethods in com.openhtmltopdf.newtable that return CalculatedStyle Modifier and Type Method Description CalculatedStyleTableColumn. getStyle()Methods in com.openhtmltopdf.newtable with parameters of type CalculatedStyle Modifier and Type Method Description voidTableBox. setStyle(CalculatedStyle style)voidTableColumn. setStyle(CalculatedStyle style)Constructors in com.openhtmltopdf.newtable with parameters of type CalculatedStyle Constructor Description TableColumn(org.w3c.dom.Element element, CalculatedStyle style) -
Uses of CalculatedStyle in com.openhtmltopdf.render
Fields in com.openhtmltopdf.render declared as CalculatedStyle Modifier and Type Field Description private CalculatedStyleBox. _styleprivate CalculatedStyleInlineBox. _styleprivate CalculatedStylePageBox. _styleMethods in com.openhtmltopdf.render that return CalculatedStyle Modifier and Type Method Description CalculatedStyleBox. getStyle()CalculatedStyleInlineBox. getStyle()CalculatedStylePageBox. getStyle()Methods in com.openhtmltopdf.render with parameters of type CalculatedStyle Modifier and Type Method Description private intAbstractOutputDevice. calcBackgroundSizeLength(CssContext c, CalculatedStyle style, PropertyValue value, float boundsDim)private java.awt.DimensionAbstractOutputDevice. calcInitialXYOff(CalculatedStyle.BackgroundContainer bgImage, java.awt.Rectangle bgImageContainer, BorderPropertySet border, CalculatedStyle style, RenderingContext c)private intAbstractOutputDevice. calcOffset(CssContext c, CalculatedStyle style, PropertyValue value, float boundsDim, float imageDim)protected booleanBlockBox. checkPushLayer(LayoutContext c, CalculatedStyle style)private voidAbstractOutputDevice. drawBgImage(RenderingContext c, CalculatedStyle style, java.awt.Rectangle backgroundBounds, java.awt.Rectangle bgImageContainer, BorderPropertySet border, FSImage backgroundImage, CalculatedStyle.BackgroundContainer bgImage)private static voidListItemPainter. drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle)voidAbstractOutputDevice. paintBackground(RenderingContext c, CalculatedStyle style, java.awt.Rectangle bounds, java.awt.Rectangle bgImageContainer, BorderPropertySet border)private voidAbstractOutputDevice. paintBackground0(RenderingContext c, CalculatedStyle style, java.awt.Rectangle backgroundBounds, java.awt.Rectangle bgImageContainer, BorderPropertySet border)voidAbstractOutputDevice. paintBorder(RenderingContext c, CalculatedStyle style, java.awt.Rectangle edge, int sides)private voidAbstractOutputDevice. scaleBackgroundImage(CssContext c, CalculatedStyle style, java.awt.Rectangle backgroundContainer, FSImage image, CalculatedStyle.BackgroundContainer bgImage)voidBox. setStyle(CalculatedStyle style)voidInlineBox. setStyle(CalculatedStyle style)voidPageBox. setStyle(CalculatedStyle style)voidBlockBox. styleText(LayoutContext c, CalculatedStyle style)Constructors in com.openhtmltopdf.render with parameters of type CalculatedStyle Constructor Description InlineLayoutBox(LayoutContext c, org.w3c.dom.Element elem, CalculatedStyle style, int cbWidth)
-