[iText-questions] watermark

2002-08-27 Thread Ram Guttikonda
I am trying to add a watermark for the pdf. Here is my code. Image img = Image.getInstance(Toolkit.getDefaultToolkit().createImage("avvid_133x70.gif" ), null); Watermark watermark = new Watermark(img, 10, 20); document.add(watermark); I

[iText-questions] PDFPtable vs Table

2002-09-04 Thread Ram Guttikonda
I need some help/advice on the use of PDFPtable vs Table. Considering I am interested only in PDF. I thought PDFPtable provides richer functionality than Table. That being said. This is what I would use with 'Table' for my need. table.endHeaders(); (need to repeat the headers for table automatic

RE: [iText-questions] PDFPtable vs Table

2002-09-11 Thread Ram Guttikonda
--Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paulo Soares Sent: Thursday, September 05, 2002 4:38 AM To: 'Ram Guttikonda'; Itext-Questions Subject: RE: [iText-questions] PDFPtable vs Table PdfPTable has other way of setting the header size and s

[iText-questions] Adding Table to PDFTemplate

2002-09-11 Thread Ram Guttikonda
Hi All! I am using PDFTemplate and pageEvent. 1. How do I add a table to the PDFTemplate so that I can simulate header and footer with flexibility of adding images, text etc. 2. How do I add text to PDFTemplate at a particular position?. I need to repeat a header and footer which contains imag

RE: [iText-questions] How to set the PDF file name?

2002-10-08 Thread Ram Guttikonda
You might want to do something like this.. HttpServletResponse _hsr = _requestContext.getResponse(); //get the servlet response _hsr.setContentType("application/pdf"); String disposition = "attachment; filename=" + ; _hsr.setHeader("Content-disposition", disposition); Hope that helps. Chee