[iText-questions] Appending 2 PDF - one dynamic and the other one static

2004-07-08 Thread Arvind S
Hi, I create a PDF on the fly using iText in a browser window. Also I have some static PDFs available at my system. And I would like to append these PDF or PDFs at the end of the PDF that comes on the fly in browser. Is it possible to append an exisitng PDF to the one created by iText? How to

RE: [iText-questions] Appending 2 PDF - one dynamic and the other one static

2004-07-08 Thread Youssef Eldakar
Yes, it is possible. The tool `com.lowagie.tools.concat_pdf` does it on the command line. See its source code (very short) in the iText distribution to learn how you can make use of `PdfCopy` to concatenate PDF documents. Youssef Eldakar Bibliotheca Alexandrina -Original

[iText-questions] Issue with Page 'X' of 'Y' display

2004-07-08 Thread Vishal Singal
Hi, I am generating a report in the PDF format and the layout of report is like this: document.open(); document.add(aTable); //this TABLE contains some images and basic information to be displayed on first page of report. document.add(g); // Its a horizontal line used

Re: [iText-questions] Issue with Page 'X' of 'Y' display

2004-07-08 Thread Bruno
Quoting Vishal Singal [EMAIL PROTECTED]: I want to display the Page X of Y on each page. I checked out the example 4 of chapter 10 but in that example, each page is created first and then the text is added to it. Please advise as how can I achieve this. Look at the 'Shakespeare' example in

RE: [iText-questions] Get portion of PDF using ITEXTSHARP

2004-07-08 Thread Paulo Soares
Alpha is done in a very different way in PDF using graphic states. See the example headers_and_watermarks.java at itextpdf.sf.net. Best Regards, Paulo Soares -Original Message- From: Kalpesh Raval [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 10:05 PM To: Paulo Soares;

RE: [iText-questions] Support for First Line Indent ???

2004-07-08 Thread Paulo Soares
Did you try List? Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith L. Musser Sent: Wednesday, July 07, 2004 10:42 PM To: [EMAIL PROTECTED] Subject: [iText-questions] Support for First Line Indent ??? I'm

RE: [iText-questions] Add Form Field

2004-07-08 Thread Paulo Soares
There are several examples for that at itextpdf.sf.net. See TextField and PdfFormField. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of wang yun Sent: Thursday, July 08, 2004 4:32 AM To: [EMAIL PROTECTED] Subject:

[iText-questions] Fitting Text in a Rectangle

2004-07-08 Thread Youssef Eldakar
Is there an easy way to squeeze or expand text to fit a rectangle? Youssef Eldakar Bibliotheca Alexandrina Shatby, Alexandria 21526 Tel: +20-3-483 Fax: +20-3-4879422 E-mail: [EMAIL PROTECTED] NHS^[){([ZrAyj)-Vv~):xUn6_u^rq^b^j!y +)hX0ZrHZ7XX$zb{%lqzm?X(~zwXb?

RE: [iText-questions] Fitting Text in a Rectangle

2004-07-08 Thread Paulo Soares
Easy but not direct. Get the width that the text would take if placed in a single line with the font size 1 and call it X. Let W be the width of the rectangle and H the height. Let the leading be L and the font size be S. S = (W * H) / (L * X) If the leading is the same as the font size the

[iText-questions] SSL+itext

2004-07-08 Thread Lucian Sasu
Hi, I have a problem: I use Bea Weblogic Server 6.1 (which comes with jdk 1.3.1). The site is accesed through a secured IPlanet server (SSL-enabled, accesed with https://...). When trying to obtain an image with Image.getInstance(new URL(imgPath)) (in order to create PDF document with itext

[iText-questions] iText problem

2004-07-08 Thread Vincenzo De Filippis
hi, i have a problem with a method of itext code when i compile. this is the part of class: i have the problem when i call getParameterMap(). protected Element makeHTTPParameterInfoElement(final HttpServletRequest req){ Map mapParameters = null; mapParameters = new

[iText-questions] problem with itext

2004-07-08 Thread Vincenzo De Filippis
hi! i have a problem with iText. this is the problem: protected Element makeHTTPParameterInfoElement(final HttpServletRequest req){ Map mapParameters = null; mapParameters = new java.util.TreeMap(req.getParameterMap()); AT THIS POINT I HAVE THE

[iText-questions] Add Form Field using PdfCopier or PdfStamper

2004-07-08 Thread wang yun
Dear Support, I try to add Form Field from PdfCopier or PdfStamper. But, it doesn't work. I just want to add Form Fields over the existant PDF file that has no form field inside. Thanks, yun --- This SF.Net email sponsored by

RE: [iText-questions] iText problem

2004-07-08 Thread Paulo Soares
You are using an old servlet version. That method was introduced in J2EE 1.3. You can get the same info with getParameterNames() and getParameterValues(). Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincenzo De FilippisSent:

RE: [iText-questions] Add Form Field using PdfCopier or PdfStamper

2004-07-08 Thread Paulo Soares
It's not supported. You have to use PdfWriter and import the pdf page. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of wang yun Sent: Thursday, July 08, 2004 3:38 PM To: [EMAIL PROTECTED] Subject: [iText-questions] Add

[iText-questions] Mac OS X and iText Servlets

2004-07-08 Thread Jesse Thouin
With Tomcat running as a daemon or background process (version isn't relevant), there is no indication that it's running in the dock on the user interface for Mac OS X. When the PDF servlet I've written is called, the Mac GUI launches, or tries to launch, a second iteration of Tomcat, and an icon

[iText-questions] How to convert html to PDF

2004-07-08 Thread RameshKumar
Hi, I am trying to convert an html to pdf using itextsharp. In my pdf I am getting the html tags as it is. Is there any way to eliminate this. Please help on this Ramesh

[iText-questions] About importing overlays with AcroFields using PdfStamper.getImpo rtedPage()

2004-07-08 Thread Amador, Orlando M. [OBIPR]
Title: About importing overlays with AcroFields using PdfStamper.getImportedPage() We are developing an utility to apply information to PDF as an overlay on the fly when the PDF is request for viewing. To do this, we read a PDF document (we call this the overlay) with fields, use AcroFields