1.6

Table Of Contents
The Data Viewer
The Data Viewer is a central part of the module, as the most important aspect of the
DataMapper is obviously the data. It displays the content of the Data Source that is currently
loaded in the DataMapper in a way that is easy to view and interact with. What is seen in the
Data Viewer, however, is not simply the raw Data Source. It is formatted to fit your screen and
can be modified through the use of a Preprocessor. The Data Viewer itself is surrounded by two
different areas: the toolbar at the top and the data map on the left. The toolbar is used to control
a few options in the viewer. For example, with a text file Data Source, the font displaying the
text can be changed. A button can also hide the data map, and zoom controls are also
available. Some of the toolbar features may be unavailable, depending on the Data Source
type. The data map on the left gives you precise indications on how the cursor moves within the
DataMapper. The cursor defines where data extraction starts. It starts at the top left of the
screen and moves down as you go through the data. Data is always extracted using an offset or
a relative position from the current cursor location. This is how totals can be extracted at the
end of an invoice with a variable number of lines, since the total is always from the same
distance to the last line of the invoice. The offset is always the same. The data map can
therefore indicate loops, gotos as well as condition results for each line.
When the Delimiter and Boundary options are set in the Settings Pane, the Data Viewer reflects
those changes and can display more than one unit of the data sample (page, XML node, CSV
line, etc.), depending on these options.
Data Selection
There are three different ways to create a data selection inside the Data Viewer, depending on
the Data Source type that is currently loaded. Data selections can be used for Condition,
Repeat and Extraction steps.
Tabular Data
Tabular data is displayed in a table where multiple fields appear for each line or row in the
original data. Selections can only be done on each line, meaning you cannot select data from
multiple rows at the same time. You can select multiple fields at once in the same row using
features you would expect. Click & drag to select multiple fields or use CTRL-click and SHIFT-
click combinations.
PDF and Text
PDF and text are both handled in basically the same way. You can select any area of one or
more lines on the page. These selections can be moved and resized simply by dragging them
Page 148