[iText-questions] How to put a title on the midle of the page?

2006-03-03 Thread Davi Garcia Pereira
   Hi,      I need to put a title on the midle of the page, but I don't find how to centralize a Paragraph in vertical referent to the page, only referent to the owner Paragraph. If you can help me... Thanks a Lot.      Davi Garcia Pereira.

Re: [iText-questions] wrap vertical text in pdfpcell

2006-03-03 Thread Gastón Scapusio
I can do it! float columns[] = {0.5f,0.5f}; PdfPTable table = new PdfPTable(columns); PdfPCell cell = new PdfPCell(new Phrase("1")); celdaRota.setRotation(90); table.addCell(cell); table.addCell("2"); Thanks Paulo! From: Gastón Scapusio <[EMAIL PROTECTED]> To: itext-questions@lists.sourcefo

Re: [iText-questions] wrap vertical text in pdfpcell

2006-03-03 Thread Gastón Scapusio
I tried but it doesn't work (almost for me, jeje). I don't know what I'm doing wrong. float columns[] = {0.5f,0.5f}; PdfPTable table = new PdfPTable(columns); PdfPCell cell = new PdfPCell(new Phrase("1")); cell.rotate(); table.addCell(cell); table.addCell("2"); It shows me | 1 | 2 |

Re: [iText-questions] wrap vertical text in pdfpcell

2006-03-03 Thread Paulo Soares
That's old news. With the latest iText version just set the rotation in PdfPCell. - Original Message - From: "Gastón Scapusio" <[EMAIL PROTECTED]> To: Sent: Friday, March 03, 2006 5:59 PM Subject: [iText-questions] wrap vertical text in pdfpcell I know this is a common question, b

[iText-questions] wrap vertical text in pdfpcell

2006-03-03 Thread Gastón Scapusio
I know this is a common question, but I can't find the way. Sorry. How can I wrap vertical text in a pdfcell? I tried using PdfTemplate-Image. float columns[] = {0.5f,0.5f} PdfPTable table = new PdfPTable(columns); table.setTotalWidth(200); table.setLockedWidth(true); PdfTemplate template = w

RE: [iText-questions] PDFs not showing up in Acrobat 5.0 but opens up in Acrobat 7.0

2006-03-03 Thread Rumpa Giri
Thanks a lot, this seems to have worked, When I added the content length it opened up in the browser. We didnot put it since we directly write to the servletoutputstream.   We have some huge PDFs which we generate on the fly like 1100 pages long. Since we directly write to the servlet output stre

[iText-questions] Inserting PDF while creating a new one

2006-03-03 Thread Ulvi Cetin
Hi, I need to include a PDF file in another PDF which is being created by iText. The page sizes of the documents may be different, Legal vs 11x17. I was wondering if this is possible, if so, is there any exmaple in the tutorial site. Thanks. ---

[iText-questions] iText 1.4

2006-03-03 Thread bruno
Hello all, it was a long time since we had an iText release, and I hope I didn't forget anything, but today iText1.4 was released. See http://www.lowagie.com/iText/history.html#V140 for the changelog (it's quite a long list). br, Bruno --- This

[iText-questions] RE: Copying a PDF File

2006-03-03 Thread Segev, Eli
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

[iText-questions] RE: Copying a PDF File

2006-03-03 Thread Segev, Eli
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

[iText-questions] Re: Copying a PDF File

2006-03-03 Thread bruno
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

AW: [iText-questions] get Signatures

2006-03-03 Thread Michael Kail
Okay, i solved the problem myself More or less :) I found an entry in a mailing list (itext or bouncycastle) where you have to Change the security provider. Here's the code: //adding new provider, cause java got an error with acrobat version 1.6 Security.addProvider(new BouncyCastleProvider

Re: [iText-questions] Sample code : iText with the new belgian eID card

2006-03-03 Thread Peter West
bruno wrote: Frankinet Philippe wrote: Dear Danny, Bruno and Paulo, As promised on the forum (http://homes.esat.kuleuven.be/~decockd/wiki/bin/view.cgi/Eid/EidForum - 28 feb 2006), you can find as attachment a sample

RE: [iText-questions] PDFs not showing up in Acrobat 5.0 but opens up in Acrobat 7.0

2006-03-03 Thread Paulo Soares
That's a server problem. See http://itextdocs.lowagie.com/tutorial/general/webapp/. I've also had good results with: response.setContentType("application/pdf"); response.setContentLength(baos.size()); response.setHeader("Content-disposition", " inline; filename=report.pdf"); ServletOutputStream so

Re: [iText-questions] iText in Action (was: Sample code : iText with the new belgian eID card)

2006-03-03 Thread bruno
Alexis Pigeon wrote: That's very good news! Any idea about when the book will be available for orders? about the price? I'm sorry but I don't know... This is off-topic, but maybe it's interesting for other developers who are dreaming of writing a book. When you have a F/OS library that gains

[iText-questions] RE: iText-questions appedning counter to pdf file

2006-03-03 Thread subramanya praveen battu
Hi, I am new to Itext, Can I have an example where in i can add the application number(#) to an existing pdf application document while the client downloads the pdf form. My senario is , When an end user clicks the link to open a pdf applicationform. I need to append the new application form

AW: [iText-questions] get Signatures

2006-03-03 Thread Michael Kail
Thanks a lot! But when I try to open a pdf file created with acrobat Version 7 the function verifySignature fails with error : sun.security.pkcs.ParsingException: toDerInputStream rejects tag type -96 I searched in the internet and found a lot people having the same problem, and the advise to us

[iText-questions] Re: Sample code : iText with the new belgian eID card

2006-03-03 Thread Danny De Cock
cool... thanks ! :)) I guess it is ok if I include a version of the code on my home page? kind regards, danny. -- mail: danny.decock:at:esat:dot:kuleuven:dot:be http://godot.be godot:at:advalvas:do

Re: [iText-questions] iText in Action (was: Sample code : iText with the new belgian eID card)

2006-03-03 Thread Alexis Pigeon
On 03/03/06, bruno <[EMAIL PROTECTED]> wrote: > I am also happy to inform you and the list that I have > uploaded the complete manuscript of my book > 'iText in Action' to Manning Publications Co. > I'm expecting a call from the publisher, Marjan Bace, > tonight. I hope he has some good news. That

Re: [iText-questions] Sample code : iText with the new belgian eID card

2006-03-03 Thread bruno
Frankinet Philippe wrote: Dear Danny, Bruno and Paulo, As promised on the forum (http://homes.esat.kuleuven.be/~decockd/wiki/bin/view.cgi/Eid/EidForum - 28 feb 2006), you can find as attachment a sample code with iTe

[iText-questions] Sample code : iText with the new belgian eID card

2006-03-03 Thread Frankinet Philippe
  Dear Danny, Bruno and Paulo,   As promised on the forum (http://homes.esat.kuleuven.be/~decockd/wiki/bin/view.cgi/Eid/EidForum - 28 feb 2006), you can find as attachment a sample code with iText and the new belgium EID card. Thanks to Danny for his wonderfull code ;-)   I've also tested

[iText-questions] Convert HTML Table to PDF

2006-03-03 Thread Fuhrmann, Michael
Hi, I've a question concerning the width of a pdf table. When I convert a html table to pdf the first column is much too big. Therefore I tried to change the attributes of the table via NodeVisitor. Now the problem is that I can change the width of the columns but when I convert it nothing seems t

Re: [iText-questions] get Signatures

2006-03-03 Thread Paulo Soares
You already know that. There's another method to get the blank signatures. - Original Message - From: "Michael Kail" <[EMAIL PROTECTED]> To: Sent: Friday, March 03, 2006 8:48 AM Subject: [iText-questions] get Signatures Hi! I have just one small question. Before I searched in the mai

[iText-questions] get Signatures

2006-03-03 Thread Michael Kail
Hi! I have just one small question. Before I searched in the mailing list, but I didn't find any answer to my problem. Just to get sure, how to find any signature in a pdf file: PdfReader reader = new PdfReader(pdf); AcroFields af = reader.getAcroFields(); //get signature names ArrayList signame