Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 87757 invoked from network); 14 Jan 2011 09:02:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2011 09:02:57 -0000 Received: (qmail 76019 invoked by uid 500); 14 Jan 2011 09:02:56 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 75767 invoked by uid 500); 14 Jan 2011 09:02:53 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 75759 invoked by uid 99); 14 Jan 2011 09:02:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 09:02:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [81.13.50.178] (HELO dinom.ru) (81.13.50.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 09:02:45 +0000 Received: from [93.91.6.21] (helo=[10.10.11.232]) by dinom.ru with esmtpa (Exim 4.69) (envelope-from ) id 1Pdel3-0004QA-SF for dev@poi.apache.org; Fri, 14 Jan 2011 11:11:42 +0300 Message-ID: <4D30111C.3040801@dinom.ru> Date: Fri, 14 Jan 2011 12:02:20 +0300 From: Yegor Kozlov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: dev@poi.apache.org Subject: Re: documentation for User Defined Functions References: <328058.32190.qm@web113616.mail.gq1.yahoo.com> In-Reply-To: <328058.32190.qm@web113616.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org