com.aspose.words

Class NumeralFormat

  • java.lang.Object
    • com.aspose.words.NumeralFormat
public class NumeralFormat 
extends java.lang.Object

Utility class containing constants. Indicates the symbol set that is used to represent numbers while rendering to fixed page formats.

Example:

Demonstrates how to set the numeral format used when saving to PDF.
PdfSaveOptions options = new PdfSaveOptions();
options.setNumeralFormat(NumeralFormat.CONTEXT);

Field Summary
static final intEUROPEAN = 0
European numerals: 0123456789.
static final intARABIC_INDIC = 1
Numerals used in Arabic: ٠١٢٣٤٥٦٧٨٩. Unicode range U+0660 - u+0669.
static final intEASTERN_ARABIC_INDIC = 2
Numerals used in Persian and Urdu: ۰۱۲۳۴۵۶۷۸۹. Unicode range U+06F0 - u+06F9.
static final intCONTEXT = 3
Symbol set is decided from context(locale and RTL property).
static final intSYSTEM = 4
THIS OPTION IS NOT SUPPORTED. Symbol set is decided from regional settings.
 

    • Field Detail

      • EUROPEAN = 0

        public static final int EUROPEAN
        European numerals: 0123456789.
      • ARABIC_INDIC = 1

        public static final int ARABIC_INDIC
        Numerals used in Arabic: ٠١٢٣٤٥٦٧٨٩. Unicode range U+0660 - u+0669.
      • EASTERN_ARABIC_INDIC = 2

        public static final int EASTERN_ARABIC_INDIC
        Numerals used in Persian and Urdu: ۰۱۲۳۴۵۶۷۸۹. Unicode range U+06F0 - u+06F9.
      • CONTEXT = 3

        public static final int CONTEXT
        Symbol set is decided from context(locale and RTL property).
      • SYSTEM = 4

        public static final int SYSTEM
        THIS OPTION IS NOT SUPPORTED. Symbol set is decided from regional settings.