2.3.93 NumeralVariant

The NumeralVariant property specifies the variant of the digit format to use. If this property is specified, it MUST be part of a Style record.          

 NumeralVariant = numeralVariantStart numeralVariantValue


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

numeralVariantStart

numeralVariantValue

...

numeralVariantStart (1 byte): A byte that specifies the start of the NumeralVariant property. The value of the numeralVariantStart field value MUST be the following value.

Value

Parent

0x25

SharedStyleProperties

NonSharedStyleProperties

numeralVariantValue (4 bytes): An integer variable value that specifies the variant of the digit format to use.<56> The default value is 0x00000001. The value of the numeralVariantValue field MUST be one of the following values.

Value

Meaning

0x00000001

Default; follow Unicode context rules.

0x00000002

0123456789

0x00000003

Traditional digits for the script as defined in GDI+.

Applicable only to numeral languages that have the following cultures: ar, bn, bo, fa, gu, hi, kn, kok, lo, mr, ms, or, pa, sa, ta, te, th, ur

0x00000004

Applicable only to numeral languages with the following cultures: ko, ja, zh-CHS, zh-CHT

[Simplified number format]

0x00000005

Applicable only to numeral languages with the following cultures: ko, ja, zh-CHS, zh-CHT

[Traditional number format]

0x00000006

Applicable only to numeral languages with the following cultures: ko, ja, zh-CHS, zh-CHT

[Wide versions of regular digits]

0x00000007

Applicable only to numeral languages with the following cultures: ko