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: itext-questions@lists.sourceforge.net
Subject: Re: Copying a PDF File
Segev, Eli wrote:
>Bruno,
>
>The
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.
-Original Message-
From: br
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' shoul
Segev, Eli wrote:
I have some code that I wrote to learn how to use iText. The code
copies one file to another file. I copy pages and metadata. For some
reason adding metadata corrupts the file. The original file was created
with Adobe Illustrator. Without writing the metadata, AI can open