[iText-questions] Widths Problems with PdfPTable and Document orizontal size.

2006-01-17 Thread Daniel . Belmonte . Llarch
Hello iText Developers: First of all, congratulations about your work, you've made a good product. At this momment, I'm programming a web application with PDF report generation functionality. We are showing some reports on html and giving the possibility of "print" them on a PDF file. I have the

[iText-questions] iText performance vs. pdflib

2006-01-17 Thread John Lindwall
I write this email in sincerity; not to start a flame war of any kind.   We are currently using an old version of pdflib and are looking into switching to iText.  The iText library looks very capable and easy to use.  I genuinely want to use iText so any help in resolving my issue would be

[iText-questions] Generate Dynamic table when using XML to PDF

2006-01-17 Thread John Pacino
 Is there a way generate a table using dynamic data from a database and inserting it into a template XML. I am currently using the XmlPeer to generate custom taglibs which are passed to the parser in a HashMap XmlParser.parse(document, "unauthTx.xml", taglibs); I need to generate a table then ins

[iText-questions] Form with nested tables

2006-01-17 Thread M 501
Hello, I am trying to generate a pdf using acro - form elements. To position the form elements I am using tables just like the registration form example. However, the problem is that I have two kinds of textfield elements, on with the label on the right side like this:

RE: [iText-questions] Image units of measurement

2006-01-17 Thread Paulo Soares
width() and height() are the number of image pixels and can't be changed. All the other dimensions are points and will change if you apply scaling. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of David Woosley > Sent: Tuesday, January 17, 2006 3

Re: [iText-questions] Hyperlink to a different location in the RTF doc

2006-01-17 Thread Mark Hall
Hi for internal links Word obviously generates a bookmark and then the internal link references the bookmark. In iText links are defined as described in the tutoral http://itextdocs.lowagie.com/tutorial/objects/anchors/index.html Currently from the behaviour specified in the tutorial the RtfWri

Re: [iText-questions] Hyperlink to a different location in the RTF doc

2006-01-17 Thread Divya Nagireddy
Hi Mark, This is how I'm creating the RTF document Document document = new Document(); RtfWriter2 writer2 = RtfWriter2.getInstance(document, new FileOutputStream(rtfFile)); document.open(); - - //add various Elements to the document document.add(); - - //create a hyperlink for one

[iText-questions] Fw: using PageEvents with PdfCopy class?

2006-01-17 Thread Aaron J Weber
Was trying to use PageEvents with PdfCopy instead of PdfWriter.  However, the events seem to be fired when reading from the source PDF, and not when writing to the target PDF.  Specifically, I see the onStartPage() called on PdfCopy.getImportedPage(), when I'd like it to be called on PdfCopy

[iText-questions] Important Message from the Accredo Health Email Gateway

2006-01-17 Thread john . ruffin
In order to protect our employees, patients, partners and computer systems, Accredo Health, Inc. places restrictions on email passing between our network and the Internet. In compliance with that policy, a message addressed to you has been automatically blocked by the gateway due to decomposition

RE: [iText-questions] Changing Submit-Action of a PushButton in a PDF Form

2006-01-17 Thread Paulo Soares
Send me the pdf. > -Original Message- > From: Nitin Tomer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 17, 2006 11:45 AM > To: Paulo Soares; iText-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Changing Submit-Action of a > PushButton in a PDF Form > > Hi Paulo,

[iText-questions] help please

2006-01-17 Thread Tirado Olaya Sandro Javier
hello a would like to know if there is a way to create a pdf file that reproduces the exact design of a html page (of course using servlets, I work with IBM WebSphere); for example if I have a web page with a formulary I want everybody to be able to press a button that put that formulary in a pd

RE: [iText-questions] Image units of measurement

2006-01-17 Thread David Woosley
That is really, really confusing. To me. d. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:56 AM To: David Woosley; [EMAIL PROTECTED] Cc: itext-questions@lists.sourceforge.net Subject: RE: [iText-questions] Image units of measurement

[iText-questions] Image size in PDF

2006-01-17 Thread David Woosley
This is somewhat related to my posting from 30 minutes ago.   When an image is scaled to 10% of its original size and then drawn into a PDF, will the space required to store the smaller image in the PDF also be reduced by the mathematically-appropriate amount?   For example, assume I start

RE: [iText-questions] Image units of measurement

2006-01-17 Thread Paulo Soares
Without scaling pixels==points. > -Original Message- > From: David Woosley [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 17, 2006 4:52 PM > To: Paulo Soares; [EMAIL PROTECTED] > Subject: RE: [iText-questions] Image units of measurement > > Paulo and Bruno: > > Then why does scaled

[Fwd: Re: [Fwd: Re: [iText-questions] HowTo: send an event on the pdfPage, conditionaly from a text token]]

2006-01-17 Thread Rumen Varbanov
Thank you Bruno! Yes! "newPage" is an existing text! I am reading now the iText tutorial/"Manipulating existing PDF Docs"/Introduction and I am not sure can the iText help to me.. I will write an (event oriented) parser for splitting from pdf datastream. The keywords are putted

Re: [iText-questions] Tables and new pages

2006-01-17 Thread bruno
Gavin wrote: Hi all, I need some help sorting out a formatting issue when creating an pdf. Basically i'm creating a table, setting all the settings, then from a database going through each result and creating the cells to display the data. What I am doing is looping through the results, and

Re: [iText-questions] Image units of measurement

2006-01-17 Thread bruno
David Woosley wrote: What are the units of measurement inside the com.lowagie.text.Image class? For example, the scaleToFit(w,h) method accepts two float arguments. It it expecting pixels, points or what? The DvdCover example makes me think this method is accepting points, not pixels. Th

RE: [iText-questions] Tables and new pages

2006-01-17 Thread Paulo Soares
Use a PdfPTable. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gavin > Sent: Tuesday, January 17, 2006 1:34 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Tables and new pages > > Hi all, > > I need some help sor

[iText-questions] Tables and new pages

2006-01-17 Thread Gavin
Hi all, I need some help sorting out a formatting issue when creating an pdf. Basically i'm creating a table, setting all the settings, then from a database going through each result and creating the cells to display the data. What I am doing is looping through the results, and each time adding

[iText-questions] Image units of measurement

2006-01-17 Thread David Woosley
What are the units of measurement inside the com.lowagie.text.Image class?   For example, the scaleToFit(w,h) method accepts two float arguments.  It it expecting pixels, points or what?  The DvdCover example makes me think this method is accepting points, not pixels.   The Java docs for th

RE: [iText-questions] simply add a bookmark at the root of new PDF for each concat'ed document?

2006-01-17 Thread Paulo Soares
The SimpleBookmark javadocs explain the structure. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bruno > Sent: Tuesday, January 17, 2006 2:13 PM > To: Aaron J Weber > Cc: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] s

Re: [Fwd: Re: [iText-questions] HowTo: send an event on the pdfPage, conditionaly from a text token]

2006-01-17 Thread bruno
Rumen Varbanov wrote: >>What do you mean?.. For example when I read on a pdfPage "newPage" I send an event to the Writer: makeNewPage... Again: what do you mean? Your question doesn't make sense and therefore you won't get an answer that makes sense. Is this word 'newPage' somewhere on an exi

[Fwd: Re: [iText-questions] HowTo: send an event on the pdfPage, conditionaly from a text token]

2006-01-17 Thread Rumen Varbanov
>>What do you mean?.. For example when I read on a pdfPage "newPage" I send an event to the Writer: makeNewPage... Thank you! rumen --- Begin Message --- Rumen Varbanov wrote: Hi How to send an event on the pdfPage (or to the pdfDocument), conditionaly from a text token? What do you mean?

Re: [iText-questions] Printing PDF's randomly outputs junk characters

2006-01-17 Thread Vineet Reynolds
Yep, you're right. The printer settings for spooling are not easily manipulated by programs. maybe you should have a support page explaining how to change such settings. Spooling before printing will make the start to printing slow, but the overall printing speed will not matter (unless the documen

Re: [iText-questions] simply add a bookmark at the root of new PDF for each concat'ed document?

2006-01-17 Thread bruno
Aaron J Weber wrote: OK, what's new to me is the part where you are adding a bookmark using a Java HashMap. What I don't understand from that is how the List of bookmarks that I would want to insert my new one into ("bookmarks" in your example) is ordered and how it relates to the Outline.

Re: [iText-questions] HowTo: send an event on the pdfPage, conditionaly from a text token

2006-01-17 Thread bruno
Rumen Varbanov wrote: Hi How to send an event on the pdfPage (or to the pdfDocument), conditionaly from a text token? What do you mean? Maybe the genericTag event can help you. br, Bruno --- This SF.net email is sponsored by: Splunk Inc. D

[iText-questions] HowTo: send an event on the pdfPage, conditionaly from a text token

2006-01-17 Thread Rumen Varbanov
Hi How to send an event on the pdfPage (or to the pdfDocument), conditionaly from a text token? Thank you rumen --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX sea

Re: [iText-questions] simply add a bookmark at the root of new PDF for each concat'ed document?

2006-01-17 Thread Aaron J Weber
OK, what's new to me is the part where you are adding a bookmark using a Java HashMap.  What I don't understand from that is how the List of bookmarks that I would want to insert my new one into ("bookmarks" in your example) is ordered and how it relates to the Outline.   So I understand you

RE: [iText-questions] Table borders when converting from HTML to RTF

2006-01-17 Thread Barnaby Golden
Ah, interesting. The borders aren't visible when I print the document. I hadn't tried that! Thanks for your help Bruno. > -Original Message- > From: bruno [mailto:[EMAIL PROTECTED] > Sent: 17 January 2006 13:01 > To: Barnaby Golden > Cc: itext-questions@lists.sourceforge.net > Subject:

Re: [iText-questions] Table borders when converting from HTML to RTF

2006-01-17 Thread bruno
Barnaby Golden wrote: Can anyone think of a way to switch off the border on tables in RtfWriter2? Are the borders visible if you print the document? Because if I remember well, you can always see the borders of a table in word, even if you don't want them printed on paper. br, Bruno ---

Re: [iText-questions] HowTo: delete Text from a pdfPage

2006-01-17 Thread bruno
Rumen Varbanov wrote: Hi, Have you an example how to delete "Hello" from the HelloWorld.pdf? PDF is not meant to be edited. So no, I don't have such an example. (Actually I have one, but you wouldn't be able to use it for more complex text.) br, Bruno --

[iText-questions] Table borders when converting from HTML to RTF

2006-01-17 Thread Barnaby Golden
I'm using itext to convert from HTML to both PDF and RTF, using HtmlParser and PdfWriter/RtfWriter2. If I take a simple HTML page containing a table and convert it to a PDF using PdfWriter, I get a table with no borders. If I do the same thing with RtfWriter2 I get a table with a border. Setting

[iText-questions] HowTo: delete Text from a pdfPage

2006-01-17 Thread Rumen Varbanov
Hi, Have you an example how to delete "Hello" from the HelloWorld.pdf? Thank you! rumen --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes se

[iText-questions] CFP - INFOCOMP Journal

2006-01-17 Thread Heitor Augustus Xavier Costa
Dear Colleagues: We would like to invite you to submit a paper for INFOCOMP, ISSN 1807-4545, is a quarterly scientific magazine and continuous flow and it is receiving papers for publication in the VOLUME 5, NUMBER 1. We are indexed in CiteSeer, DEST, DOAJ, EBSCO, INSPEC, IS Journals and IS World

Re: [iText-questions] Align paragraph

2006-01-17 Thread bruno
Carlos Bergueira wrote: So sorry ! I didn't see the last lines in the previous and that's why I didn't see you answer. No problem ;-) Bruno --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Sto

Re: [iText-questions] Changing Submit-Action of a PushButton in a PDF Form

2006-01-17 Thread Nitin Tomer
Hi Paulo, Thanx for the help. I tried it but it didn't change the action-URL. Please find the code below- FDFInput is the form input received when the form was submitted, strFormName is an internal variable used to denore the logical name of form, strTemplatePath is the file path of PDF f

Re: [iText-questions] cyrillic characters overlapping

2006-01-17 Thread bruno
[EMAIL PROTECTED] wrote: Ah - thanks for the feedback I'd read the part about the encodings and I read it as saying you just need to tell it to use the right ecoding (which did help - it got me from ???'s to the characters) Yes, on your system, but not necessarily on another machine. All d

Re: [iText-questions] Align paragraph

2006-01-17 Thread Carlos Bergueira
Bruno,So sorry !I didn't see the last lines in the previous and that's why I didn't see you answer.Thanks,CarlosOn 1/17/06, bruno <[EMAIL PROTECTED]> wrote:Carlos Bergueira wrote: >> Hi All,>> Do am I doing things right ?> Font, color is ok... but align is not working !Are you making fun of me?I p

Re: [iText-questions] Align paragraph

2006-01-17 Thread bruno
Carlos Bergueira wrote: Hi All, Do am I doing things right ? Font, color is ok... but align is not working ! Are you making fun of me? I predicted AND answered your question. See the archives: http://article.gmane.org/gmane.comp.java.lib.itext.general/20300 br, Bruno --

RE: [iText-questions] Align paragraph

2006-01-17 Thread Paulo Soares
Paragraph paragraph3 = new Paragraph(); paragraph3.setAlignment(Element.ALIGN_LEFT); document.add(new Paragraph(new Phrase("Left...", red))); What happened to paragraph3? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of

RE: [iText-questions] printing with iText

2006-01-17 Thread Paulo Soares
No. Printing requires rasterizing and a lot more work than you think. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andreas Kreuzer > Sent: Tuesday, January 17, 2006 10:47 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questi

[iText-questions] Align paragraph

2006-01-17 Thread Carlos Bergueira
Hi All,Do am I doing things right ?Font, color is ok... but align is not working !Could onyone tell me if I am doing things like it should be ?Thanks.Code:    Font blue = FontFactory.getFont(FontFactory.HELVETICA, Font.DEFAULTSIZE, Font.ITALIC, new Color(0x00, 0x00, 0xFF));    Font red = F

Re: [iText-questions] printing with iText

2006-01-17 Thread bruno
Andreas Kreuzer wrote: Hello there, is it possible to create a simle g2d-print-service from the pdfreader get-functions by translating the dictionaries ? Everything is possible, but it's a hell of a job; nobody has implemented this in iText yet. You should have a look at JPedal. I think they

RE: [iText-questions] I need a table cell with an image and a text

2006-01-17 Thread Paulo Soares
You can't have text and image at the same time, not like this. Place your text as you did but place the image with a PdfPCellEvent or a PdfPTableEvent. See the tutorial.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rosa LagoSent: Monday, January 16, 2006 7

RE: [iText-questions] get certificates from pdf

2006-01-17 Thread Paulo Soares
Look at the AcroFields source. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Fabio Mondelli > Sent: Monday, January 16, 2006 12:18 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] get certificates from pdf > > hello

[iText-questions] printing with iText

2006-01-17 Thread Andreas Kreuzer
Hello there, is it possible to create a simle g2d-print-service from the pdfreader get-functions by translating the dictionaries ? Greetings A. Kreuzer __ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfa

RE: [iText-questions] Changing Submit-Action of a PushButton in a PDF Form

2006-01-17 Thread Paulo Soares
ArrayList objArrayList = objItem.widgets; PdfDictionary dic = (PdfDictionary)objArrayList.get(0); PdfDictionary action = (PdfDictionary)PdfReader.getPdfObject(dic.get(PdfName.A)); action.put(PdfName.URI, new PdfString("http://mysite/go";)); > -Original Message- > From: [EMAIL PROTECTED] >

Re: [iText-questions] iText capabilities

2006-01-17 Thread Paulo Soares
XFA support will be ready in a couple of week's time. It will allow to do 1. For 2 and 3 it's just a matter of xml manipulation as it has no influence in the pdf itself. If you use normal forms iText can already do all that. Best Regards, Paulo Soares - Original Message - From: "bruno

Re: [iText-questions] iText capabilities

2006-01-17 Thread bruno
Hello, you weren't subscribed to the mailing list, so I had to pass your mail manually. Bob Haxel wrote: Our PDFs will be created in Adobe’s LifeCycle Designer 7. Prior to rendering the form to the user I will need the ability to: For the moment XFA isn't supported yet in iText. Is iText

[iText-questions] Re: Horizontal Lines After Each Section

2006-01-17 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi, I have just started using iText, looks like a great piece of software! Note that you mailed your question to the wrong address (to the admin instead of the list). I want to produce a document where I have say 3 paragraphs of text then I want a horizontal line

[iText-questions] iText capabilities

2006-01-17 Thread Bob Haxel
Hi,   I’m new to iText and am trying to determine if it can do what I want it to. We have a Forms processing application and we need to be able to get into the form and manipulate it somewhat prior to rendering and after it has been submitted back to us. We have experience with the PDF/FD

Re: [iText-questions] iText Installation location?

2006-01-17 Thread bruno
Chris Gonzalez wrote: Where do i place the iText files? Do they belong on each server or do they need to reside on the developers machine? If the developers write and compile their code on their own machine: Yes Do the Library of files need to be in an IIS folder? If they are writing web

Re: [iText-questions] simply add a bookmark at the root of new PDF for each concat'ed document?

2006-01-17 Thread bruno
Aaron J Weber wrote: This has got to be an easy one for all you iText "Pros" out there! I'm looking at the "iText by Example", Concatenate.java file. What I think would be stellar would be if we could (optionally) add a bookmark at the root of the outline that has a destination of the firs