Re: [iText-questions] What are those unused objects in a PDFdocument

2011-10-11 Thread WMJ
Thank you for the suggestion. Since I do need the functionality of RemoveUnusedObjects somewhere else, I don't want to touch it. I've settled down to hack the source code and commented the line of  RemoveUnusedObjects(); in the ReadPdf method of the PdfReader class. The consequence is that ever

Re: [iText-questions] What are those unused objects in a PDFdocument

2011-10-11 Thread Mark Storer
Not neccessarily! You could create a new class that inherits from PdfReader and overrides RemoveUnusedObjects() (unless it's private... but I think it's public). Yep, sure is. So your version of RemoveUnusedObjects can do all that stuff I suggested the first time around. --Mark Storer Senio

[iText-questions] NullPointerException getting action from the button

2011-10-11 Thread Fausto Bencosme
Hi, I need to change the submit action of a button added to pdf file. But I have a problem, the action is null and I can figure out why or what is the reason of it. My code is the following: 1. final PushbuttonField submitBtn = createSubmitButton( stamper); //Creating a s

[iText-questions] adding fontcolor and fonttype to the same cell

2011-10-11 Thread Aarthi M
Hi, Is it possible that i add a font type and color to the same cell. Somehting like this, PdfPCell c2 = new PdfPCell(new Phrase("Name", FontFactory.getFont(FontFactory.HELVETICA_BOLD))); now i would like to add Font f = new Font(); f.setColor(BaseColor.WHITE); font:white to the same cell.

Re: [iText-questions] Generating multi-page file from single-pagetemplate

2011-10-11 Thread Mark Storer
All fields within a form that share a name also share their value. Merging multiple instances of the same form is Tough. It's also one of the main reasons I use flattening. So: Build your PDF one page at a time. Save each page out to a memory stream, then import them all into a final PDF. No

[iText-questions] Generating multi-page file from single-page template

2011-10-11 Thread Chris Harry
Im currently attempting to take a template file (a single page PDF file residing on the filesystem) and creating a multiple page output file, based on a certain number of invoices that need to be printed at once. The template file contains form fields (address info, item info, etc) that will be po

[iText-questions] help

2011-10-11 Thread Fausto Bencosme
Hello, I need to change the submit action of a button added to pdf file. But I have a problem, the action is null and I can figure out why or what is the reason of it. My code is the following: 1. final PushbuttonField submitBtn = createSubmitButton( stamper); //Creating

Re: [iText-questions] extracting xml attachment

2011-10-11 Thread 1T3XT BVBA
On 11/10/2011 10:59, Mester József wrote: > Hello members > > How can I extract xml attachment from pdf? > I read kubrick's dvd example and I tried this example for my pdf. > if (PdfName.FILEATTACHMENT.equals(annot.getAsName(PdfName.SUBTYPE))) { > Subtype is widget now. I don't know what kind

Re: [iText-questions] PAdES-LTV implementation

2011-10-11 Thread mkl
Paulo, Paulo Soares-3 wrote: > The LTV implementation is finished but I'm still deciding on what the > user interface will be in the DSS case. Today I'll commit code for the > timestamp and the rest until the end of the week. I'm looking forward to seeing it! > About the "ETSI PAdES Remote I

Re: [iText-questions] PAdES-LTV implementation

2011-10-11 Thread Paulo Soares
Sorry for the late reply. The LTV implementation is finished but I'm still deciding on what the user interface will be in the DSS case. Today I'll commit code for the timestamp and the rest until the end of the week. About the "ETSI PAdES Remote Interop Event" it sounds interesting but the real

[iText-questions] extracting xml attachment

2011-10-11 Thread Mester József
Hello members How can I extract xml attachment from pdf? I read kubrick's dvd example and I tried this example for my pdf. if (PdfName.FILEATTACHMENT.equals(annot.getAsName(PdfName.SUBTYPE))) { Subtype is widget now. I don't know what kind of subtype needed. Joe --