Re: [iText-questions] RTF Anchor to external file with relative path!

2009-06-19 Thread Luís Tiago Rico
Sent: sexta-feira, 19 de Junho de 2009 14:38 To: Post all your questions about iText here Subject: Re: [iText-questions] RTF Anchor to external file with relative path! You would need to use direct content and build the RTF tag/block yourself. Howard Shank _ From: Luís Tiago Rico To

Re: [iText-questions] RTF Anchor to external file with relative path!

2009-06-19 Thread Luís Tiago Rico
file with relative path! You would need to use direct content and build the RTF tag/block yourself. Howard Shank _ From: Luís Tiago Rico To: Post all your questions about iText here Sent: Thursday, June 18, 2009 12:23:38 PM Subject: [iText-questions] RTF Anchor to external file

Re: [iText-questions] iText query - Inserting a PDF page in the middle of another PDF document [C1]

2009-06-19 Thread Luís Tiago Rico
Mike, You want to insert the new page in another PDF document? Or in the same document you are producing? If the same, check out the iText web tutorial (general FAQ). If another PDF, you have to use PDFStamper ou PDFCopy! Check the tutorials or the mailing list! If you have the book there is

[iText-questions] RTF Anchor to external file with relative path!

2009-06-18 Thread Luís Tiago Rico
Hi to all, I want to create a link from RTF to a external file with a relative path! I know Anchor’s are only for hyperlinks in PDF, and PdfAction is nor supported in RTF. Setting the refence of the anchor to file:/// only works with absolute paths…. So my question is it possible to bui

Re: [iText-questions] How to set the alignment of numaric filed in existing PDF?

2009-06-18 Thread Luís Tiago Rico
Well, Here is my 2 cent! If I understood, you are giving an alignment to the table cell! Try to build a paragraph (put your numeric values there), then align that paragraph, then add it to the cell! Br, Rico From: DHANU BUDIREDDI [mailto:budireddidh...@gmail.com] Sent: quinta-feira

Re: [iText-questions] how to convert my jsp output as pdf through itext

2009-06-18 Thread Luís Tiago Rico
Vinay, As I said, you cannot convert directly JSP into PDF using itext! Remember JSP is not HTML! Itext only have techniques to render HTML tags but not jsp taglibs neither scriptlet! So you have to render your JSP into HTML, save it somewhere, as I said, and then convert it using the example! Af

Re: [iText-questions] IE Problem with opening PDF from remote host

2009-06-17 Thread Luís Tiago Rico
This is not a itext related question! But try this headers response.setHeader("Expires", "0"); response.setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0"); response.setHeader("Pragma", "public"); For me they work just fine! Br, Rico

Re: [iText-questions] how to convert my jsp output as pdf through itext

2009-06-17 Thread Luís Tiago Rico
You only can parse JSP as a HTML output! So you have to save the jsp output let's say, to a byte array in memory or a string orbject or maybe into database! And then you can use HTMLWorker object to parse that HTML snippet and produce the PDF! Here is an example: String html = Who

Re: [iText-questions] generate rtf file

2009-06-16 Thread Luís Tiago Rico
Don't think so! I'm new with RTF... But as I could see, tables in RTF don’t work like tables in PDF. Maybe Howard can give us a better explanation. br, Rico -Original Message- From: pickm [mailto:picke...@hotmail.com] Sent: terça-feira, 16 de Junho de 2009 16:04 To: itext-questions@lis

Re: [iText-questions] RtfMapper problem mapping a table cell with a image paragraph

2009-06-16 Thread Luís Tiago Rico
e properly table tag elements. I do not have a solution for you at this time. Perhaps someone else has found a work around for this case? Regards, Howard Shank _ From: Luís Tiago Rico To: iText-questions@lists.sourceforge.net Sent: Monday, June 15, 2009 1:07:14 PM Subject: [iText-

[iText-questions] RtfMapper problem mapping a table cell with a image paragraph

2009-06-15 Thread Luís Tiago Rico
Hi to all, I want to create a RTF document header with a PdfPTable containing two images, one aligned to left and the other aligned to the right. But when I try to add the image to a Paragraph Object (as a Chunk element) for having the correct alignment I have a class cast exception…. ERRO