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. importantDeclarationsThe important CSS declarations.private java.util.List<CssDeclaration>CssRuleSet. normalDeclarationsThe normal CSS declarations.private java.util.List<CssDeclaration>CssFontFaceRule. propertiesProperties 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 voidCssStyleSheet. 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 voidCssFontFaceRule. addBodyCssDeclarations(java.util.List<CssDeclaration> cssDeclarations)voidCssNestedAtRule. addBodyCssDeclarations(java.util.List<CssDeclaration> cssDeclarations)Adds the body CSS declarations.private static voidCssStyleSheet. populateDeclarationsMap(java.util.List<CssDeclaration> declarations, java.util.Map<java.lang.String,CssDeclaration> map)Populates the CSS declarations map.private static voidCssStyleSheet. populateDeclarationsMap(java.util.List<CssDeclaration> declarations, java.util.Map<java.lang.String,CssDeclaration> map)Populates the CSS declarations map.private static voidCssStyleSheet. 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 voidCssRuleSet. 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 newCssRuleSetfrom selector and raw list of declarations.CssRuleSet(ICssSelector selector, java.util.List<CssDeclaration> normalDeclarations, java.util.List<CssDeclaration> importantDeclarations)Creates a newCssRuleSetfrom 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 CssFontFaceCssFontFace. create(java.util.List<CssDeclaration> properties)Create aCssFontFaceinstance 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 voidCssMarginRule. addBodyCssDeclarations(java.util.List<CssDeclaration> cssDeclarations)voidCssPageRule. 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 newCssNonStandardRuleSetinstance. -
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. storedPropertiesWithoutSelectorThe stored properties without selector.Methods in com.itextpdf.styledxmlparser.css.parse.syntax with parameters of type CssDeclaration Modifier and Type Method Description private voidCssParserStateController. normalizeSingleDeclarationURI(CssDeclaration declaration)Method parameters in com.itextpdf.styledxmlparser.css.parse.syntax with type arguments of type CssDeclaration Modifier and Type Method Description private voidCssParserStateController. 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 CssDeclarationColumnRuleShortHandResolver. processProperty(java.lang.String value)private static CssDeclarationColumnsShorthandResolver. 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 voidFlexFlowShorthandResolver. fillUnresolvedPropertiesWithDefaultValues(java.util.List<CssDeclaration> resolvedProperties)private voidFlexShorthandResolver. 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 booleanCssDeclarationValidationMaster. checkDeclaration(CssDeclaration declaration)Checks a CSS declaration.booleanICssDeclarationValidator. 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 booleanCssDefaultValidator. 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 booleanMultiTypeDeclarationValidator. isValid(CssDeclaration cssDeclaration)booleanSingleTypeDeclarationValidator. 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 CssDeclarationCssVariableUtil. 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)
-