TRANSFORMER

OpenOffice Calc source

An OpenOffice Calc source uses an OpenOffice Calc file as source for a Transformer project. The file that is to be used must first be imported to Resources. See Resources for information on how to import a file.

Most File resources can be previewed by clicking the Refresh button in the Preview panel. For Resources of types that require a special program to be opened (e.g. .xls, .odt, .doc, etc.) click the View button in the Preview panel.

Creating an OpenOffice Calc source

Right click in the Transformer design panel and choose Source -> OpenOffice Calc.

It is possible to 'Drag and Drop' an .ods file from the Resources panel to the Design panel and use it as an OpenOffice Calc source.

 

Now double click the OpenOffice Calc source icon to configure.

Properties

General

Configuration

Last modified

To select a file, go to the Custom tab.

Custom

A number of rows from the source file are displayed below Data Range, so you can check that the correct file has been chosen.

 

To describe the layout of the data file, you can mark Auto range, and Transformer will use the top row of the file as Header and the other rows as Data.

 

Or remove the check in Auto range and specify Header Range and Data Range manually. Click and drag the mouse to mark the cells you want to use as headings and clicking the Set button to the right of Header range. Repeat the process for Data range. You can also enter the cell IDs directly in the range fields.

Now check the displayed rows to see that the range positions specified are correct.

 

Click OK to save the configuration or Cancel to reject.

There are some restriction to the files Transformer can use as source.

1. All cells in the sheet must be real figures. Formulas are not supported.

2. No links to other sheets.

3. The first row in the sheet will be treated as a Header row if Auto range is used.

4. No empty rows allowed.

5. Empty cells will be given the following default values. If you want other default values you must adjust them in the Excel source file.

    • String - blank

    • Number - "NaN" (Not a Number)

    • Date - "January 1, 1970"

    • Boolean - "False"

 

Version 5.1.2.0

This document contains confidential information. Not to be copied by third parties without written authorization.

© Copyright Corporater AS - All rights reserved.