On 5/10/2011 20:23, stelang wrote:
> Hi,
>   I have horizontal scrolling in my JPanel. The pdf generated from this panel
> ignores the scrolling setup and only displays partial data. Please advise.
> To generate pdf, I am using JTextPaneToPdf.java (one of the older samples
> from this forum) as reference.
PDF is digital paper. Have you ever seen a scrollbar on paper ;-)
Seriously: the only way you can deal with this, is by drawing everything 
that is drawn to the JPanel to the PdfGraphics2D object. That means: you 
can't use scrollbars. Get rid of them somehow.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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

Reply via email to