Return-Path: Delivered-To: apmail-poi-user-archive@www.apache.org Received: (qmail 79798 invoked from network); 8 Sep 2009 14:59:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Sep 2009 14:59:27 -0000 Received: (qmail 35440 invoked by uid 500); 8 Sep 2009 14:59:26 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 35427 invoked by uid 500); 8 Sep 2009 14:59:26 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 35417 invoked by uid 99); 8 Sep 2009 14:59:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 14:59:26 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.86.168.183] (HELO mxout-08.mxes.net) (216.86.168.183) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 14:59:16 +0000 Received: from smtp.jmlafferty.com (unknown [63.208.76.4]) by smtp.mxes.net (Postfix) with ESMTPA id CDB8A509D9 for ; Tue, 8 Sep 2009 10:58:53 -0400 (EDT) Received: from [10.10.0.226] (helo=[192.168.1.101]) by smtp.jmlafferty.com with esmtp (Exim 4.68) (envelope-from ) id 1Ml29k-0004Ms-1w for user@poi.apache.org; Tue, 08 Sep 2009 09:58:52 -0500 Message-Id: From: David Fisher To: "POI Users List" In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Bookmark in Word? Date: Tue, 8 Sep 2009 07:58:50 -0700 References: X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org >> Only one problem trouble this migration, and the solution will be >> that the bookmark of word be implemented for the last release of >> POI 3.5 I understand that including it, is difficult but can i have >> some hope and wait for it or stop the migration now ? > > I'd suggest that if it's a really important feature for you, you > grab the microsoft file format specification for word, and start > coding! Patches to poi are always gratefully received :) I'll re-iterate what Nick said. I'll add the following. (1) Start yesterday. POI 3.5 FINAL is fast approaching. (2) Join the dev list. (3) Ask questions about what is needed in a patch like proper ASF headers, unit tests and sample documents. (4) The more that you do the more likely the patch will be accepted in time to make POI 3.5-FINAL For what it is worth this is my impression without diving into the code is that the key is understanding the record structure required and that key in that is maintaining offsets into the RichText runs. Maintaining all the various records with offsets is tricky. Probably the trouble with bookmarks involves another part HWPF changing the richtext without changing the bookmark. Admittedly this is a guess. You might ask if your company requires a FINAL or will accept a FINAL patched by you to support bookmarks. This would be a good fallback strategy in case you run into trouble creating this patch. Regards, Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org