Hi Ocke,
>> two little questions:
>>
>> a) Is it/will it be possible to invoke OOo macros from the report?
>> [This would allow among other things to e.g. add additional functions,
>> log/debug the creation of a report etc.]
>>
> Currently not. I'm sorry. But it's on our list and may be it will be
> available in the first release. There are much things to do :-)
>> b) If so, will there be a directory kind of data structure supplied by
>> the report to the macros to be able to save data/objects in between of
>> the macro invocations?
>> [This would allow among other things to e.g. create and populate summary
>> kind of information/data (to make it available for the report, to be
>> used for logging purposes by adding information to a database about the
>> reports being run and maybe specific results of the report, etc.).]
>>
> It is no the less possible to write own Java classes which define own
> functions which itself will be executed when the report invokes them.
> If you are interested in such functionality please have a look at the
> libformula project from jfreereport.org/ pentaho web site.
Thank you very much for your quick answer! Of course, I will be holding
my breath that invoking OO macros from the reports will be in the first
release!
As the OOo scripting framework is Java based it may be interesting to
use the JSR-223 scripting architecture for this purpose for the report
module too, as it is implemented in Java. JSR-223 got introduced with
Java 1.6 ("javax.script" package).
There is an opensource implementation of JSR-223 from the Apache
Software Foundation available in beta, which is dubbed "BSF 3.0" and
which can be employed against earlier versions of Java, namely 1.4.x and
1.5.x. (Eventually we will run it against the TCK.) In case you or
someone else is interested in this option, you can get the beta either
from svn (starting point: <http://jakarta.apache.org/bsf/>), or
"packaged" from <http://people.apache.org/~antelder/bsf/beta1-RC1/>.
> Have a nice weekend.
Thank you, have a nice weekend yourself !
---rony
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]