FOP - HTML2PDF

2011-01-25 Thread echoo
Dear I have a problem which I don't know how to solve: I have an xml file which I want to transform to: - a pdf file. - a xsl file. For this, I use Apache FOP (as I am working in a Java environment). The result of this is nice except for one thing: My xml has one field

Re: FOP - HTML2PDF

2011-01-25 Thread mehdi houshmand
Hi Christof, Just to be clear, you've got an XML element that contains HTML and you want that HTML to be interpreted as text (i.e. you want the HTML tags removed?)? If so, this isn't strictly a FOP question, FOP isn't responsible for analysing/parsing/interpreting XML directly (though admittedly

Re: FOP - HTML2PDF

2011-01-25 Thread Wim VN
Hello Christof, I'm not sure but I think the solution can be found in XSLT and not in FOP. If I understand correctly: you use an XSL transformation to go from a source xml file to an intermediate XSL-FO file. Afterwards you process this with Apache FOP to a final PDF document. Within the xml

Re: FOP - HTML2PDF

2011-01-25 Thread echoo
Hello Wim VN Thank you for your reply. Yes, what you metion is exactly what I want to do. I am not sure but I believe I can use the xsl file (xhtml2fo.xsl), provided by antennahouse(http://www.antennahouse.com/XSLsample/XSLsample.htm), to lookup the html translations. This is what you mean

Re: FOP - HTML2PDF

2011-01-25 Thread mehdi houshmand
Hi Christof, Correct me if I'm wrong, but you're trying to extract the relevant text from the HTML and convert that to FO objects in XML. If so, that looks like a job for regex i.e. finding strings - in your case, you'd be looking for tableANY STRING/table (I presume) and insert that text into FO

Reduce required memory

2011-01-25 Thread Anagnostou, Fotini
Dear all, I have this xsl:fo (http://support.i-docs.com/sample_1.xml.bz2) that has a table with many rows. The process to transform it to pdf (that has 92pages) requires 386MB (as shown in Task Manager). Is there anything we can do to reduce the required memory so that the result is (almost)

Re: align columns last line

2011-01-25 Thread Rob Sargent
Well not quite. display-align=top-and-bottom is what I'm really looking for. Crack open the iText manual I guess? rjs On 01/20/2011 03:45 PM, Rob Sargent wrote: YES! Thank you so much. I guess I didn't know how to ask google for it... rjs ps. Can't type for that matter: to much should

Re: Can''t get rid of line between rows

2011-01-25 Thread Rob Sargent
Actually, the Adobe users were fine. It was just me using Evince (on Suse-11.2) who saw the problem and Evince doesn't have any controls in that regard. On 01/24/2011 09:24 AM, Rob Sargent wrote: Spot on! Thanks. (One wasted weekend...) On 01/24/2011 12:53 AM, Jeremias Maerki wrote: Not