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.
|
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–2022 iText Group NV. All rights reserved.