[iText-questions] add image and text to PDF template

2005-08-16 Thread Ceily
Can someone tell me if this is possible with iText? It works in big faceless. I have a PDF template. On-the-fly, I want to populate the template text fields with data - and I also want to stick an image in the PDF (in an absolute position) - on-the-fly. I have tried to proto-type this. I can f

Re: [iText-questions] images and templates

2005-08-16 Thread Ceily
Here's the method (below). I have a template or templates (depending on what I've configured). I merge any data I have for the template(s) (the name/value pairs are in a HashMap). That all works fine. I can't add an image though. The image can't just be in the original template. I need to add

Re: [iText-questions] images and templates

2005-08-16 Thread Paulo Soares
Yes, it can but you have to explain better what you mean by 'merged', 'template' and what you intent to do with it. - Original Message - From: "Ceily Landman" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 10:35 PM Subject: [iText-questions] images and templates Can an image be

Re: [iText-questions] question

2005-08-16 Thread Paulo Soares
Yes, what's the problem? - Original Message - From: "Patrick Janssen" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 7:06 PM Subject: [iText-questions] question > Hi, > > > > > > > > I'm been playing with images inside a table (mostly jpg-format) > > > > Now I wan

[iText-questions] images and templates

2005-08-16 Thread Ceily Landman
Can an image be merged into a template? If so, how? --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing P

[iText-questions] question

2005-08-16 Thread Patrick Janssen
Hi,       I’m been playing with images inside a table (mostly jpg-format)   Now I want to put a pdf-image inside a pdf-cell.   Is this possble??     Greetz       P; Janssen

Re: [iText-questions] Opening Adobe upon document close

2005-08-16 Thread Angela Berk
Does that code send my PDF file to a printer or does it open up Adobe as soon as it's done writing it? --- bruno <[EMAIL PROTECTED]> wrote: > Angela Berk wrote: > > >Could you give me an example of how to start Adobe > >Reader from a JVM? I read through the > Executable.java > >class, but I am

RE: [iText-questions] About "Single Quote" characters

2005-08-16 Thread Paulo Soares
If it's not in ASCII it won't work in HKscs-B5-H. > -Original Message- > From: Philip Newton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 16, 2005 2:42 PM > To: Paulo Soares > Cc: Angus Lee; itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] About "Single Quote"

[iText-questions] Creating a PDF document from HTML

2005-08-16 Thread Lee, Ashley
My question is: is there a way to read an HTML string in and write it to a PDF document?  I have tried creating an HTML document from the HTML String data first and then using the HTMLParser to parse it into a PDF document but each time I get an Coversion error. Please help.   Ashley Lee, IN

Re: [iText-questions] Images get lost when converting PDF to PS

2005-08-16 Thread Leonard Rosenthol
At 10:06 AM 8/16/2005, Sven Loth wrote: I tried ghostscript versions 7.07 and 7.05 Those are VERY OLD versions!! The current GPL version is 8.15, and the current AFPL version is 8.53. Leonard --- Leonard

[iText-questions] setting the cursor in a PDF Document

2005-08-16 Thread Wesley Maness
Is there anyway to force-set the position of the y Cursor in the PDF document? The reason I ask is that we are writing very large tables at absolute positions, and this is causing lots of overlap of data and over-extending to off the PDF page (document). My direct question is, using absolute

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-16 Thread Juan Sanchez
Hello Paulo. Finally I obtain a PDF with a byte range in tow parts. I create a dictionary only with CONTENT before preclose ( only if I remove NAME and M values byte range contein only 2 parts) . After this change, my PDF issue another error ->SigDict /Contents illegal. To solve this proble

Re: [iText-questions] Re: PDF to xml

2005-08-16 Thread Leonard Rosenthol
At 08:29 AM 8/16/2005, bruno wrote: I wonder about one thing: we can retrieve the XFA from /Catalog/XFA, we can remove/add an XFA entry to the Catalog. Does this mean we could fill a PDF with an XFA form if we threw some time at it studying the XFA XML? Yes - 100%! Handling XFA

Re: [iText-questions] Re: PDF to xml

2005-08-16 Thread Leonard Rosenthol
At 09:24 AM 8/16/2005, [EMAIL PROTECTED] wrote: Thanks so much Leonard. This helps. One final question - you mentioned that "The XML data that represents the form is not necessary the content of the PDF". I have the pdf document - I guess it is the XFA form. If I fill the form fields, how would I

Re: [iText-questions] Images get lost when converting PDF to PS

2005-08-16 Thread Sven Loth
Hi, > HOW are you adding them? PdfStamper? As annotations? What? I use PDFStamper. One is a java.awt.Image object I instance with Image foo = new Image.getInstance(AwtImage,null,true); The other one is a JPEG and is instanced with Image bar = new Image.getInstance("path/to/f

Re: [iText-questions] About "Single Quote" characters

2005-08-16 Thread Philip Newton
Or if it's not an apostrophe ' but a single quote ', perhaps dataString.getBytes("windows-1252"), if that's what you wrote in -- since ' is not in iso-8859-1. --Ph. On 8/16/05, Paulo Soares <[EMAIL PROTECTED]> wrote: > Try with dataString.getBytes("iso-8859-1"). > > - Original Message -

Re: [iText-questions] Re: PDF to xml

2005-08-16 Thread uap001
Thanks so much Leonard. This helps. One final question - you mentioned that "The XML data that represents the form is not necessary the content of the PDF". I have the pdf document - I guess it is the XFA form. If I fill the form fields, how would I then be able to get this content of the form fiel

Re: [iText-questions] Re: PDF to xml

2005-08-16 Thread bruno
Leonard Rosenthol wrote: The XML data that represents the form is not necessary the content of the PDF - it's the form aspects (fields, etc.). You can read that part by getting the data from the /Catalog/XFA value in the PDF. However, that's NOT content - and it's only valid for these newer

Re: [iText-questions] About "Single Quote" characters

2005-08-16 Thread Paulo Soares
Try with dataString.getBytes("iso-8859-1"). - Original Message - From: "Angus Lee" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 4:51 AM Subject: [iText-questions] About "Single Quote" characters Dear Sir/Madam, I'm not sure is this the right contact email for my question

[iText-questions] Table problem

2005-08-16 Thread origa82
Hello.I use Table instead of PdfPTable,cause i use rowspan,also i use header of the Table,when i add tables one after another on the page i have a big problem,when the table didn't fit on one page,it's carry over to the next page,but the table after this will dispalce in strange way,text from c

Re: [iText-questions] Insert Enter into RTF document

2005-08-16 Thread Stanislav
> > I manage to generate RTF document with image and tabel. Problem is that > > image is right above tabel and I want to insert Enter between image and > > tabel. How can i do that? > Add a Paragraph object between the two. > > Greetings, > Mark Tnx :-) Very clever solution :-) Greetings, Stani

Re: [iText-questions] Re: PDF to xml

2005-08-16 Thread Leonard Rosenthol
At 08:16 PM 8/15/2005, [EMAIL PROTECTED] wrote: I didn't provide the details right. I have a pdf file that seems to be created with Adboe LiveCycle or something like that - which has the form features that with the Adboe Reader, it allows the form data to be exported to XML data. Adob

Re: [iText-questions] Passing print job options on command line printing of pdf documents

2005-08-16 Thread Leonard Rosenthol
At 04:32 AM 8/16/2005, Charles Waweru wrote: Please let me know how I can force a dot matrix printer say an lx-300+ to do draft mode printing. You can't. Unless there is some way you can preconfigure the printer "out of band" of the PDF printing operation... Leonard --

Re: [iText-questions] Insert Enter into RTF document

2005-08-16 Thread Mark Hall
On Tuesday 16 August 2005 08:44, Stanislav wrote: > I manage to generate RTF document with image and tabel. Problem is that > image is right above tabel and I want to insert Enter between image and > tabel. How can i do that? Add a Paragraph object between the two. Greetings, Mark -- An avocado-t

Re: [iText-questions] Images get lost when converting PDF to PS

2005-08-16 Thread Sven Loth
Hi, > HOW are you adding them? PdfStamper? As annotations? What? I use PDFStamper. One is a java.awt.Image object I instance with Image foo = new Image.getInstance(AwtImage,null,true); The other one is a JPEG and is instanced with Image bar = new Image.getInstance("path/to/f

[iText-questions] Insert Enter into RTF document

2005-08-16 Thread Stanislav
Hi everybody. I manage to generate RTF document with image and tabel. Problem is that image is right above tabel and I want to insert Enter between image and tabel. How can i do that? Tnx, Stanislav --- SF.Net email is Sponsored by the Bette

[iText-questions] About "Single Quote" characters

2005-08-16 Thread Angus Lee
Dear Sir/Madam,       I'm not sure is this the right contact email for my questions. Just have a try and hope that someone can help me.       I used iText package for nearly 2 years. An year ago, i've changed to use PdfEncodings so that i can print some Hong Kong Chinese characters. The code

[iText-questions] table text

2005-08-16 Thread Huge organ
Hi, I would like to create a PDF which contains a table with fixed cell widths and height. The text must also be set to not wrap. If the text in a cell is to long I want it to be truncated and not continue into the adjacent cell. Investigations so far show that when setNoWrap(true) the text is n

[iText-questions] Re: PDF to xml

2005-08-16 Thread uap001
Leonard Rosenthol pdfsages.com> writes: > > At 02:41 PM 8/15/2005, uap001 yahoo.com wrote: > >Adobe PDF supports have the PDF file information in > >underlying XML format also. > > I don't know where you heard this, but it is simply not true. > > What you MAY be thinking of

[iText-questions] Image overlapping text in PDF table cell

2005-08-16 Thread Ari
Hello. I recently upgraded to the latest IText.jar and am now unable to put an image and text in the same PDF table cell. The image "floats" over the text and other cell borders as well. Has anyone seen this sort of thing? Thank you Ari

[iText-questions] merge meta-data AND an image into a PDF template

2005-08-16 Thread Ceily
Hello, I have two pieces of itext code that I need to put together into one - but I haven't figured out how to do it. I have a PDF template that I need to put meta-data AND a dynamic image into. ***This example works fine for me to merge meta-data into a PDF template: http://itextdocs.lowagie.

[iText-questions] Passing print job options on command line printing of pdf documents

2005-08-16 Thread Charles Waweru
Hello, Please let me know how I can force a dot matrix printer say an lx-300+ to do draft mode printing. Is there any way I can pass arguments to the "Runtime.getRuntime().exec("command.com /C start acrord32 /p /h" + claim. pdf" instruction to get the prinetr to print in draft mode other than NLQ