1.4

template file (.OL-template in the example above).
${template.nr}
An automatic sequence number belonging to the current output file. It is
automatically incremented for each new output file that gets created.
Note, that multiple output files are created, for example, when output
separation has been selected for output creation.
It is possible to format the number using a pattern and locale. See
Formatting date and number values, below.
${template.ext}
The extension that corresponds to the chosen output technology.
For example, for PDF output, ${template.ext} would be pdf, for
PostScript output, ${template.ext} would return ps
Note, that ${template.ext} does not include a leading dot.
The File object
${file}
${file} is basically a short hand for ${file.base}_${file.nr,0000}.${file.ext}
where 0000 in ${file.nr,0000} is a format pattern that takes care of
formatting the number with at least four digits including leading zero's.
See Formatting date and number values, below.
Server context:
On the Server, ${file} expands to a file name based on the job name. A
four digit sequence number is added at the end of the basename. The
suffix (the extension) is defined by the selected output technology.
Example
If the job name is my-invoices-reprint and is printed to PDF, then ${file}
expands to my-invoices-reprint_0001.pdf
Designer context:
In the Designer, ${file} returns a generated name based on the current
template name. A four digit sequence number is added at the end of
the basename. The suffix is defined by the selected output technology.
Example
Page 143