[iText-questions] Servlet runs twice if I use IE 5.5

2002-05-03 Thread Anis h
Hello, I read your answere posted asking to check FAQ for info regarding IE problems.. as you said I followed the link to MS site and confirmed that IE 5.5 SP1 submits the request twice.. I installed SP2 but still I have the same problem.. unfortunately my sevelt updates a DB then it generates

RE: [iText-questions] Servlet runs twice if I use IE 5.5

2002-05-03 Thread Sergio Lopez Rodriguez
Try using POST instead GET and it works: the servlet is called just once ... well, at least for me ;-) Sergio --- Este mensaje y los documentos, que en su caso, lleve anexos, pueden contener informacion confidencial y ataƱe

[iText-questions] PdfPTable How do I get the Height?

2002-05-03 Thread
Hi, I am new to the IText API.. What I am trying to do is after I have built a PdfPTable but before I add to the page I want to find out it's height. the method on PdfPTable getRowHeight(int idx) and getTotalHeight() are returning 0.0but when I add it to the document it

Re: [iText-questions] PDF overlay

2002-05-03 Thread Matt Benson
Does either of you have a code snippet showing the use of a PdfReader to use this technique to write on top of the existing page(s)? Does this technique work where the original PDF is multipage? Thanks, Matt --- Wilhelm *Rafial* Fitzpatrick [EMAIL PROTECTED] wrote: At 2:29 PM -0500 5/2/02,

Re: [iText-questions] PDF overlay

2002-05-03 Thread Matt Benson
Okay, I think I'm starting to understand... (remember I've never used advanced iText before). I get my Document and PdfWriter as usual. then: PdfReader reader = new PdfReader(my.pdf); PdfContentByte cb = writer.getImportedPage(reader, 1); cb.moveTo(fldX, fldY); cb.showText(fldVal); doc.close();

Re: [iText-questions] Mailing Labels

2002-05-03 Thread Joseph Rajkumar
Hi Folks I am in need of printing mailing labels using the Avery-5160 model labels. These labels are 30 on a page with 3 columns and 10 rows. Also I need the output in rtf format. I have used Tomcat/Servlets/Postgres to get the data and it is working beautifully, but I

Re: [iText-questions] Mailing Labels

2002-05-03 Thread Bruno Lowagie
Quoting Joseph Rajkumar [EMAIL PROTECTED]: If I could be able to EXACTLY specify the dimensions of the cell it would make the whole iText code extremely usable for mailing labels. You have a very specific need, why not use a very specific solution. You can calculate the exact start

RE: [iText-questions] PDF overlay

2002-05-03 Thread Paulo Soares
No, you don't understand. The PdfImportedPage returned from writer.getImportedPage(reader, 1) is to be used as a template and IT IS NOT TO BE WRITTEN TO. Consider it a read-only template. Did you really saw any of the examples? Best Regards, Paulo Soares -Original Message- From: Matt

RE: [iText-questions] PDF overlay

2002-05-03 Thread Matt Benson
Nope, remember, I couldn't find them. :) Bruno pointed me in the right direction. I am going to try to start with Chapter01 example 12 and create a generic form fill-out class. Thanks, Matt --- Paulo Soares [EMAIL PROTECTED] wrote: No, you don't understand. The PdfImportedPage returned

Re: [iText-questions] Mailing Labels

2002-05-03 Thread Joseph Rajkumar
Bruno Lowagie wrote: Quoting Joseph Rajkumar [EMAIL PROTECTED]: If I could be able to EXACTLY specify the dimensions of the cell it would make the whole iText code extremely usable for mailing labels. You have a very specific need, why not use a very specific solution. You

[iText-questions] Re: table offset for PdfPTable?

2002-05-03 Thread John Watson
Any ideas on this one? I'd would really like to migrate everything to PdfPTables, but can't until this issue is figured out. Thanks! John John Watson writes: Is there an equivalent to setOffset() (from Table) for PdfPTable? I can't figure out how to do this, and I want to move to all

RE: [iText-questions] Re: table offset for PdfPTable?

2002-05-03 Thread Paulo Soares
You can adjust the offset by inserting a Paragraph with a 0 leading before inserting the first table or a negative leading the size of the previous leading after inserting the first table. Best Regards, Paulo Soares -Original Message- From: John Watson [SMTP:[EMAIL PROTECTED]] Sent:

[iText-questions] Trouble with tables

2002-05-03 Thread Joshua C. Lerner
Hi - I'm trying to use the Table object to create a PDF that looks like http://www.panix.com/~jlerner/pdf/page1.gif. I have studied the docs and lsit archive, but I'm still having trouble. I've tried many approaches. Here's the way I think it's supposed to work: - Area 0 can be ignored - it's

Re: [iText-questions] Trouble with tables

2002-05-03 Thread Matt Benson
Someone else may know a better way, but first it strikes me that rather than using nested tables, you can accomplish what you need with colspan and rowspan only. So, ignoring area 0: Your Table would have area 1: Cell with colspan 2, rowspan 1 area 2: Cell with colspan 1, rowspan 1 area 3: