Yeah, you can use Apache POI to parse and manipulate word 2003 data. Download the library and take a look at the API here http://poi.apache.org/ On Oct 11, 7:41 pm, "James Boswell" <boswell_ja...@hotmail.com> wrote: > Hi, > > The Javadocs for Apache POI can be found here: > > http://poi.apache.org/apidocs/index.html > > I had a quick look at this. If you call getRange() on the HWPFDocument > object, this will return a Range object covering the whole document (apart > from headers and footers). On this Range object, you can determine the > number of paragraphs (numParagraphs()) and for each of these, you can get > back the tables within them using getTable(Paragraph p). > > Something like this: > > ... > > Hope this helps. > > James > > > > -----Original Message----- > > From: java-ee-j2ee-programming-with-passion@googlegroups.com > > [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of > SantoshJ > > Sent: 09 October 2009 07:05 > > To: Java EE (J2EE) Programming with Passion! > > Subject: [java ee programming] Need a help... > > Hi friends, > > I m writing small java code which will read the MS doc i.e. MS word > > (98-2003) format doc file. This file contains the one table of 10rows > > and 5 columns. with some entries in that. > > Now here I want to read that table entries by cell-by-cell meaner and > > convert it into the CSV format. > > I tried with "Apache POI - HWPF - Java API to Handle Microsoft Word > > Files" but in this i don't find it. Using this i can read the text by > > paragraph. or normal text. But how we can read the table. Also i don't > > fine any API of "Apache POI-HWPF". > > Please any one tell me how i can do this. > > Regards, > > Santosh Jagade > > No virus found in this incoming message. > > Checked by AVG -www.avg.com > > Version: 8.5.421 / Virus Database: 270.14.9/2427 - Release Date: 10/10/09 > 06:39:00 > > > > image002.gif > 3KViewDownload
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---