1.4

PDF can be the PDF file that was used as input file, or another type of input
file, converted to PDF.
Note
From DataMapper input cannot be used in PrintShopMail
Connect. The DataMapper is included only in PlanetPress
Connect and PreS Connect.
NONE No PDF background.
RESOURCE_
PDF
A PDF file stored in the template or on the network. Note that it isn't
possible to use a remotely stored PDF file as a section's background.
MediaPositon
This is an enumeration for the position of background resources (background.position) for a
Print section.
Field Description
ABSOLUTE Places the PDF at a specific location on the page. Set the background's top
(background.top) and left (background.left) measured from the top
and left side of the section.
CENTERED Centers the PDF on the page, vertically and horizontally.
FIT_TO_
MEDIA
Stretches the PDF to fit the page size.
Pitfalls to avoid
When using merge.context or merge.section make sure to check for the appropriate
conditions.
l merge.section is only defined when when the output channel is Web. To make sure
that it is defined, use the following if statement: if (merge.channel ==
Channel.WEB && merge.context.type == ContextType.WEB) { ... }.
Page 65