Uses of Class
com.itextpdf.styledxmlparser.css.CssDeclaration
-
-
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css
Fields in com.itextpdf.styledxmlparser.css with type parameters of type CssDeclaration Modifier and Type Field Description private java.util.List<CssDeclaration>
CssRuleSet. importantDeclarations
The important CSS declarations.private java.util.List<CssDeclaration>
CssRuleSet. normalDeclarations
The normal CSS declarations.private java.util.List<CssDeclaration>
CssFontFaceRule. properties
Properties in the form of a list of CSS declarations.Methods in com.itextpdf.styledxmlparser.css that return types with arguments of type CssDeclaration Modifier and Type Method Description java.util.List<CssDeclaration>
CssStyleSheet. getCssDeclarations(INode node, MediaDeviceDescription deviceDescription)
Gets the CSS declarations.java.util.List<CssDeclaration>
CssRuleSet. getImportantDeclarations()
Gets the important CSS declarations.java.util.List<CssDeclaration>
CssRuleSet. getNormalDeclarations()
Gets the normal CSS declarations.java.util.List<CssDeclaration>
CssFontFaceRule. getProperties()
Gets the properties.Methods in com.itextpdf.styledxmlparser.css with parameters of type CssDeclaration Modifier and Type Method Description private static void
CssStyleSheet. putDeclarationInMapIfValid(java.util.Map<java.lang.String,CssDeclaration> stylesMap, CssDeclaration cssDeclaration)
Puts a declaration in a styles map if the declaration is valid.Method parameters in com.itextpdf.styledxmlparser.css with type arguments of type CssDeclaration Modifier and Type Method Description void
CssFontFaceRule. addBodyCssDeclarations(java.util.List<CssDeclaration> cssDeclarations)
void
CssNestedAtRule. addBodyCssDeclarations(java.util.List<CssDeclaration> cssDeclarations)
Adds the body CSS declarations.private static void
CssStyleSheet. populateDeclarationsMap(java.util.List<CssDeclaration> declarations, java.util.Map<java.lang.String,CssDeclaration> map)
Populates the CSS declarations map.private static void
CssStyleSheet. populateDeclarationsMap(java.util.List<CssDeclaration> declarations, java.util.Map<java.lang.String,CssDeclaration> map)
Populates the CSS declarations map.private static void
CssStyleSheet. putDeclarationInMapIfValid(java.util.Map<java.lang.String,CssDeclaration> stylesMap, CssDeclaration cssDeclaration)
Puts a declaration in a styles map if the declaration is valid.private static void
CssRuleSet. splitDeclarationsIntoNormalAndImportant(java.util.List<CssDeclaration> declarations, java.util.List<CssDeclaration> normalDeclarations, java.util.List<CssDeclaration> importantDeclarations)
Split CSS declarations into normal and important CSS declarations.Constructor parameters in com.itextpdf.styledxmlparser.css with type arguments of type CssDeclaration Constructor Description CssRuleSet(ICssSelector selector, java.util.List<CssDeclaration> declarations)
Creates a newCssRuleSet
from selector and raw list of declarations.CssRuleSet(ICssSelector selector, java.util.List<CssDeclaration> normalDeclarations, java.util.List<CssDeclaration> importantDeclarations)
Creates a newCssRuleSet
from a selector and a list of normal and important declarations. -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.font
Method parameters in com.itextpdf.styledxmlparser.css.font with type arguments of type CssDeclaration Modifier and Type Method Description static CssFontFace
CssFontFace. create(java.util.List<CssDeclaration> properties)
Create aCssFontFace
instance from a list of CSS font attributes ("font-family" or "src"). -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.page
Method parameters in com.itextpdf.styledxmlparser.css.page with type arguments of type CssDeclaration Modifier and Type Method Description void
CssMarginRule. addBodyCssDeclarations(java.util.List<CssDeclaration> cssDeclarations)
void
CssPageRule. addBodyCssDeclarations(java.util.List<CssDeclaration> cssDeclarations)
Constructor parameters in com.itextpdf.styledxmlparser.css.page with type arguments of type CssDeclaration Constructor Description CssNonStandardRuleSet(ICssSelector selector, java.util.List<CssDeclaration> declarations)
Creates a newCssNonStandardRuleSet
instance. -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.parse
Methods in com.itextpdf.styledxmlparser.css.parse that return types with arguments of type CssDeclaration Modifier and Type Method Description static java.util.List<CssDeclaration>
CssRuleSetParser. parsePropertyDeclarations(java.lang.String propertiesStr)
Parses property declarations. -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.parse.syntax
Fields in com.itextpdf.styledxmlparser.css.parse.syntax with type parameters of type CssDeclaration Modifier and Type Field Description private java.util.Stack<java.util.List<CssDeclaration>>
CssParserStateController. storedPropertiesWithoutSelector
The stored properties without selector.Methods in com.itextpdf.styledxmlparser.css.parse.syntax with parameters of type CssDeclaration Modifier and Type Method Description private void
CssParserStateController. normalizeSingleDeclarationURI(CssDeclaration declaration)
Method parameters in com.itextpdf.styledxmlparser.css.parse.syntax with type arguments of type CssDeclaration Modifier and Type Method Description private void
CssParserStateController. normalizeDeclarationURIs(java.util.List<CssDeclaration> declarations)
Normalizes the declaration URIs. -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.resolve.shorthand
Methods in com.itextpdf.styledxmlparser.css.resolve.shorthand that return types with arguments of type CssDeclaration Modifier and Type Method Description java.util.List<CssDeclaration>
IShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression. -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.resolve.shorthand.impl
Methods in com.itextpdf.styledxmlparser.css.resolve.shorthand.impl that return CssDeclaration Modifier and Type Method Description private CssDeclaration
ColumnRuleShortHandResolver. processProperty(java.lang.String value)
private static CssDeclaration
ColumnsShorthandResolver. processProperty(java.lang.String value)
Methods in com.itextpdf.styledxmlparser.css.resolve.shorthand.impl that return types with arguments of type CssDeclaration Modifier and Type Method Description private static java.util.List<CssDeclaration>
ColumnRuleShortHandResolver. handleExpressionError(java.lang.String logMessage, java.lang.String attribute, java.lang.String shorthandExpression)
private static java.util.List<CssDeclaration>
ColumnsShorthandResolver. handleExpressionError(java.lang.String logMessage, java.lang.String attribute, java.lang.String shorthandExpression)
private static java.util.List<CssDeclaration>
FlexFlowShorthandResolver. handleExpressionError(java.lang.String logMessage, java.lang.String attribute, java.lang.String shorthandExpression)
private static java.util.List<CssDeclaration>
FlexShorthandResolver. handleExpressionError(java.lang.String logMessage, java.lang.String attribute, java.lang.String shorthandExpression)
private static java.util.List<CssDeclaration>
GapShorthandResolver. handleExpressionError(java.lang.String logMessage, java.lang.String attribute, java.lang.String shorthandExpression)
private static java.util.List<CssDeclaration>
PlaceItemsShorthandResolver. handleExpressionError(java.lang.String logMessage, java.lang.String attribute, java.lang.String shorthandExpression)
private java.util.List<CssDeclaration>
PlaceItemsShorthandResolver. resolveAlignItemsAndJustifyItems(java.lang.String alignItems, java.lang.String justifyItems)
private java.util.List<CssDeclaration>
GapShorthandResolver. resolveGapWithTwoProperties(java.lang.String row, java.lang.String column)
java.util.List<CssDeclaration>
AbstractBorderShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
AbstractBoxShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
AbstractCornersShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
BackgroundPositionShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
BackgroundShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
BorderShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
ColumnRuleShortHandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
ColumnsShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
FlexFlowShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
FlexShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
FontShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
GapShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
GridItemShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
GridShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
GridTemplateShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
ListStyleShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
MarkerShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
java.util.List<CssDeclaration>
PlaceItemsShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.java.util.List<CssDeclaration>
TextDecorationShorthandResolver. resolveShorthand(java.lang.String shorthandExpression)
private java.util.List<CssDeclaration>
PlaceItemsShorthandResolver. resolveShorthandWithFourWords(java.lang.String firstWord, java.lang.String secondWord, java.lang.String thirdWord, java.lang.String fourthWord)
private java.util.List<CssDeclaration>
FlexShorthandResolver. resolveShorthandWithOneValue(java.lang.String firstProperty)
private java.util.List<CssDeclaration>
PlaceItemsShorthandResolver. resolveShorthandWithOneWord(java.lang.String firstWord)
private java.util.List<CssDeclaration>
FlexShorthandResolver. resolveShorthandWithThreeValues(java.lang.String firstProperty, java.lang.String secondProperty, java.lang.String thirdProperty)
private java.util.List<CssDeclaration>
PlaceItemsShorthandResolver. resolveShorthandWithThreeWords(java.lang.String firstWord, java.lang.String secondWord, java.lang.String thirdWord)
private java.util.List<CssDeclaration>
FlexShorthandResolver. resolveShorthandWithTwoValues(java.lang.String firstProperty, java.lang.String secondProperty)
private java.util.List<CssDeclaration>
PlaceItemsShorthandResolver. resolveShorthandWithTwoWords(java.lang.String firstWord, java.lang.String secondWord)
Method parameters in com.itextpdf.styledxmlparser.css.resolve.shorthand.impl with type arguments of type CssDeclaration Modifier and Type Method Description private void
FlexFlowShorthandResolver. fillUnresolvedPropertiesWithDefaultValues(java.util.List<CssDeclaration> resolvedProperties)
private void
FlexShorthandResolver. fillUnresolvedPropertiesWithDefaultValues(java.util.List<CssDeclaration> resolvedProperties)
-
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.validate
Methods in com.itextpdf.styledxmlparser.css.validate with parameters of type CssDeclaration Modifier and Type Method Description static boolean
CssDeclarationValidationMaster. checkDeclaration(CssDeclaration declaration)
Checks a CSS declaration.boolean
ICssDeclarationValidator. isValid(CssDeclaration cssDeclaration)
Checks if a value is a valid CSS declaration. -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.validate.impl
Methods in com.itextpdf.styledxmlparser.css.validate.impl with parameters of type CssDeclaration Modifier and Type Method Description boolean
CssDefaultValidator. isValid(CssDeclaration declaration)
Validates a CSS declaration. -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.validate.impl.declaration
Methods in com.itextpdf.styledxmlparser.css.validate.impl.declaration with parameters of type CssDeclaration Modifier and Type Method Description boolean
MultiTypeDeclarationValidator. isValid(CssDeclaration cssDeclaration)
boolean
SingleTypeDeclarationValidator. isValid(CssDeclaration cssDeclaration)
-
Uses of CssDeclaration in com.itextpdf.styledxmlparser.util
Methods in com.itextpdf.styledxmlparser.util that return CssDeclaration Modifier and Type Method Description private static CssDeclaration
CssVariableUtil. resolveSingleVar(java.lang.String key, java.lang.String expression, java.util.Map<java.lang.String,java.lang.String> styles)
Resolve single css var expression recursivelyMethods in com.itextpdf.styledxmlparser.util that return types with arguments of type CssDeclaration Modifier and Type Method Description private static java.util.List<CssDeclaration>
CssVariableUtil. expandShorthand(CssDeclaration declaration)
Methods in com.itextpdf.styledxmlparser.util with parameters of type CssDeclaration Modifier and Type Method Description private static java.util.List<CssDeclaration>
CssVariableUtil. expandShorthand(CssDeclaration declaration)
-