Page 1 of 1

ITEXT JAR role in creation of Docx with HTML streams

PostPosted: Fri Apr 25, 2014 5:17 pm
by Murthy
I tried creating a blank Docx file using docx4j and I succeeded in creating the same. But when I tried to do the same including an HTML stream inside the Docx, I got a few exceptions. I realized that the inclusion of ITEXT-2.1.7 JAR resolved this problem(Not Working with ITEXT-2.0.8 JAR).

But the only information I want to know here is,

1. What exact role does the ITEXT-2.1.7 JAR have to play in the Docx generation, when it only comes to Parsing HTML streams into Docx files?
2. What extra features or Classes, does this ITEXT-2.1.7 version have over the older version ITEXT-2.0.8, that it only works with the former.

Can someone help me get this information asap? :?: :?:

Re: ITEXT JAR role in creation of Docx with HTML streams

PostPosted: Fri Apr 25, 2014 10:58 pm
by jason
You can checkout https://github.com/plutext/flyingsaucer and search src/java for "itext" to see where it is used.

I guess the exceptions you got are good clues as to where the differences lie.

Re: ITEXT JAR role in creation of Docx with HTML streams

PostPosted: Mon Apr 28, 2014 4:45 pm
by Murthy
Thanks jason! :)