On 20/07/2011 0:21, Mike Rothschild wrote:
> Hi,
>
> I currently am building a PDF through Java using iText 5.1.1 which has 
> a table and for each table there are two columns.  The first column of 
> each row is a rectangular color and the second column of each row is 
> text.  All of this is being generated within a loop.
>
> Now, the table builds fine with everything, but for some reason, an 
> entire page is being inserted before.  The only thing on that page is 
> the last color created by the loop and it's in the very bottom left of 
> the screen.  I have no idea why this is happening, but I believe the 
> origin of something is 0,0, right?  Is there a way to make this not 
> show up in the bottom left on a brand new page?  Here is some of my code:

Your code isn't complete enough to comment on it, nor to reproduce the 
problem.
For instance: what is curCompChapter? Is it a Chapter object?
If so: why are you surprised that it starts a new page (which is the 
default behavior of a Chapter).
If you want an answer: please provide a standalone example that 
reproduces the problem.

------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
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