Difference between revisions of "SUN Report Builder/Documentation"
From Apache OpenOffice Wiki
Line 1: | Line 1: | ||
+ | == Sun Report Builder == | ||
+ | You can find the Sun Report Builder [http://extensions.services.openoffice.org/project/reportdesign here]. | ||
+ | |||
== Functions == | == Functions == | ||
A function can be created when opening the report navigator. In the context menu on the functions entry you can create one function. | A function can be created when opening the report navigator. In the context menu on the functions entry you can create one function. | ||
Line 26: | Line 29: | ||
* date as in java specific | * date as in java specific | ||
* parameter separator is ; (semicolon) and it is allowed to let some parameters empty inside a call like XYZ(;kk;;kkb) | * parameter separator is ; (semicolon) and it is allowed to let some parameters empty inside a call like XYZ(;kk;;kkb) | ||
+ | |||
+ | == Supported Functions == | ||
+ | Generally all functions which are defined in the [http://wiki.oasis-open.org/office/About_OpenFormula OpenFormula] should be supported. But this is currently still ongoing work and may change after each release of the Sun Report Builder. |
Revision as of 13:32, 22 August 2007
Sun Report Builder
You can find the Sun Report Builder here.
Functions
A function can be created when opening the report navigator. In the context menu on the functions entry you can create one function.
This function can either be in the global context of the report itself or in any group.
For example:
- compute the sum of a field
- In the name field enter the name of the functions. E.g. PopulationCount
- Enter the function. E.g. [PopulationCount] + [Population] Where Population is a column of the table.
- Enter the inital value. E.g. [Population]
- Insert a new formatted field and select the [PopulationCount] on the data tab.
Computed fields
Computed fields can be created in that way that the formula is entered directly into the data field.
E.g. 100*[Population]/[PopulationCount] to get the percentage of the current population
Syntax
- quote for [ is \
- \\
- [] as reference for formula or field name
- "" to quote strings
- . as decimal separator
- date as in java specific
- parameter separator is ; (semicolon) and it is allowed to let some parameters empty inside a call like XYZ(;kk;;kkb)
Supported Functions
Generally all functions which are defined in the OpenFormula should be supported. But this is currently still ongoing work and may change after each release of the Sun Report Builder.