RE: [iText-questions] xml -> pdf or html

2005-06-24 Thread Fernando.Matomira
The usual way to do this is to use XSLT to convert directly to HTML, and XSLT to transform to XSL-FO which is given to Apache FOP to generate PDF (or many other formats). That’s what I doing for my PDF output.     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Do

RE: [iText-questions] images in RTF not aligning properly

2005-06-24 Thread Fernando.Matomira
Both the paragraph and the image are center aligned. -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 11:33 AM To: itext-questions@lists.sourceforge.net Cc: Mato Mira, Fernando (DIA EMEA/A) Subject: Re: [iText-questions] images in RTF not aligning

RE: [iText-questions] raw image data

2005-06-23 Thread Fernando.Matomira
OK, I could pass a PNG array.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mato Mira, Fernando (DIA EMEA/A) Sent: Thursday, June 23, 2005 9:24 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] raw image data   Hello,     What is the

RE: [iText-questions] images in RTF not aligning properly

2005-06-23 Thread Fernando.Matomira
It seems that when an image is too wide and one specifies center alignment, it is in fact aligned left, so that there's a margin and no cropping at left. -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 9:30 AM To: itext-questions@lists.sourceforg

[iText-questions] raw image data

2005-06-23 Thread Fernando.Matomira
Hello,     What is the raw format that one can give as a parameter to Image.getInstance()?

[iText-questions] images in RTF not aligning properly

2005-06-22 Thread Fernando.Matomira
Hello,      I am using the setAligment() method with arguments of Image.LEFT, Image.MIDDLE, and Image.RIGHT, and it works properly only if the image is the last element added to the page. Any ideas to what the problem could be?   Thanks

[iText-questions] footer appearing at top!

2005-06-17 Thread Fernando.Matomira
So, I set an RtfHeaderFooter using setFooter, and it appears at the top of each page. I am using RtfWriter2 and iText 1.3   Thanks   Fernando Mato Mira

[iText-questions] maximize table width?

2005-06-17 Thread Fernando.Matomira
I am using a table for displaying a footer in RTF, as shown in the examples, but it is narrower than the main text width. I tried maximizing the width with setBorderWidth(“100”), but the result is the same. What should I do?   Thanks in advance,   Fernando Mato Mira

[iText-questions] horizontal ruler in RTF

2005-06-15 Thread Fernando.Matomira
Is there a way to insert a horizontal ruler (like HTML ) in RTF?   Thanks

RE: [iText-questions] flowing paragraphs?

2005-06-15 Thread Fernando.Matomira
By flowing I understand laying out a paragraph into lines so that you can fit a maximum number of words per line, according to the font specified and destination region width. One of your Phrase examples says "if you don't add a newline yourself, all phrases are glued to each other", so how does a

RE: [iText-questions] flowing paragraphs?

2005-06-15 Thread Fernando.Matomira
As I understand, a Phrase is just a collection of Chunks. I don't see how that would help. It's just 1 paragraph that I want to flow. -Original Message- From: bruno [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 12:36 PM To: Mato Mira, Fernando (DIA EMEA/A) Cc: itext-questions@

RE: [iText-questions] flowing paragraphs?

2005-06-15 Thread Fernando.Matomira
It's not that easy, I would have to compute the geometry of the text to correctly fill lines. -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 12:17 PM To: itext-questions@lists.sourceforge.net Cc: Mato Mira, Fernando (DIA EMEA/A) Subject: Re: [i

[iText-questions] flowing paragraphs?

2005-06-15 Thread Fernando.Matomira
Is there any way to flow paragraphs in RTF? (coalescing whitespace, taking newline as whitespace)   Thanks in advance,   Fernando Mato Mira

RE: [iText-questions] Preformatted text possible in RTF?

2005-06-13 Thread Fernando.Matomira
It is plain text that is formatted into columns, for example. So, I want to create an RTF preserving the original formatting (using a fixed-width font, of course). Thanks -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 10:53 AM To: itext-questions

[iText-questions] Preformatted text possible in RTF?

2005-06-10 Thread Fernando.Matomira
Hello,   Is it possible to create an RTF document with preformatted text (preserving linefeeds and spaces, not having iText cutting lines, collapsing whitespace)? How?   Thanks   Fernando Mato Mira