2022.1

Table Of Contents
l Post Function: Enter a JavaScript expression to be run after the extraction.
A Post function script operates directly on the extracted data, and its results replace the
extracted data. For example, the Post function script replace("-", ""); would replace
the first dash character that occurs inside the extracted string.
l Use JavaScript Editor: Click to display the "boundaries" on page421 dialog.
l Trim: Select to trim empty characters at the beginning or the end of the field.
l Concatenation string: The (HTML) string used to concatenate lines when they are
joined.
l Split: Separate the selection into individual fields based on the Concatenation
stringdefined above.
Settings for location-based fields in a PDF file
These are the settings for location-based fields in a PDF file.
l Left: Defines the start of the data selection to extract, counting the number of characters
from the left. E.g. 1 means: start with the first character from the left.
l Right: Defines the end of the data selection to extract, counting the number of characters
from the left. E.g. 3 means: stop after the third character from the left.
l Top offset: The vertical offset (the number of lines) from the current pointer location in the
Data Sample (Viewer).
l Height: The height of the selection box, in the number of lines.
l Use selection: Click to use the value (Left, Right, Top offset and Height) of the current
data selection for the extraction.
Note
If the selection contains multiple lines, the lines are by default joined and extracted
into one field. To split the lines, select the option Split lines (see below).
l Post Function: Enter a JavaScript expression to be run after the extraction. For
examplereplace("-","")would replace a single dash character inside the extracted
string.
l Trim: Select to trim empty characters at the beginning or the end of the field.
Page 372