2019.1

Table Of Contents
Note
The locale influences the way dates, times, numbers and currencies are formatted; see "Locale" on
page309.
You could also format data in a script using the formatter ; see "Standard Script API" on
page749.
Date
Dates can only be formatted via a script. All data in the Data Model are strings; they have to be
converted to Date objects before applying a particular date format. See also: "Creating a Date
object from a string" on page796.
Font style
Text originating from variable data can be displayed in uppercase, lowercase or proper case.
1. Open the Text Script Wizard: double-click to open an existing script in the Scripts pane or
create a new Text Script using the Text Script Wizard; see "Using the Text Script Wizard"
on page325.
2. Click a data field that contains text, or add such a data field to the script with the Add field
button on the right.
3.
Under Format choose the correct setting:
l
Uppercase transforms all characters to uppercase.
l
Lowercase displays transforms all characters to lowercase.
l
Propercase transforms the first character of each word to uppercase and all other
characters to lowercase.
l
None leaves the text as is.
4. Close the Script Wizard. For a new script, don’t forget to add the selector to the template.
Numbers and currencies
Numbers, and strings existing of digits, can be displayed as a number with a certain formatting
or as an amount of money.
Page 329