public final class HtmlUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
convertNumberAccordingToGlyphStyle(CounterDigitsGlyphStyle glyphStyle,
int number)
Converts number according to given glyph style.
|
static CounterDigitsGlyphStyle |
convertStringCounterGlyphStyleToEnum(String glyphStyle)
Gets enum representation of given digits glyph style.
|
static String |
getAllNumberGlyphsForStyle(CounterDigitsGlyphStyle glyphStyle)
Gets a string which contains all glyphs which can be used in number according to given glyph style.
|
static boolean |
isStyleSheetLink(com.itextpdf.styledxmlparser.node.IElementNode headChildElement)
Deprecated.
Will be replaced by the
CssUtils.isStyleSheetLink(IElementNode) in update 7.2. |
@Deprecated public static boolean isStyleSheetLink(com.itextpdf.styledxmlparser.node.IElementNode headChildElement)
CssUtils.isStyleSheetLink(IElementNode) in update 7.2.IElementNode represents a style sheet link.headChildElement - the head child elementpublic static String convertNumberAccordingToGlyphStyle(CounterDigitsGlyphStyle glyphStyle, int number)
glyphStyle - style of the glyphsnumber - number to be convertedpublic static String getAllNumberGlyphsForStyle(CounterDigitsGlyphStyle glyphStyle)
glyphStyle - style of the glyphspublic static CounterDigitsGlyphStyle convertStringCounterGlyphStyleToEnum(String glyphStyle)
glyphStyle - style of the glyphsCounterDigitsGlyphStyle equivalent of given glyph styleCopyright © 1998–2021 iText Group NV. All rights reserved.