[iText-questions] merge the 2 or more pdfs using the iText

2005-06-08 Thread raja buddha
Hi all Can any body tell how to merge the 2 or more pdfs using the iText Regards Prem _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

[iText-questions] Nested tables with borders result in multiple borders

2005-06-08 Thread Rebecca Peltz
I am using nested tables. I have a border around the outer table and a border around the inner table because the inner table is often smaller than the outer table and I need to see the demarkation. The problem is after I nest a couple of tables, each with their own borders, you can see both bo

[iText-questions] Problem with Loading Image using Image.getInstance()

2005-06-08 Thread Vd K
Hi,   I am trying to get an instance of Image object using the following code     Image img = Image.getInstance(buffer);   I am reading the contents of an Image file into a byte[] array and passing it as a parameter to the above method in the variable "buffer". It works fine if I use a normal image

[iText-questions] how to rotate a document

2005-06-08 Thread haipeng du
How could I rotate a document in which each page has different rotation when use reader.getPageRotation(i). Thanks a lot. -- Haipeng Du Software Engineer Comphealth, Salt Lake City --- This SF.Net email is sponsored by: NEC IT Guy Games. How

Re: [iText-questions] Cell width problem

2005-06-08 Thread Bruno Lowagie
Kleczka Marcin wrote: Hi, I've got a problem with cell widths. I need something like in html. I've tried noWrap for cell but it doesn't change cell width. Sorry, PDF isn't HTML. Is it also possible to set cell width for example on 100px? http://itextdocs.lowagie.com/tutorial/objects/tabl

Re: AW: [iText-questions] How to insert pdf form fields in different pages??

2005-06-08 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Could you please elaborate on, how I can process the document page by Page? Your source is XML. You need to add formfields. Define tags that describe the formfields. Subclass the SAXiTextHandler to handle those tags. Read the SAXiTextHandler code to get inspiration.

RE: [iText-questions] Bug find in iText

2005-06-08 Thread Paulo Soares
That's a bug. The fix is in the CVS. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Matthieu Labourel > Sent: Wednesday, June 08, 2005 2:55 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Bug find in iText > > Hi, >

[iText-questions] Bug find in iText

2005-06-08 Thread Matthieu Labourel
Hi, You have a bug in class : com.lowagie.text.pdf.codec.BmpImage In function : public static Image getImage(InputStream is, boolean noHeader, int size) throws IOException The line : img.setDpi((int)((double)bmp.xPelsPerMeter * 0.0254), (int)((double)bmp.*x*PelsPerMeter * 0.0254));

[iText-questions] Cell width problem

2005-06-08 Thread Kleczka Marcin
Hi, I've got a problem with cell widths. I need something like in html. I've tried noWrap for cell but it doesn't change cell width. Is it also possible to set cell width for example on 100px? Thanks in advance for any reply, Marcin Kleczka --

Re: AW: [iText-questions] How to insert pdf form fields in different pages??

2005-06-08 Thread anitha . d . chandran
Thanks for the reply. This is , in fact, a major roadblock for us to move forward.. Could you please elaborate on, how I can process the document page by Page? Also, Is there a way to find out, which Page the PdfWriter is actually at ? Is there a way to set the PdfWriter to a specific page?

RE: [iText-questions] Re: PDFStamper corrupts the PDF Signature

2005-06-08 Thread Paulo Soares
PdfStamper(PdfReader reader, java.io.OutputStream os, char pdfVersion, boolean append) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of iText General > Sent: Wednesday, June 08, 2005 1:43 PM > To: itext-questions@lists.sourceforge.net > Subject:

[iText-questions] Re: PDFStamper corrupts the PDF Signature

2005-06-08 Thread iText General
Hi Paulo, Will you please guide me that how can I add information in append mode? Regards, Faisal > > > > "Paulo Soares" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > One of the ideas of digital signatures is to check the document > > integrity. If you are adding more infor

Re: [iText-questions] Help required to insert static text on an existing pdf

2005-06-08 Thread bruno
Krishna Kishore .J wrote: Hi Bruno, Thanks once again for your reply. The examples and scenario you mentioned in your reply work when the pdf form has form fields. But i don't have form fields for the items i've specified. So i am trying to display the text dynamically with out using form

[iText-questions] Re: PDFStamper corrupts the PDF Signature

2005-06-08 Thread iText General
I also noticed that 'destination.pdf' is 2KB less than 'source.pdf' document. "iText General" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You are right but case is different. > > If I try only following code (do not update pdf document), even then > signature becomes corrupt. >

Re: [iText-questions] Help required to insert static text on an existing pdf

2005-06-08 Thread Krishna Kishore .J
Hi Bruno, Thanks once again for your reply.   The examples and scenario you mentioned in your reply work when the pdf form has form fields.   But i don't have form fields for the items i've specified. So i am trying to display the text dynamically with out using form fieldd.   Can you suggest

[iText-questions] Re: PDFStamper corrupts the PDF Signature

2005-06-08 Thread iText General
You are right but case is different. If I try only following code (do not update pdf document), even then signature becomes corrupt. // public void save(String a_strSrcPDF, String a_strDestPDF) throws Exception { PdfReader obj_pdfR

Re: [iText-questions] Problem with new page while in a table

2005-06-08 Thread bruno
Jastrzębski Paweł wrote: Hi, Is it possible to manually split a table into 2 pages ? I've tried to add a Chunk.NEXTPAGE to a cell but that doen't seem to work. I've also tried to call a newPage() for the writer with PdfPCellEvent - also no effect. So you wan't to add only some 'selected rows

RE: [iText-questions] Problem with new page while in a table

2005-06-08 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jastrzebski Pawel > Sent: Wednesday, June 08, 2005 11:46 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Problem with new page while in a table > > Hi, > Is it possib

Re: [iText-questions] PDFStamper corrupts the PDF Signature

2005-06-08 Thread bruno
iText General wrote: Hello All, I'm using PDFStamper for form filling but facing problem. Existing PDF signatures become corrupted after saving the PDF document. Isn't this the purpose of a signature? It HAS to become corrupt when the document is changed. br, Bruno ---

RE: [iText-questions] PDFStamper corrupts the PDF Signature

2005-06-08 Thread Paulo Soares
One of the ideas of digital signatures is to check the document integrity. If you are adding more information to the document it's no surprise that the signature is corrupted. This can be avoided by adding more information in append mode although you'll still get a warning that the signature doesn'

Re: [iText-questions] Help required to insert static text on an existing pdf

2005-06-08 Thread Bruno Lowagie
Krishna Kishore .J wrote: Hi Bruno, Thanks for your immediate reply. Pls read. I have a pdf (input.pdf) form some thing like this: Name: Company: Now i have to read this pdf form and add content for name and age, the resultant pdf should be like this: Name: Kishore Company: CE

[iText-questions] PDFStamper corrupts the PDF Signature

2005-06-08 Thread iText General
Hello All, I'm using PDFStamper for form filling but facing problem. Existing PDF signatures become corrupted after saving the PDF document. But PDF signature becomes invalid in 'destination.pdf'. Can anyone through light on it that why it corrupts the signature and how to resolve it? I'm using

[iText-questions] Problem with new page while in a table

2005-06-08 Thread Jastrzębski Paweł
Hi, Is it possible to manually split a table into 2 pages ? I've tried to add a Chunk.NEXTPAGE to a cell but that doen't seem to work. I've also tried to call a newPage() for the writer with PdfPCellEvent - also no effect. Thanks in advance for any reply, PJ -

Re: [iText-questions] Help required to insert static text on an existing pdf

2005-06-08 Thread Krishna Kishore .J
Hi Bruno,    Thanks for your immediate reply. Pls read.   I have a pdf (input.pdf) form some thing like this:    Name:  Company:    Now i have to read this pdf form and add content for name and age, the resultant pdf should be like this:    Name: Kishore  Company: CEI      The problem i am en

Re: [iText-questions] XPath and XMlPeer

2005-06-08 Thread bruno
zaki huda wrote: How to use XPath with XMLPeer? I am trying to do daramerging, but not able to populate root's grandchildren. How to access "//one/age"? I am doing: peer = new XmlPeer(ElementTags.CHUNK , "//one/age"); peer.setContent("14"); It's not working that way.

[iText-questions] Help required to insert static text on an existing pdf

2005-06-08 Thread Krishna Kishore .J
Hi All,    I want to add some static text on an existing pdf form using IText.   I've tried using Text.java in the examples on the IText site. But this will create a new pdf and add text on it.   Can anyone help me in achieving this.   Thanks Krishna Kishore      

Re: [iText-questions] Help required to insert static text on an existing pdf

2005-06-08 Thread Bruno Lowagie
Krishna Kishore .J wrote: Hi All, I want to add some static text on an existing pdf form using IText. I've tried using Text.java in the examples on the IText site. But this will create a new pdf and add text on it. Can anyone help me in achieving this. What's the problem? Create a temp

[iText-questions] Help required to insert static text on an existing pdf

2005-06-08 Thread Krishna Kishore .J
Hi All,    I want to add some static text on an existing pdf form using IText.   I've tried using Text.java in the examples on the IText site. But this will create a new pdf and add text on it.   Can anyone help me in achieving this.   Thanks in advance.   Krishna Kishore  

Re: [iText-questions] Copy PDF Forms with Cold Fusion

2005-06-08 Thread Paul Hastings
Chris Miller wrote: Here's a couple variations i've tried that don't work in cfscript... form = PRAcroForm.getAcroForm(newreader); PdfCopy.copyAcroForm(newreader); another variation: form = readerForm.getAcroForm(); writer.copyAcroForm(readerForm); i would imagine form is a res

[iText-questions] Help required to insert static text on an existing pdf

2005-06-08 Thread Krishna Kishore .J
Hi All,    I want to add some static text on an existing pdf form using IText.   I've tried using Text.java in the examples on the IText site. But this will create a new pdf and add text on it.   Can anyone help me in achieving this.   Thanks in advance.   Krishna Kishore