Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: [HELP] Add OpenOffice Functions to Pentaho Report Designer

  1. #1

    Default [HELP] Add OpenOffice Functions to Pentaho Report Designer

    Hi,

    I need to add functions like prevision into Pentaho Report Designer. Can anyone help me? =)

    Fernando Felix.

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.