public class NumeralFormat
Example:
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.writeln("1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 50, 100");
PdfSaveOptions options = new PdfSaveOptions();
options.setNumeralFormat(NumeralFormat.EASTERN_ARABIC_INDIC);
doc.save(getArtifactsDir() + "Rendering.SetNumeralFormat.pdf", options);
Field Summary | ||
---|---|---|
static final int | EUROPEAN | |
European numerals: 0123456789.
|
||
static final int | ARABIC_INDIC | |
Numerals used in Arabic: ٠١٢٣٤٥٦٧٨٩.
Unicode range U+0660 - u+0669.
|
||
static final int | EASTERN_ARABIC_INDIC | |
Numerals used in Persian and Urdu: ۰۱۲۳۴۵۶۷۸۹.
Unicode range U+06F0 - u+06F9.
|
||
static final int | CONTEXT | |
Symbol set is decided from context(locale and RTL property).
|
||
static final int | SYSTEM | |
THIS OPTION IS NOT SUPPORTED.
Symbol set is decided from regional settings.
|
public static final int EUROPEAN
public static final int ARABIC_INDIC
public static final int EASTERN_ARABIC_INDIC
public static final int CONTEXT
public static final int SYSTEM