Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Ricky M. Codizar
Hi! Why does Paragraph alignment doesn't work if you a add a Paragraph in a HeaderFooter? Here is a chunk of the sample code: // create the header Paragraph header = new Paragraph(Title 1, FontFactory.getFont( HeiseiKakuGo-W5, UniJIS-UCS2-HW-H, BaseFont.NOT_EMBEDDED,

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Bruno
Quoting Ricky M. Codizar [EMAIL PROTECTED]: Hi! Why does Paragraph alignment doesn't work if you a add a Paragraph in a HeaderFooter? Because the alignment has to be set with HeaderFooter.setAlignment(). Internally HeaderFooter keeps a membervariable with a Phrase. All objects are added to

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Bruno
Quoting Ricky M. Codizar [EMAIL PROTECTED]: How can I possibly solve my problem? I tried setting the Header twice but it overrides the 1st header e.g.: document.setHeader(header); document.setHeader(subheader); This is expected behaviour. You should subclass HeaderFooter and change the

[iText-questions] Convert PDF into HTML

2003-03-18 Thread Thiago Costa
Dear Friends, I´m new with iText and i want to convert a pdfdocument to a html document.Can iText library do this? Thanks Thiago Costa

Re: [iText-questions] Convert PDF into HTML

2003-03-18 Thread Bruno Lowagie
Thiago Costa wrote: Dear Friends, I´m new with iText and i want to convert a pdf document to a html document. Can iText library do this? No. Bruno --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Ricky M. Codizar
Thanks Bruno I will try it! (B (BI still have another question: Is it possible to set the Horizontal alignment of a (Bparagraph to a right justify? (B (BThanks. (B (BBruno $B$5$s$O=q$-$^$7$?(B: (BQuoting "Ricky M. Codizar" [EMAIL PROTECTED]: (B (B How can I possibly solve my problem?

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Bruno
Quoting Ricky M. Codizar [EMAIL PROTECTED]: Hi Bruno! I'm sorry I'm in a hurry to finished my module using iText. Here is an example layout of I what to achieve: Creation Date: 03/18/2003 Author: r I want the column to

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Ricky M. Codizar
Thanks Bruno...I will try both and implement which will be easier for me. (B (BTill next time. (B (BBruno $B$5$s$O=q$-$^$7$?(B: (BQuoting "Ricky M. Codizar" [EMAIL PROTECTED]: (B (B Hi Bruno! I'm sorry I'm in a hurry to finished my module using iText. (B (B Here is an example layout of

[iText-questions] adding image

2003-03-18 Thread allam badshah
Hi All, I want to add an image to the document, the size of the image is much larger than the size of the page. Its getting truncated. The width of the image is adjusted to bring it to PageSize.A4.width() but the height cannot be altered bcos it will bcome unreadable. what to do so that when i use

Re: [iText-questions] adding image

2003-03-18 Thread Bruno
Quoting allam badshah [EMAIL PROTECTED]: Hi All, I want to add an image to the document, the size of the image is much larger than the size of the page. Its getting truncated. The width of the image is adjusted to bring it to PageSize.A4.width() but the height cannot be altered bcos it

RE: [iText-questions] adding image

2003-03-18 Thread Paulo Soares
You'll have to add the image using PdfContentByte.addImage() with a clipping path to limit the portion of image shown. See http://www.mail-archive.com/[EMAIL PROTECTED]/msg04608.h tml. Best Regards, Paulo Soares -Original Message- From: allam badshah [SMTP:[EMAIL PROTECTED] Sent:

Re: [iText-questions] adding image

2003-03-18 Thread allam badshah
Thx Bruno Paulo Soares, I had already seen that in the archive but i wanted to know if there was any automated way to do so. allam Bruno [EMAIL PROTECTED] wrote: Quoting allam badshah <[EMAIL PROTECTED]>: Hi All, I want to add an image to the document, the size of the image is much larger than

[iText-questions] Errors in textfields?

2003-03-18 Thread Finn Bock
Hi, I have tried creating acroform textfield with an updated CVS version and it appears the acrobat think the generated PDF file is somehow wrong. I can reproduce the problem by simply running the Chap13_form.java example. http://www.lowagie.com/iText/examples/Chap13_form.java The

Re: [iText-questions] Page Number in RTF´s

2003-03-18 Thread Mark Hall
Pablo Collazos Fernandez wrote: How can i use the RtfPageNumber class? Phrase phrase = new Phrase(); phrase.add(new RtfPageNumber(Page , new Font())); document.add(phrase); Greetings, Mark -- The cause of the problem is: microelectronic Riemannian curved-space fault in write-only file system.

Re: Fw: [iText-questions] Convert PDF into HTML

2003-03-18 Thread Leonard Rosenthol
At 10:17 AM -0300 3/18/03, Thiago Costa wrote: Can i extract the plain text ? No. If you want text extraction or format conversion - check out JPEDAL (http://www.jpedal.org). Leonard -- --- Leonard Rosenthol

Re: [iText-questions] PDF Development

2003-03-18 Thread Leonard Rosenthol
At 2:41 PM -0800 3/17/03, Andrew McLaughlin wrote: The layout will be something done in, say, Photoshop. Why is it that designers insist on using the wrong tools for the job?!?! Can you get them to use Illustrator instead? That way they can save the files as PDF's that you can then use as

Re: Fw: [iText-questions] Convert PDF into HTML

2003-03-18 Thread Matt Benson
Don't forget what ghostScript offers in the way of simple text extraction. Simpler to use than JPedal but not Java, either... -Matt --- Leonard Rosenthol [EMAIL PROTECTED] wrote: At 10:17 AM -0300 3/18/03, Thiago Costa wrote: Can i extract the plain text ? No. If you want

Re: Fw: [iText-questions] Convert PDF into HTML

2003-03-18 Thread Leonard Rosenthol
At 7:24 AM -0800 3/18/03, Matt Benson wrote: Don't forget what ghostScript offers in the way of simple text extraction. Simpler to use than JPedal but not Java, either... Oh, there are a number of other (non-Java-based) PDF-HTML, PDF-Text, etc. tools.pdftext (Xpdf), pdftohtml, Jade, Gemini,

[iText-questions] Convert HTML to PDF

2003-03-18 Thread carlos manuel llona aris
Hi I am me in this field, i need create PDFs from HTMLs. I dont know if this is posible usin itext. is this posible, and tell me how? thanks _ Charla con tus amigos en línea mediante MSN Messenger:

[iText-questions] Nested HTML TABLE

2003-03-18 Thread Venkat Sreenath
Hi I have a html which has nested html tables I am using html example Chap0706.java to generate pdf out of it it is throwing array index out of bound exception Can u please let me know is it possible to generate pdf with nested html tables Sreenath Regards, Sreenath

[iText-questions] Modifying Metadata

2003-03-18 Thread Kishore Subramanian
Hi, Iam facing a problem where I need to modify the metadata (for instance, the "Keywords") of an existing PDF file without making any other modifications to this PDF file. I need to do this in Java. I found the iText API very intuitive to set the meta data on a new PDF file. But I was

[iText-questions] iText for Tif to PDF

2003-03-18 Thread Jeff Grobaski
I'm using iText for on demand conversion of TIF to PDF. I'm also the JAI for converting TIF to JPG, allowing users to rotate a page, convert the rotated page from JPG to TIF and then store the newly rotated TIF. In implementing I have a couple questions... Where does the image class expect the