Re: [iText-questions] Displaying an image. How to?

2005-03-29 Thread Ide Mile
The URL is fine. Are u sure that URL can point to a servlet? According to the iText documentation, it seems that URL must point to a file, eg. URL must have the extension of .jpg, .gif, .png etc, but it is not the case when pointing to a servlet.Paulo Soares <[EMAIL PROTECTED]> wrote: Load the URL

Re: [iText-questions] points per inch

2005-03-29 Thread Justin Lee
Marvelous. Thanks. Paulo Soares wrote: > Yes, everything is in points. Note that what you actually get in the printed > paper also depends on the printer and the printing options in the Acrobat > printing dialog. > > - Original Message - > From: "Justin Lee" <[EMAIL PROTECTED]> > To: "P

Re: [iText-questions] points per inch

2005-03-29 Thread Paulo Soares
Yes, everything is in points. Note that what you actually get in the printed paper also depends on the printer and the printing options in the Acrobat printing dialog. - Original Message - From: "Justin Lee" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: Sent: Wednesday,

Re: [iText-questions] points per inch

2005-03-29 Thread Justin Lee
Does that also apply to page margins? Paulo Soares wrote: > 72 also works vertically. You must use a PdfPTable and a > PdfPCell.setFixedHeight(). > > - Original Message - > From: "Justin Lee" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, March 30, 2005 12:17 AM > Subject: [iText-question

Re: [iText-questions] points per inch

2005-03-29 Thread Paulo Soares
72 also works vertically. You must use a PdfPTable and a PdfPCell.setFixedHeight(). - Original Message - From: "Justin Lee" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 30, 2005 12:17 AM Subject: [iText-questions] points per inch > I'm trying to create a band across the top that is 7

[iText-questions] points per inch

2005-03-29 Thread Justin Lee
I'm trying to create a band across the top that is 7/8 inch tall. The table/cell height is specified by a float, but what unit is that float in? i.e., what can I use to say 7/8 * FOO to get the height I want. I need to do this in several places for both vertical and horizontal spacing. Horizont

Re: [iText-questions] Get the actual x,y in page

2005-03-29 Thread Paulo Soares
You have PdfWriter.getVerticalPosition() but in general you should do your own layout with ColumnText and PdfContentByte if precision is needed. - Original Message - From: "Marco" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 29, 2005 9:32 PM Subject: [iText-questions] Get the actual x,y

[iText-questions] Get the actual x,y in page

2005-03-29 Thread Marco
I addedd to a Document some Phrases with text and images (equations), and some with text only, but I have two problems: 1) I can calculate how space I need between two Phrases if them contain images, and I can insert new line with the correct space, but if a Phrase is too large, before of its end

Re: [iText-questions] Displaying an image. How to?

2005-03-29 Thread Paulo Soares
Load the URL to a byte array and look at what you got. It's probably a "404 not found" server error. - Original Message - From: "Ide Mile" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 29, 2005 9:30 PM Subject: [iText-questions] Displaying an image. How to? > I'm using Struts, but that

Re: [iText-questions] pdf form help

2005-03-29 Thread Paulo Soares
Search the mailing list for "XFA". - Original Message - From: "Vivek Mongulu" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 29, 2005 9:53 PM Subject: [iText-questions] pdf form help > I have created a pdf form file using the Adobe designer. when I read > the pdf form the form fields are

[iText-questions] pdf form help

2005-03-29 Thread Vivek Mongulu
I have created a pdf form file using the Adobe designer. when I read the pdf form the form fields are being displayed as F1[0].P1[0].FNAME[0] F1[0].P1[0].CheckBox1[0] instead of just FNAME CheckBox1 I want to set the fields and save it as a new pdf file. i am using PdfReader and PdfStamper.

[iText-questions] Displaying an image. How to?

2005-03-29 Thread Ide Mile
I'm using Struts, but that is not so important for this question. I made a servlet that generates .jpg image. From my JSP I call it with:     and it works fine. Image is displayed as expected.   Question: Is it possible to call a servlet to generate a .jpg image using iText? When I try something l

Re: [iText-questions] PDF Printing Problems Related to Images - Sample files

2005-03-29 Thread Leonard Rosenthol
At 10:50 AM 3/29/2005, Jerold Sampson wrote: I am attaching a zip file containing two one-page docs. One built with iText the other uses the Adobe library. The Adobe PDF views and prints. The iText views differently and does not print correctly. I am surprised that you are finding the iTe

RE: [iText-questions] Copying a PDF without form fields

2005-03-29 Thread Paulo Soares
PdfReader.removeFields() > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of "Sölter, Peter" > Sent: Tuesday, March 29, 2005 4:25 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Copying a PDF without form fields > > Hi e

[iText-questions] Copying a PDF without form fields

2005-03-29 Thread Sölter, Peter
Hi everybody, what is the recommended way to copy a PDF to another _without_ copying form fields? PdfCopy (or ...tools/concat_pdf) copies the complete AcroForm and the fields. Is it possible to remove the fields afterwards and how can this be done? I also tried PdfWriter with the following code,

Re: [iText-questions] middle align background image with text

2005-03-29 Thread Andreas Meyer
The text is in the rectangle. writer.getDirectContentUnder().addImage() is part of "public void onGenericTag()" and the text is marked with "myChunk.setGenericTag()" ... > Where is the text? > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Be

[iText-questions] XML Support for PdfPTable

2005-03-29 Thread Steve Appling
A couple of months ago I added support for PdfPTable and the newer border attributes to the iText XML package, but never made it public. I haven't done much to it since then, but I finally posted it on my website at www.appling.org/itext. If you are interested in getting PdfPTables into/out of

RE: [iText-questions] PdfStamper, AcroFields - cyrillic font problem

2005-03-29 Thread Paulo Soares
iText is innocent. Your fields use the built-in Times Roman font that doesn't include any cyrillic character. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Constantine Voronin > Sent: Tuesday, March 29, 2005 2:44 AM > To: itext-questions@lists

[iText-questions] html to excel conversion

2005-03-29 Thread Gupta_Sachin
  Hi all,   I have a problem in converting the Html page contents to Excel. Can any one suggest ant tool or option in excel which can directly copies the contents ( text boxes , text, image, combo box and all) of html with formatting, to Excel file.       Thanks & Regards   Sachin G

[iText-questions] Re: Could not start print job!!!!

2005-03-29 Thread Motiejus
The ansawer to this question is here: http://www.adobe.com/support/techdocs/329146.html Best regards, Motiejus --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discove

RE: [iText-questions] middle align background image with text

2005-03-29 Thread Paulo Soares
Where is the text? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andreas Meyer > Sent: Tuesday, March 29, 2005 4:18 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] middle align background image with text > > Hi, >