This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache POI Exception While reading .doc file

 
Giacomo Chiavolotti
Greenhorn
Posts: 3
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic