Re: [iText-questions] Editing PDF Stored as a BLOB without Re-Constituting File

2008-09-18 Thread Ed M
Alleni, Thanks for the idea. I am working with several PDFs and need to edit, order, and concatenate into a final PDF and then store as a BLOB back to teh database without generating any physical files. For each PDF, I am actually reading the BLOB into a BinaryStream, converting to a byte[], an

[iText-questions] Copying another PDF into a PDF, without adding white space.

2008-09-18 Thread Tonatiuh Mendoza
Hello all, I am writing a script where i need to add a PDF to a main PDF. The first PDF is usually half a page or less than a page, and when i get the new document i am copying the whole page, therefore i have a lot of unwanted whitespace. What i tought will fix my problem was eliminating all the

Re: [iText-questions] PdfCopyFields breaking Signature Panel?

2008-09-18 Thread JKnecht
The signature field should be visible in the panel. It is visible in the non-merged version of the document. Also, if I use the PdfCopy (with the copyAcroForm() method), the signature field will be visible in the panel. From: Paulo Soares <[EMAIL PROTECTED]> To: Post all your questions abo

Re: [iText-questions] Question about functionality

2008-09-18 Thread Leonard Rosenthol
What are you doing that requires the use of Stroke Adjustment? It's a device dependant feature and isn't actually used by a PDF renderer on screen. Leonard On Sep 18, 2008, at 7:52 AM, Stefan Vissia wrote: > Dear developers, > > First of all I want the thank you for the great library IText!

Re: [iText-questions] PdfCopyFields breaking Signature Panel?

2008-09-18 Thread Paulo Soares
I don't understand your problem. I can see the signature field in the merged doc with Reader 8 and 9. I can sign it and see the signature. The signature doesn't show in the panel because it's the Reader and the form is not enabled. All is as expected. Paulo > -Original Message- > From:

Re: [iText-questions] Question about functionality

2008-09-18 Thread Paulo Soares
The graphic state is a dictionary and the more usual functions are implemented as explic methods but nothing prevents you to add whatever keys you need. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Stefan Vissia > Sent: Thursday, Septemb

[iText-questions] Question about functionality

2008-09-18 Thread Stefan Vissia
Dear developers, First of all I want the thank you for the great library IText! As second, in the graphical state I see that the function "stroke adjustment" is not implemented, can you tell me when this function should be available? We need it in a prototype of our program to create the PDF

[iText-questions] Add a Paragraph to a Phrase with a index

2008-09-18 Thread nicolas DOS SANTOS
I can add a Paragraph object to a Phrase object with add(Object o) method But why I cannot add a Paragraph object to a Phrase object with add(int index, Object o) method ? Suggestions? - This SF.Net email is sponsored by the M

Re: [iText-questions] removing duplicate fonts

2008-09-18 Thread mourad zamoun
I am searching the code to do it !! in fact, I have merged pdf files and I acquired a big file at the end. therefore I think that there are objects duplicated in the acquired file. See you soon Mourad :) 2008/9/17 Paulo Soares <[EMAIL PROTECTED]> > > It's possible if you write the code to do it

Re: [iText-questions] Is it possible to know if a PDF file is a collection file using iText?

2008-09-18 Thread Paulo Soares
Look for /Collection in the catalog. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Daniel Oliveras > Sent: Thursday, September 18, 2008 8:33 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Is it possible to know

Re: [iText-questions] PdfContentByte

2008-09-18 Thread Paulo Soares
PdfDictionary p = reader.GetPageN(page); Rectangle rect = reader.GetPageSize(page); rect.Top= rect.Top + 2 * iTotalAreaAdded; rect.Right = rect.Right + 2 * iTotalAreaAdded; p.Put(PdfName.MEDIABOX, new PdfRectangle(rect)); p.Put(PdfName.CROPBOX, new PdfRectangle(rect))

[iText-questions] Is it possible to know if a PDF file is a collection file using iText?

2008-09-18 Thread Daniel Oliveras
I have a module in the internal application we are developing that signs PDF files, the problem is we need to sign only "normal" PDF files, so I need to control if the file the user wants to sign is not a Collection file. Is this possible? Thanks ---

Re: [iText-questions] PDF/A: Missing metadata entry for fonts

2008-09-18 Thread Leonard Rosenthol
Sure, but you'll need to construct the XMP metadata yourself and then add it using low level API calls. The details of the required XMP are in the PDF'/A application notes... Leonard On Sep 18, 2008, at 12:32 AM, armus wrote: > > Thanks for the fast response. "intarsys PDF/A-Check" said i