Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache POI Exception While reading .doc file

 
Giacomo Chiavolotti
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, i'm new here and with Apache POI.

I would like to read a .doc file line by line and create a .pdf with text, table and image retrieved by the doc file. Now I managed to do it but not in order: I have written some code that extract text, table data, and image but I can't determine where those object are in the document.

All this because of if I try to run this code, who allow me to read the document paragraph by paragraph, I obtain a error.



The exception is:



How can i Solve this??

Thanks a lot and sorry for my english.
 
Olivier Rihoux
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Just seems that last paragraph of your table is flagged as : IsIntable but not inside range.gatTable(par).

Turnaround could be the following code :

 
Giacomo Chiavolotti
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.....didn't work.. it is my code with a try catch... my god...

thanks anyway
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic