Class FontShorthandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.FontShorthandResolver
- All Implemented Interfaces:
IShorthandResolver
IShorthandResolver implementation for fonts.-
Field Summary
FieldsModifier and TypeFieldDescriptionFont size values.Font weight values.Unsupported shorthand values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFontProperties(String shorthandExpression) Gets the font properties.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.
-
Field Details
-
UNSUPPORTED_VALUES_OF_FONT_SHORTHAND
-
FONT_WEIGHT_NOT_DEFAULT_VALUES
-
FONT_SIZE_VALUES
-
-
Constructor Details
-
FontShorthandResolver
public FontShorthandResolver()
-
-
Method Details
-
resolveShorthand
Description copied from interface:IShorthandResolverResolves a shorthand expression.- Specified by:
resolveShorthandin interfaceIShorthandResolver- Parameters:
shorthandExpression- the shorthand expression- Returns:
- a list of CSS declaration
-
getFontProperties
-