I created bug 50587 and attached a patch based on a recent version of the source. Please let me know via e-mail or the bug report itself what changes are necessary.
Thanks! Jon ________________________________ From: Yegor Kozlov <[email protected]> To: [email protected] Sent: Fri, January 14, 2011 2:02:20 AM Subject: Re: documentation for User Defined Functions Put the files in the POI examples module, ./src/examples/ relative to the project root. I think the package should be ./src/examples/src/org/apache/poi/ss/examples/formula, we plan to add more examples on formula usage and your UDF patch will be a part of it. The example should have a main() function and the input spreadsheet can be passed as a command line argument. Don't hesitate to upload a draft in Bugzilla, we may need several iterations before applying it. Regards, Yegor On 1/14/2011 6:32 AM, Jon Svede wrote: > Last year I said I would contribute some documentation on the User Defined > Functions and I am finally getting around to that. My documentation basically > follows an example class and an example implementation of FreeRefFunction that > calculates principal and interest for a mortgage calculator. I'd like to add > these examples so that I can point to them in the docs. > > > Where would I add these two classes and the spreadsheet that I am using as an > example? The spreadsheet has a function written in VBA so the example will need > to access to that file. > > The documentation is done so as soon as I know where to put the files I'll > create the patch and open a bug report to attach it to. > > I'll obviously need someone to tell me if it's in the right place and if it > properly describes how to do it. > > Thanks, > > Jon > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
