public final class FontStyleApplierUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
applyFontStyles(Map<String,String> cssProps,
ProcessorContext context,
com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer,
com.itextpdf.layout.IPropertyContainer element)
Applies font styles to an element.
|
static float |
parseAbsoluteFontSize(String fontSizeValue)
Deprecated.
Use
CssUtils.parseAbsoluteFontSize(String) instead. |
static float |
parseRelativeFontSize(String relativeFontSizeValue,
float baseValue)
Deprecated.
Use
CssUtils.parseRelativeFontSize(String, float) instead. |
public static void applyFontStyles(Map<String,String> cssProps, ProcessorContext context, com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer, com.itextpdf.layout.IPropertyContainer element)
cssProps - the CSS propscontext - the processor contextstylesContainer - the styles containerelement - the element@Deprecated public static float parseAbsoluteFontSize(String fontSizeValue)
CssUtils.parseAbsoluteFontSize(String) instead.fontSizeValue - the font size value as a Stringfloat@Deprecated public static float parseRelativeFontSize(String relativeFontSizeValue, float baseValue)
CssUtils.parseRelativeFontSize(String, float) instead.relativeFontSizeValue - the relative font size value as a StringbaseValue - the base valuefloatCopyright © 1998–2019 iText Group NV. All rights reserved.