Class ColumnsShorthandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.ColumnsShorthandResolver
- All Implemented Interfaces:
IShorthandResolver
Shorthand resolver for the column property.
This property is a shorthand for the column-count and column-width properties.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static List
<CssDeclaration> handleExpressionError
(String logMessage, String attribute, String shorthandExpression) private static CssDeclaration
processProperty
(String value) resolveShorthand
(String shorthandExpression) Resolves a shorthand expression.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
ColumnsShorthandResolver
public ColumnsShorthandResolver()Creates a newColumnsShorthandResolver
instance.
-
-
Method Details
-
resolveShorthand
Resolves a shorthand expression.- Specified by:
resolveShorthand
in interfaceIShorthandResolver
- Parameters:
shorthandExpression
- the shorthand expression- Returns:
- a list of CSS declaration
-
processProperty
-
handleExpressionError
private static List<CssDeclaration> handleExpressionError(String logMessage, String attribute, String shorthandExpression)
-