numericshaping

Determines whether Arabic (European) numerals or national numerals are used. This option is typically used for bidirectional languages, such as Arabic and Hebrew.

Syntax

<numericshaping>numeralType</numericashaping>
Table 1. numericshaping properties
Parameter Type Description
numeralType nominal

Uses Arabic numerals exclusively.

  national

Uses national locale numeral system exclusively.

  contextual

Selects the numeric symbols depending on proceeding context.

Available in

button, check, checkgroup, combobox, field, label, list, pane, popup, radio, radiogroup, slider, table, toolbar

Example

The following example stores the Arabic data entered in FIELD1 in their national counterparts.
<field sid="FIELD1">
   <scrollhoriz>wordwrap</scrollhoriz>
   <value></value>
   <direction>ltr</direction>
   <numericshaping>national</numericshaping>
   <scrollvert>always</scrollvert>
   <itemlocation>
      <x>636</x>
      <width>249</width>
      <y>188</y>
      <height>100</height>
   </itemlocation>
 </field>

Usage details

  1. Default: Per parent, or contextual if not set in parent.
  2. Applied to plain and enriched (rtf) text.
  3. If the nominal setting is applied, Arabic numerals are exclusively used. As a consequence, occurrences of traditional numbers will be replaced by their Arabic (European) counterparts.
  4. If the national setting is applied, Arabic numerals will be replaced by their national counterparts.
  5. If the contextual setting is applied, numerics are selected depending on proceeding context according to rules W2 of the Unicode Bidi Algorithm (UBA). Uses Arabic (European) numerals unless Arabic script is found. If the Arabic script is found, Arabic-Indic numerals are used.
  6. Images used in button or label items are not affected.
  7. This option does not apply to data presented by secondary functions invoked by the item. For example, data presented by the viewer.messageBox function, file name data presented in enclosure dialogs, file dialogs, and data presented in signing ceremonies.
  8. Affects Label, Value, XForms:Label options, but does not affect other options.