Hello,
I have a question why htmlworker for me converts only firt page, i mean if html
page is for example 4 page A4 it converts only first page why?
thnx
________________________________
From: Raf Hens <[email protected]>
To: Post all your questions about iText here
<[email protected]>
Sent: Thursday, July 12, 2012 1:29 PM
Subject: Re: [iText-questions] Data not printing on PDF properly.
On 12/07/2012 6:08, santhosh kumar wrote:
> I have a problem while printing the data to PDF. More on the problem is
> here.
>
> http://stackoverflow.com/q/11429964/1098379
I would be easier for the readers of this list if you'd post your question here
instead of linking to it.
Anyway, it seems you are using Flying Saucer, which is a 3rd party library that
uses iText to generate PDF. The XHTML and CSS processing and rendering is done
by Flying Saucer, so we can't help you there. iText is only used afterwards to
put the rendered content to PDF.
Also, you're using an ancient version of iText (2.0.8).
You can take a look at iText's XMLWorker, which is built with iText 5.3.0.
There is a demo available:
http://demo.itextsupport.com/xmlworker/
I have attached the PDF generated from your XHTML converted with the online
XMLWorker demo. The only change I've made is the background color. The
bgcolor attribute is not supported, so I replaced it with CSS:
"background-color: #4f81bd;"
Best regards,
Raf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php