views:

215

answers:

0

HI, I am trying to read a word doc that contains a table using POI. The requirement is to create rows in a Database Table with the information extracted from the table rows in the word document. For example, my word doc has a table like:

Heading Description Heading1 summary related to heading1 Heading2 summary related to heading2 .....

And my database contains a table named SUMMARY with the following columns:

ID DateAdded FileName Heading1 Heading2 ..... (as many heading columns as the number of rows in my word document table)

So I need to read the document using java, get the description text for each heading and then store that as a BLOB in the respective table column. I have tried using POI for this requirement. I am able to read the table rows and extract the text in each cell. But the data retrieved from cells using POI does not contain bullets or other formatting even though my original doc has bullets. All I am getting back is plain text. So is it true that I can not read the text along with bullets by using POI API? Please let me know ...

Thank you very much Jaikar