Thanks Paulo, That worked great. Now I just need to figure out why the DOM
automatically wraps text in paragraph tags (). This is built into the Sun
HTMLEditorKit class and is driving me nuts. It makes it impossible to have code
on two subsequent lines. Instead every time you hit enter the text is
Instead of use .
Paulo
- Original Message -
From: "Dominic Maricic" <[EMAIL PROTECTED]>
To:
Sent: Saturday, December 02, 2006 7:51 PM
Subject: Re: [iText-questions] HTMLWorker pdf jumbled
> Hi Paulo ,
> Thanks for the quick response. Are there some examples
Hi Paulo ,
Thanks for the quick response. Are there some examples of HTMLWorker in use?
I was able to get the example I gave to work following what you said, but
something like the following still bunches up when there is a tag that
should wrap to the next line. My code is below too.
;Dominic Maricic" <[EMAIL PROTECTED]>
To:
Sent: Saturday, December 02, 2006 6:34 AM
Subject: Re: [iText-questions] HTMLWorker pdf jumbled
>I tried 1.4.7 just to see if it was a bug, but the problem exists in 1.4.7
>too.
>
>
>
I tried 1.4.7 just to see if it was a bug, but the problem exists in 1.4.7 too.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT
I am trying to create a pdf from a String storing html code.
The problem is thatthe pdf is generated with the entire text
on the same line. So what should be 100 line pdf is now 1 line
with all 100 lines stacked on top of each other (looks like
a big black blob).
Here is an example of the html