Every variable and field can be set to a defined type (default is TEXT). Depending on the selected type the data in a variable or field are interpreted differently during the report creation. By default data is transferred as a string by script, meaning calls as e.g. NTPSendField or NTPSendVariable always transfer data as a string. The data is not interpreted before the report is physically created by calling e.g. NTPProcessReportExt, that is when the data is then interpreted.
NotesToPaper offers the following different field types:
Field type |
Symbol |
Description |
Example |
TEXT |
Text (Default field type) |
"NotesToPaper" |
|
RTF |
RichText |
Contains data in the Microsoft RTF format and is used to pass formatted contents from Notes rich text fields. "{\rtf1\ansi Hallo\par}" |
|
NUMERIC |
Number (Decimal sign as a point! . ) |
"3.141"
|
|
DATE |
Date (as a legible format)
|
The date must be passed in the format of the language set, e.g. for German as "dd.mm.yyyy" and for English as "mm/dd/yyyy" "01.12.1997" |
|
BOOLEAN |
Logical value ("T","Y" and "1" are interpreted as "true") |
"T"
|
|
DRAWING |
File name of a graphics file * |
"C:\BILD.PCX"
|
|
HTML
|
HTML code
|
"<b>Hallo</b>"
|
|
BARCODE |
Barcode string (convention is defined by the barcode type)
|
"12l12345l12345"
|
* supported graphics formats: MetaFile, Enhanced MetaFile, Bitmap, ZSoft Paintbrush, Capture SCR, Tag Image File Format, JPEG Standard, Kodak Photo CD