PDFContentCreator

Class name

com.ebd.hub.datawizard.iu.PDFContentCreator


This Integration Unit creates PDF documents from CSV, FixRecord, or from plaintext. The parameters Font and Font size are mandatory. A title for the PDF document is optional.

Important note: This Integration Unit creates binary data. If the content of the Integration Unit is used in a Response, file encoding 8859_1 has to be chosen.

Note: In different versions of the Integration Unit, the layout of the PDF may change. For guaranteed layouts, please switch to alternatives such as JasperReports (please contact our support).

Parameters


Parameter name

Allowed values

Default value

Description

Font

Times-Roman, Times-Bold , Times-Italic , Times-BoldItalic , Helvetica , Helvetica-Bold , Helvetica-Oblique , Helvetica-BoldOblique , Courier , Courier-Bold , Courier-Oblique , Courier-BoldOblique , Symbol , ZapfDingbats

Helvetica

The font (mandatory). Important note: Please use the exact spelling.

Font size


10

The font size (mandatory).

Input format

Plain-Text, CSV, FixRecord

Plain-Text

The input format. The input data comes from the target structure. Let's assume we have three fields there with the values 111, 222 and 333. With Plain-Text, the Integration Unit is passed the text 111222333, with CSV the text 111;222;333 and with FixRecord the text 111 222 333 (depending on the field length). Note: See also function concat( a, b, [CR-support c] ) (control characters).

Landscape

true, false

false

Landscape orientation.

Paperformat

A0, A1, A2, A3, A4, A5, A6, LEGAL, LETTER

LETTER

Paper format.

Title



The title of the document (optional).

Adding and Changing PDF Metadata


See postexecuter PdfAddMetadata.