Thanks!  Your suggestion worked.

------------
Eli Segev
781-370-6096



-----Original Message-----
From: bruno [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 03, 2006 9:53 AM
To: Segev, Eli
Cc: [email protected]
Subject: Re: Copying a PDF File

Segev, Eli wrote:

>Bruno,
>
>The offending lines are:
>
>com.lowagie.text.pdf.PdfName len = 
>      new com.lowagie.text.pdf.PdfName(String.valueOf(meta.length));
>stream.put(com.lowagie.text.pdf.PdfName.LENGTH, len);
>
>What is wrong here?  If I take these lines out, everything is fine.
>
>  
>
'len' should be a PdfNumber, not a PdfName.
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to