Uses of Class
com.itextpdf.styledxmlparser.css.CssDeclaration
Packages that use CssDeclaration
Package
Description
-
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css
Fields in com.itextpdf.styledxmlparser.css with type parameters of type CssDeclarationModifier and TypeFieldDescriptionprivate List<CssDeclaration> CssRuleSet.importantDeclarationsThe important CSS declarations.private List<CssDeclaration> CssRuleSet.normalDeclarationsThe normal CSS declarations.private 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 CssDeclarationModifier and TypeMethodDescriptionCssStyleSheet.getCssDeclarations(INode node, MediaDeviceDescription deviceDescription) Gets the CSS declarations.CssRuleSet.getImportantDeclarations()Gets the important CSS declarations.CssRuleSet.getNormalDeclarations()Gets the normal CSS declarations.CssFontFaceRule.getProperties()Gets the properties.Methods in com.itextpdf.styledxmlparser.css with parameters of type CssDeclarationModifier and TypeMethodDescriptionprivate static voidCssStyleSheet.putDeclarationInMapIfValid(Map<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 CssDeclarationModifier and TypeMethodDescriptionvoidCssFontFaceRule.addBodyCssDeclarations(List<CssDeclaration> cssDeclarations) voidCssNestedAtRule.addBodyCssDeclarations(List<CssDeclaration> cssDeclarations) Adds the body CSS declarations.private static voidCssStyleSheet.populateDeclarationsMap(List<CssDeclaration> declarations, Map<String, CssDeclaration> map) Populates the CSS declarations map.private static voidCssStyleSheet.populateDeclarationsMap(List<CssDeclaration> declarations, Map<String, CssDeclaration> map) Populates the CSS declarations map.private static voidCssStyleSheet.putDeclarationInMapIfValid(Map<String, CssDeclaration> stylesMap, CssDeclaration cssDeclaration) Puts a declaration in a styles map if the declaration is valid.private static voidCssRuleSet.splitDeclarationsIntoNormalAndImportant(List<CssDeclaration> declarations, List<CssDeclaration> normalDeclarations, List<CssDeclaration> importantDeclarations) Split CSS declarations into normal and important CSS declarations.Constructor parameters in com.itextpdf.styledxmlparser.css with type arguments of type CssDeclarationModifierConstructorDescriptionCssRuleSet(ICssSelector selector, List<CssDeclaration> declarations) Creates a newCssRuleSetfrom selector and raw list of declarations.CssRuleSet(ICssSelector selector, List<CssDeclaration> normalDeclarations, 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 CssDeclarationModifier and TypeMethodDescriptionstatic CssFontFaceCssFontFace.create(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 CssDeclarationModifier and TypeMethodDescriptionvoidCssMarginRule.addBodyCssDeclarations(List<CssDeclaration> cssDeclarations) voidCssPageRule.addBodyCssDeclarations(List<CssDeclaration> cssDeclarations) Constructor parameters in com.itextpdf.styledxmlparser.css.page with type arguments of type CssDeclarationModifierConstructorDescriptionCssNonStandardRuleSet(ICssSelector selector, 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 CssDeclarationModifier and TypeMethodDescriptionstatic List<CssDeclaration> CssRuleSetParser.parsePropertyDeclarations(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 CssDeclarationModifier and TypeFieldDescriptionprivate final Stack<List<CssDeclaration>> CssParserStateController.storedPropertiesWithoutSelectorThe stored properties without selector.Methods in com.itextpdf.styledxmlparser.css.parse.syntax with parameters of type CssDeclarationModifier and TypeMethodDescriptionprivate voidCssParserStateController.normalizeSingleDeclarationURI(CssDeclaration declaration) Method parameters in com.itextpdf.styledxmlparser.css.parse.syntax with type arguments of type CssDeclarationModifier and TypeMethodDescriptionprivate voidCssParserStateController.normalizeDeclarationURIs(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 CssDeclarationModifier and TypeMethodDescriptionIShorthandResolver.resolveShorthand(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 CssDeclarationModifier and TypeMethodDescriptionprivate CssDeclarationColumnRuleShortHandResolver.processProperty(String value) private static CssDeclarationColumnsShorthandResolver.processProperty(String value) Methods in com.itextpdf.styledxmlparser.css.resolve.shorthand.impl that return types with arguments of type CssDeclarationModifier and TypeMethodDescriptionprivate static List<CssDeclaration> ColumnRuleShortHandResolver.handleExpressionError(String logMessage, String attribute, String shorthandExpression) private static List<CssDeclaration> ColumnsShorthandResolver.handleExpressionError(String logMessage, String attribute, String shorthandExpression) private static List<CssDeclaration> FlexFlowShorthandResolver.handleExpressionError(String logMessage, String attribute, String shorthandExpression) private static List<CssDeclaration> FlexShorthandResolver.handleExpressionError(String logMessage, String attribute, String shorthandExpression) private static List<CssDeclaration> GapShorthandResolver.handleExpressionError(String logMessage, String attribute, String shorthandExpression) private static List<CssDeclaration> PlaceItemsShorthandResolver.handleExpressionError(String logMessage, String attribute, String shorthandExpression) private List<CssDeclaration> PlaceItemsShorthandResolver.resolveAlignItemsAndJustifyItems(String alignItems, String justifyItems) private List<CssDeclaration> GapShorthandResolver.resolveGapWithTwoProperties(String row, String column) AbstractBorderShorthandResolver.resolveShorthand(String shorthandExpression) AbstractBoxShorthandResolver.resolveShorthand(String shorthandExpression) AbstractCornersShorthandResolver.resolveShorthand(String shorthandExpression) BackgroundPositionShorthandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.BackgroundShorthandResolver.resolveShorthand(String shorthandExpression) BorderShorthandResolver.resolveShorthand(String shorthandExpression) ColumnRuleShortHandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.ColumnsShorthandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.FlexFlowShorthandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.FlexShorthandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.FontShorthandResolver.resolveShorthand(String shorthandExpression) GapShorthandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.GridItemShorthandResolver.resolveShorthand(String shorthandExpression) GridShorthandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.GridTemplateShorthandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.ListStyleShorthandResolver.resolveShorthand(String shorthandExpression) MarkerShorthandResolver.resolveShorthand(String shorthandExpression) PlaceItemsShorthandResolver.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.TextDecorationShorthandResolver.resolveShorthand(String shorthandExpression) private List<CssDeclaration> PlaceItemsShorthandResolver.resolveShorthandWithFourWords(String firstWord, String secondWord, String thirdWord, String fourthWord) private List<CssDeclaration> FlexShorthandResolver.resolveShorthandWithOneValue(String firstProperty) private List<CssDeclaration> PlaceItemsShorthandResolver.resolveShorthandWithOneWord(String firstWord) private List<CssDeclaration> FlexShorthandResolver.resolveShorthandWithThreeValues(String firstProperty, String secondProperty, String thirdProperty) private List<CssDeclaration> PlaceItemsShorthandResolver.resolveShorthandWithThreeWords(String firstWord, String secondWord, String thirdWord) private List<CssDeclaration> FlexShorthandResolver.resolveShorthandWithTwoValues(String firstProperty, String secondProperty) private List<CssDeclaration> PlaceItemsShorthandResolver.resolveShorthandWithTwoWords(String firstWord, String secondWord) Method parameters in com.itextpdf.styledxmlparser.css.resolve.shorthand.impl with type arguments of type CssDeclarationModifier and TypeMethodDescriptionprivate voidFlexFlowShorthandResolver.fillUnresolvedPropertiesWithDefaultValues(List<CssDeclaration> resolvedProperties) private voidFlexShorthandResolver.fillUnresolvedPropertiesWithDefaultValues(List<CssDeclaration> resolvedProperties) -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.css.validate
Methods in com.itextpdf.styledxmlparser.css.validate with parameters of type CssDeclarationModifier and TypeMethodDescriptionstatic 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 CssDeclarationModifier and TypeMethodDescriptionbooleanCssDefaultValidator.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 CssDeclarationModifier and TypeMethodDescriptionbooleanMultiTypeDeclarationValidator.isValid(CssDeclaration cssDeclaration) booleanSingleTypeDeclarationValidator.isValid(CssDeclaration cssDeclaration) -
Uses of CssDeclaration in com.itextpdf.styledxmlparser.util
Methods in com.itextpdf.styledxmlparser.util that return CssDeclarationModifier and TypeMethodDescriptionprivate static CssDeclarationResolve single css var expression recursivelyMethods in com.itextpdf.styledxmlparser.util that return types with arguments of type CssDeclarationModifier and TypeMethodDescriptionprivate static List<CssDeclaration> CssVariableUtil.expandShorthand(CssDeclaration declaration) Methods in com.itextpdf.styledxmlparser.util with parameters of type CssDeclarationModifier and TypeMethodDescriptionprivate static List<CssDeclaration> CssVariableUtil.expandShorthand(CssDeclaration declaration)