John Pedersen wrote:
> Paulo,
>
> I hope I haven't offended by sending you the code and pdf's that are
> causing my difficulty.
> I have reduced the code to the minimum which throws the
> NullPointerException, and I am still stuck in the same place.
I'm sorry, but I find that very hard to belie
Paulo,
I hope I haven't offended by sending you the code and pdf's that are causing
my difficulty.
I have reduced the code to the minimum which throws the
NullPointerException, and I am still stuck in the same place.
Do you have time to look at it? Can you suggest a way forward?
Thanks,
John
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of John Pedersen
> Sent: Monday, January 15, 2007 11:54 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] PdfContentByte == null
>
> H
Hi Paulo,
In trying to isolate the code that would give me the null ContentByte
object, I have come across another problem that I have been trying to sort
out - the error 'Irregular columns are not supported in composite mode.' I
am not trying to use irregular columns.
public void testBuildPDF()
5, 2007 9:35 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] PdfContentByte == null
>
> Hi,
>
> In the following code:
>
> reader = new PdfReader(baos.toByteArray());
> document = new Document(reader.getPageSizeWithRotation(1));
> document.o
Hi,
In the following code:
reader = new PdfReader(baos.toByteArray());
document = new Document(reader.getPageSizeWithRotation(1));
document.open();
stamper = new PdfStamper(reader, new FileOutputStream( outputFileName));
stamper.insertPage(++pageNum, reader.getPageSizeWithRotation(1));
PdfConten