ODTCreatorUnit

Group

Integration Units

Class name

com.ebd.hub.datawizard.iu.ODTCreatorUnit

Function

This Integration Unit can be used to create text documents in Open Document format.

Description

Introduction: Integration Units.

The ODTCreatorUnit can be used to create text documents in Open Document format. This is supported by a number of office packages and text processors, among others OpenOffice 2.0.

The office document will be created on the basis of a template file, which can simply be created in OpenOffice as a text document, for example. This document has to be stored as a regular text document and not as a template within OpenOffice.

Parameter Description

Parameter Name

Allowed Values

Default Value

Description

create multiple files

true, false

false

To create multiple documents instead of a single one.

directory

The output directory.

file pattern

File name pattern for the generated documents, if the integration unit saves them (if save files is set to true). The pattern can contain placeholders. Allowed placeholders are y, M, d, h, m, s, S and n.

root node for multiple files

Every instance of this node will create a single document if create multiple files is set to true. All nodes of the destination structure above this node are not reachable. The template always has to have an outmost block corresponding to the root node.

save files

true, false

false

If true, the integration unit itself will save the file(s) (mandatory).

template-file

The text document serving as a template.

unknown tags replacement

?

Unknown tags will be replaced with this character sequence.

An example for parameter file pattern:

For invoice<yyyy><MM><dd>_<HH><mm>

a profile run at 24.02.2006, 12:30 pm would create a file with name:

invoice20060224_1230.odt

Or, if parameter create multiple files is set to true, multiple files with names:

invoice20060224_1230_Part1.odt

invoice20060224_1230_Part2.odt

invoice20060224_1230_Part3.odt

...