Package com.itextpdf.tool.xml.css
Interface CssInheritanceRules
-
- All Known Implementing Classes:
DefaultCssInheritanceRules
public interface CssInheritanceRules
Implementations of this interface determine the inheritance rules of CSS properties on tag basis and on property level.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
inheritCssSelector(Tag tag, java.lang.String key)
Validate inheritance of any CSS property for the given tag.boolean
inheritCssTag(java.lang.String tag)
Validate inheritance of parent tag CSS.
-
-
-
Method Detail
-
inheritCssTag
boolean inheritCssTag(java.lang.String tag)
Validate inheritance of parent tag CSS.- Parameters:
tag
- the tag- Returns:
- true if the tag can inherit CSS from it's parent tag, false otherwise.
-
inheritCssSelector
boolean inheritCssSelector(Tag tag, java.lang.String key)
Validate inheritance of any CSS property for the given tag.- Parameters:
tag
- the tagkey
- the css property- Returns:
- true if this property can be inherited from the parent tag for the given tag, false otherwise.
-
-