[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 ori

[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] 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] 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: http://messenger.yupimsn.co

Re: [iText-questions] PDF Development

2003-03-18 Thread Leonard Rosenthol
At 8:49 AM -0800 3/18/03, Andrew McLaughlin wrote: Okay, now you've really got my attention. It kinda sounds like I can have the artsy folks do all their design work in Illustrator (available) and export as PDF. Exactly! Now, of course, we use Macintosh here (for graphics as well as Java dev

RE: [iText-questions] PDF Development

2003-03-18 Thread Paulo Soares
You can import pages from a pdf like in the Concat.java example in the tutorial. Other option is to stamp the new information on top of the existing pdf but in this case it's probably not the best way. There are more examples at www.geocities.com/itextpdf. Best Regards, Paulo Soares > -Origi

Re: [iText-questions] PDF Development

2003-03-18 Thread Matt Benson
To clarify: you would have one PdfReader per component PDF. You could, of course, simplify things by putting your various components on different pages of one PDF "library file." -Matt --- Matt Benson <[EMAIL PROTECTED]> wrote: > Your components can be stored as individual PDFs. > Your PdfWrit

Re: [iText-questions] PDF Development

2003-03-18 Thread Matt Benson
Your components can be stored as individual PDFs. Your PdfWriter instance can get a PdfImportedPage from a PdfReader which reads your component PDFs. A PdfImportedPage is a special type of PdfTemplate. See the API documentation of these classes as well as Chapter 10 of the tutorial. -Matt ---

Re: [iText-questions] PDF Development

2003-03-18 Thread Andrew McLaughlin
Okay, now you've really got my attention. It kinda sounds like I can have the artsy folks do all their design work in Illustrator (available) and export as PDF. Now, of course, we use Macintosh here (for graphics as well as Java development) so printing to PDF is always an option. Can I th

RE: [iText-questions] Errors in textfields?

2003-03-18 Thread Paulo Soares
You are right. The appearances now use the correct names but the /DA in PdfAcroForm is still using the /F1 name for font. I'll fix it in the next version. Meanwhile you can use TextField for text, list and combo. Best Regards, Paulo Soares > -Original Message- > From: Finn Bock [SMTP:[EMA

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

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

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 tem

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] 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.

[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 appearanc

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 la

Fw: [iText-questions] Convert PDF into HTML

2003-03-18 Thread Thiago Costa
Can i extract the plain text ? Thanks Thiago - Original Message - From: "Bruno Lowagie" <[EMAIL PROTECTED]> To: "Thiago Costa" <[EMAIL PROTECTED]> Cc: "iText" <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2003 8:25 AM Subject: Re: [iText-questions] Convert PDF into HTML Thiago Costa wr

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: Tu

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 > b

[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] 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: (B>Quoting "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

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

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Ricky M. Codizar
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 be aligned right and justified. The

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Bruno
Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: > How? Using the pre-defined ALIGN_RIGHT or ALIGN_JUSTIFY? or can I combine > those? ??? > >> I still have another question: Is it possible to set the Horizontal > alignment > >> of a paragraph to a right justify? I think I didn't understand you c

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Ricky M. Codizar
How? Using the pre-defined ALIGN_RIGHT or ALIGN_JUSTIFY? or can I combine those? (B (BThanks. (B (BBruno $B$5$s$O=q$-$^$7$?(B: (B>Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: (B> (B>> Thanks Bruno I will try it! (B>> (B>> I still have another question: Is it possible to set the Horiz

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Bruno
Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: > Thanks Bruno I will try it! > > I still have another question: Is it possible to set the Horizontal alignment > of a paragraph to a right justify? Yes. Bruno --- This SF.net email is sponsored

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: (B>Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: (B> (B>> How can I possibly solve my prob

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 PC.

[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 pdf document to a html document. Can iText library do this?   Thanks   Thiago Costa

[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 pdf document to a html document. Can iText library do this?   Thanks   Thiago Costa

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 cha

Re: [iText-questions] Headerfooter Question

2003-03-18 Thread Ricky M. Codizar
How can I possibly solve my problem? (B (BI tried setting the Header twice but it overrides the 1st header e.g.: (B (Bdocument.setHeader(header); (Bdocument.setHeader(subheader); (B (BThanks. (B (BBruno $B$5$s$O=q$-$^$7$?(B: (B>Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: (B> (B>>

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 ad

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_EMBE