Class TextDecorationApplierUtil
java.lang.Object
com.itextpdf.html2pdf.css.apply.util.TextDecorationApplierUtil
Utility class which processes text decoration properties.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
propagateTextDecorationProperties
(com.itextpdf.styledxmlparser.node.IElementNode currentNode) Expand text decoration properties to the element if needed.
-
Method Details
-
propagateTextDecorationProperties
public static void propagateTextDecorationProperties(com.itextpdf.styledxmlparser.node.IElementNode currentNode) Expand text decoration properties to the element if needed.E.g. the following:
text-decoration-line: overline underline; text-decoration-color: pink
will be translated to:text-decoration-line: overline underline; text-decoration-color: pink pink
- Parameters:
-
currentNode
- the element which decoration properties shall be expanded
-