public final class StyleUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
mergeParentStyleDeclaration(Map<String,String> styles, String styleProperty, String parentPropValue, String parentFontSizeString, Set<IStyleInheritance> inheritanceRules)
Merge parent CSS declarations.
|
public static Map<String,String> mergeParentStyleDeclaration(Map<String,String> styles, String styleProperty, String parentPropValue, String parentFontSizeString, Set<IStyleInheritance> inheritanceRules)
styles
- the styles map
styleProperty
- the CSS property
parentPropValue
- the parent properties value
parentFontSizeString
- is a font size of parent element
inheritanceRules
- set of inheritance rules
Copyright © 1998–2021 iText Group NV. All rights reserved.