Re: [iText-questions] Table.cellspacing doesn't work

2003-08-26 Thread Bruno Lowagie
Carmona Perez, David wrote: Thanks Bruno, I've tried Table.setSpaceBetweenCells() and Table.setSpacing(), they have the same implementation!! setSpacing is deprecated. you need the PdfCell patch to make it work (see the CVS repository) br, Bruno

[iText-questions] openind generated pdf + internet explorer

2003-08-26 Thread rk
hello everybody! this is a pdf and no itext specific question, but probably someone knows the trick... i'm openening itext generated pdfs from a servlet ... and i want acrobat reader to show up without a save as file dialog. unfortunaltely even if i deselect allways ask for this type of file,

[iText-questions] Re: iText-questions digest, Vol 1 #1447 - 6 msgs

2003-08-26 Thread Naveen Reddy Gudipally
Hi, Can any one tell me how to configure itext.jar file into jdeveloper or jbuilder.iam newbie to java.Pls help me Thanks --- [EMAIL PROTECTED] wrote: Send iText-questions mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit

Re: [iText-questions] pls help me

2003-08-26 Thread Matt Benson
This is not recommended as JSP is not very well suited to create binary output: http://www.lowagie.com/iText/faq.html#jsp --- Naveen Reddy Gudipally [EMAIL PROTECTED] wrote: Hi, Iam able to generate a pdf using java.Now if i want to generate it using jsp then what to do.Pls help me.

[iText-questions] com.lowagie.text.DocumentException

2003-08-26 Thread Chawla Simranjeev
Hi, I've encountered com.lowagie.text.DocumentException while adding a table into a document. What are the reasons this could be happening. Thanks, Simran --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating

Re: [iText-questions] pls help me

2003-08-26 Thread Jerome huguet
You can dedicate a Servlet to do the job. --- Matt Benson [EMAIL PROTECTED] a écrit : This is not recommended as JSP is not very well suited to create binary output: http://www.lowagie.com/iText/faq.html#jsp --- Naveen Reddy Gudipally [EMAIL PROTECTED] wrote: Hi, Iam able

[iText-questions] opening generated pdf + internet explorer (fwd)

2003-08-26 Thread rk
hello everybody! this is a pdf and no itext specific question, but probably someone knows the trick... i'm openening itext generated pdfs from a servlet ... and i want acrobat reader to show up without a save as file dialog. unfortunaltely even if i deselect allways ask for this type of file,

[iText-questions] print the last page pdf

2003-08-26 Thread José Vieira
Hi all I have a pdf done in jsp, but i don't get print the last page. How i get print it ? Jose Vieira ICQ.: 179698311 --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine.

Re: [iText-questions] pls help me

2003-08-26 Thread Hubert Lingo
I agree. Keep your simple java class for generating PDF. And use it in a servlet. Then use your servlet in your jsp page. IMHO, one should never put code in a jsp or at least the less as one can. Direct access to a DB are the most common mistakes in JSP programming. Hubert This is not

[iText-questions] Re: pls help me

2003-08-26 Thread Bruno Lowagie
Hubert Lingo wrote: I agree. Keep your simple java class for generating PDF. And use it in a servlet. Then use your servlet in your jsp page. IMHO, one should never put code in a jsp or at least the less as one can. Direct access to a DB are the most common mistakes in JSP programming. I

AW: [iText-questions] Porblem with fitsPage / getTableBottom

2003-08-26 Thread Marc Lustig
Hi Anton, I am facing the same problems. Currently, in correspondence with fitsPage() I use only PdfPTable.setTotalWidth() to set the width. As a result the height is okay, but unfortunately the width is shrinked by approximately 30 %. I will work on this tomorrow again and I will let you know

RE: [iText-questions] openind generated pdf + internet explorer

2003-08-26 Thread Carmona Perez, David
Are you sure that you set the MIME type to application/pdf? David -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: lunes, 25 de agosto de 2003 15:45 Para: iText list Asunto: [iText-questions] openind generated pdf + internet explorer hello

RE: [iText-questions] pls help me

2003-08-26 Thread Carmona Perez, David
Just create a servlet that writes directly to the ouput stream PdfWriter.getInstance(doc, myServletOuputStream); David -Mensaje original- De: Naveen Reddy Gudipally [mailto:[EMAIL PROTECTED] Enviado el: martes, 26 de agosto de 2003 5:59 Para: [EMAIL PROTECTED] Asunto:

RE: [iText-questions] com.lowagie.text.DocumentException

2003-08-26 Thread Carmona Perez, David
Look with the help of a debugger where the exception is thrown David -Mensaje original- De: Chawla Simranjeev [mailto:[EMAIL PROTECTED] Enviado el: martes, 26 de agosto de 2003 7:11 Para: [EMAIL PROTECTED] Asunto: [iText-questions] com.lowagie.text.DocumentException Hi, I've

RE: [iText-questions] com.lowagie.text.DocumentException

2003-08-26 Thread Chawla Simranjeev
Hi David, The exception comes when i add a table into the document. the document is open at that time what are the other reasons for this exception to come , apart from the document being close. -Original Message- From: Carmona Perez, David [SMTP:[EMAIL PROTECTED] Sent:

RE: [iText-questions] Table.cellspacing doesn't work

2003-08-26 Thread Carmona Perez, David
Thanks Bruno, The version I have of PdfCell 1.47 is the same as version 1.49 in the repository. David -Mensaje original- De: Bruno Lowagie [mailto:[EMAIL PROTECTED] Enviado el: lunes, 25 de agosto de 2003 19:20 Para: Carmona Perez, David; [EMAIL PROTECTED] Asunto: Re:

Re: [iText-questions] openind generated pdf + internet explorer

2003-08-26 Thread rk
hi, Anyway, have you ever tried to set the PDF contentent as a servlet HTTP response? And if, can you directly open it? yes, i'm setting Content-Type, Content-Disposition with the filename(or inline) and the correct length: res.setContentType(application/pdf);

RE: [iText-questions] com.lowagie.text.DocumentException

2003-08-26 Thread Carmona Perez, David
Always that I receive an exception, I look at the call stack and inspect the source code to see the cause. This is for me the most direct way of discovering the real cause. It can happen for example if the iText source code receives any exception, DocumentException is just a wrapper for any

Re: [iText-questions] com.lowagie.text.DocumentException

2003-08-26 Thread Paulo Soares
The reason for that was an exception thrown somewhere. Best Regards, Paulo Soares - Original Message - From: Chawla Simranjeev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 6:10 Subject: [iText-questions] com.lowagie.text.DocumentException Hi, I've

Re: [iText-questions] Limitting the maximum lines of a cell

2003-08-26 Thread Paulo Soares
Zip it and send it to me. Best Regards, Paulo Soares - Original Message - From: Carmona Perez, David [EMAIL PROTECTED] To: Itext-Questions (E-mail) [EMAIL PROTECTED] Sent: Monday, August 25, 2003 10:14 Subject: [iText-questions] Limitting the maximum lines of a cell Hi, I've done

Re: [iText-questions] Rectangle Color Fill

2003-08-26 Thread Paulo Soares
cb.setRGBColorFill(255,0,0); cb.rectangle(0,0,300-2,200-2); cb.fill(); Best Regards, Paulo Soares - Original Message - From: yun wang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 25, 2003 18:43 Subject: [iText-questions] Rectangle Color Fill Dear Paulo, I want to

Re: [iText-questions] print the last page pdf

2003-08-26 Thread Paulo Soares
Is the question a riddle? Best Regards, Paulo Soares - Original Message - From: José Vieira [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 25, 2003 16:07 Subject: [iText-questions] print the last page pdf Hi all I have a pdf done in jsp, but i don't get print the last

Re: [iText-questions] Porblem with fitsPage / getTableBottom

2003-08-26 Thread Paulo Soares
Some basics: - fitsPage uses setWidthPercentage and the current page size and margins. It does NOT use setTotalWidth. - fitsPage will never work correctly with the current structure. The generated table height is correct but the starting point in the page may be altered if there are accumulated

Re: [iText-questions] Vertical alignment of cells

2003-08-26 Thread Paulo Soares
Vertical alignment in Table doesn't work correctly, use PdfPTable if that's important to you. Best Regards, Paulo Soares - Original Message - From: Carmona Perez, David [EMAIL PROTECTED] To: Itext-Questions (E-mail) [EMAIL PROTECTED] Sent: Monday, August 25, 2003 10:28 Subject:

[iText-questions] writer.fitsPage() issue: caused by a different calculation

2003-08-26 Thread Marc Lustig
[I have sent this message 19 hours ago. As it hasn't showed up, I try it again.] Paulo, I just discovered that the trouble with fitsPage(table) relates to the fact that this method uses a calculation that is different from the one that is used when adding the table via document.add(table). I

Re: [iText-questions] com.lowagie.text.DocumentException

2003-08-26 Thread Paulo Soares
It would help to know the text of the exception and the stack trace. If you can, use the iText version at http://itextpdf.sf.net as it provides better exception information. Best Regards, Paulo Soares - Original Message - From: Chawla Simranjeev [EMAIL PROTECTED] To: Paulo Soares [EMAIL

RE: [iText-questions] writer.fitsPage() issue: caused by a different calculation

2003-08-26 Thread Mark Goking
Does fitsPage() only apply for PdfTable? Because I tried it with Table (with xml) buit it doesnt work. Right now im using lots of br/ to make it fit one page Mark -Original Message- From: Marc Lustig [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:15 PM To: iText list

[iText-questions] Is there any way to get the ypos where a table starts?

2003-08-26 Thread Brian Hobbs
Hi There, I have some pretty large tables that I need to be able to split over multiple pages (both horizontally vertically). iText does the vertical splitting fine I know how to do the horizontal splitting - i'm just going to print the extra columns after the rest of the table is written to

[iText-questions] opening generated pdf + internet explorer (fwd) (rk@metamagix.net)

2003-08-26 Thread Melvin Cureton
In my application I use _javascript_ to open a new windows and that pages redirects to the .pdf file which it just opens in the browser. Also if Adobe Acrobat Readeror more importantly the web add-in is not installed you will always get that prompt to download the file. The code I used is

Re: [iText-questions] Is there any way to get the ypos where a table starts?

2003-08-26 Thread Paulo Soares
See the example wide_table.java at itextpdf.sf.net. To do what you want you'll have to place the table at a precise position and you'll need PdfPTable. Best Regards, Paulo Soares - Original Message - From: Brian Hobbs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003