A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
Regarding tabular data from .doc file
praveen valaboju
Greenhorn
Joined: Mar 28, 2008
Posts: 5
posted
Mar 28, 2008 06:55:00
0
can any please help how to pick the tabular data from a .
doc file
Chris Stehno
Ranch Hand
Joined: Feb 26, 2001
Posts: 180
posted
Mar 28, 2008 20:24:00
0
You should look into the Apache POI project:
http://poi.apache.org,
specifically the section for their Java Word document format implementation:
http://poi.apache.org/hwpf/index.html
Hope this helps.
- Chris Stehno, SCPJ
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
1
posted
Mar 29, 2008 07:42:00
0
You might be able to use Open Office to convert the DOC file to a more easily parsed .RTF or HTML format.
Bill
Java Resources at
www.wbrogden.com
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
Mar 29, 2008 08:56:00
0
Welcome to JavaRanch.
The POI library is nowhere near being able to read table data from DOC files. Go with Bill's suggestion and look into the OO Java API; it has a steep learning curve, though.
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Regarding tabular data from .doc file
Similar Threads
Using tables with CSS layers
Printing contents
The tab character in HTML
Extracting the fields
regarding JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter