[iText-questions] bug in PdfStamper?

2003-08-11 Thread Samuel B. Quiring
I'm getting an exception in the following program that has me baffled. Any help would be greatly appreciated. The stack trace is: -- java.lang.ClassCastException at com.lowagie.text.pdf.PdfReader.getPageContent(PdfReader.java:865) at

Re: [iText-questions] Pdf 1.7 and merging XFA data

2007-11-10 Thread Samuel B. Quiring
Sorry for my ignorance, but what do you mean by the phrase XFA-native APIs? Since you use the plural, can you list two such APIs? -Sam - Original Message - From: Leonard Rosenthol To: Post all your questions about iText here Sent: Saturday, November 10, 2007 9:07 AM

[iText-questions] How to change a PDF but preserve the rights

2007-12-02 Thread Samuel B. Quiring
I have a PDF containing an XFA form; isXfaPresent() == true. The PDF was authored so that it can be opened in Adobe Reader, fields in the form can be filled, and the form can be saved by Reader to the file system. Using iText I have read in the PDF, obtained the XfaForm, changed values in the

[iText-questions] Invalid signature file digest for Manifest main attributes (2.0.7)

2007-12-08 Thread Samuel B. Quiring
I have a small test program that uses iText. It's been working fine for weeks. Today I downloaded itext-2.0.7.jar and replaced itext-2.0.6.jar. I rebuilt - no problems. When I tried to execute, I received this stack dump shown below. Any ideas? I should probably mention that my build.xml

Re: [iText-questions] Invalid signature file digest for Manifest main attributes (2.0.7)

2007-12-09 Thread Samuel B. Quiring
, December 08, 2007 1:51 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Invalid signature file digest for Manifest main attributes (2.0.7) -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Samuel B. Quiring wrote: I have a small test program that uses iText. It's been

Re: [iText-questions] How to change a PDF but preserve the rights

2008-02-04 Thread Samuel B. Quiring
AND only modifying a limited number of objects in the PDF. So yes, if you are going to create a whole new PDF - you'll break the Reader Enabling. If you're careful about what you do, and how you do it, you CAN accomplish your goal. Leonard On Dec 3, 2007, at 2:05 AM, Samuel B. Quiring

Re: [iText-questions] How to change a PDF but preserve the rights

2008-02-05 Thread Samuel B. Quiring
your questions about iText here Subject: Re: [iText-questions] How to change a PDF but preserve the rights You rewrote the PDF - therefore you changed it. Leonard On Feb 4, 2008, at 10:32 PM, Samuel B. Quiring wrote: Leonard, Are you sure? I have tried a few variations and I have not been

Re: [iText-questions] How to change a PDF but preserve the rights

2008-02-05 Thread Samuel B. Quiring
to distribute a file with Reader Enablement is to purchase Adobe LiveCycle ES and have it process your document AFTER you do whatever dynamic functionality you wish. Leonard On Feb 5, 2008, at 6:20 AM, Samuel B. Quiring wrote: I don't get it. How should this code be rewritten so

[iText-questions] Can iText add an attachment to an XFA-style PDF?

2008-02-08 Thread Samuel B. Quiring
Greetings, I have a PDF that contains Javascript with this pattern: var oDoc = event.target; oDoc.importDataObject(localAttachmentName); The importDataObject method adds an attachment to the PDF file. The other related pattern is: var oDoc = event.target; var

[iText-questions] Need help Flattening an XFA PDF

2008-02-26 Thread Samuel B. Quiring
I need help flattening a PDF file where isXfaPresent() is true. I am trying to use the following routine. It works fine for older PDF forms. When isXfaPresent() is true this routine creates the new file without error, but Adobe Reader claims I need a newer version of Adobe Reader to read the