2018.1

Table Of Contents
Method Description Script type
"find()"
below
Finds the first occurrence of a string starting
from the current position.
Boundaries
Preprocessor, Extract,
Condition, Repeat, Action,
and Postprocessor steps
get()
Retrieves an array of strings.
Boundaries
getVariable
()
Retrieves a value of a variable stored in the
boundaries object.
Boundaries
set()
Sets a new record boundary. (See: "Record
boundaries" on page168.)
Boundaries
setVariable
()
Sets a boundaries variable to the
specified value, automatically creating the
variable if it doesn't exist yet.
Boundaries
find()
Method of the boundaries object that finds a string in a region of the data source file. The
method returns the region in which the string was searched (PDF file) or the exact region in
which the string was encountered (Text file).
To check if the call to boundaries.find() was successful, you can read the region object's
property found (see "region" on page337).
Note
In PlanetPress Connect 1.8 and previous versions, the DataMapper's boundaries.find()
function returned the region searched within PDF files, whereas for text files it returned the exact
region where the text was found. In 2018.1 this was changed so that boundaries.find() on
PDFs would return the exact region where the text was found, the same as for text files. However, it
was subsequently found that this could cause issues with previously created templates using the
function on PDF files. Consequently, this change was reverted in 2018.1.1.
Page 318