Hi,
I need to add functions like prevision into Pentaho Report Designer. Can anyone help me? =)
Fernando Felix.
Hi,
I need to add functions like prevision into Pentaho Report Designer. Can anyone help me? =)
Fernando Felix.
I have absolutely no clue what "prevision" is nor does a Google search show anything I could understand.
However, adding formula functions is done by implementing two interfaces:
org.pentaho.reporting.libraries.formula.function.Function
for the actual function and
org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
for the metadata of that function.
After implementing these you then have to register the functions in a file called "libformula.properties". Place a new properties file in the root package of your jar and we will pick up your new implementation during the bootup of the reporting engine.
Have a look at the sources for the "libformula" project to see some sample implementations of the functions we provide.
http://source.pentaho.org/viewvc/pen...formula/trunk/
Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.
Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.