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 element
public static String convertNumberAccordingToGlyphStyle(CounterDigitsGlyphStyle glyphStyle, int number)
glyphStyle
- style of the glyphs
number
- number to be converted
public static String getAllNumberGlyphsForStyle(CounterDigitsGlyphStyle glyphStyle)
glyphStyle
- style of the glyphs
public static CounterDigitsGlyphStyle convertStringCounterGlyphStyleToEnum(String glyphStyle)
glyphStyle
- style of the glyphs
CounterDigitsGlyphStyle
equivalent of given glyph style
Copyright © 1998–2021 iText Group NV. All rights reserved.