Re: FOP in servlet and configuration

2009-04-22 Thread Al Dancer
Hi Sam, I've changed the script as following: - protected void configureFopFactory() {     try {     fopFactory.setUserConfig(new File(/opt/coolstack/fop/conf/fop.xconf));     } catch (SAXException e) {     System.out.println(e);     }     }

AW: FOP in servlet and configuration

2009-04-22 Thread Georg Datterl
Hi Al, try: protected void configureFopFactory() { try { fopFactory.setUserConfig(new File(/opt/coolstack/fop/conf/fop.xconf)); } catch (SAXException e) { System.out.println(e); } catch (IOException e) {

Re: FOP in servlet and configuration

2009-04-22 Thread Al Dancer
Hello Georg, Sam and Andreas, that's great, it's working now ! Thanks a lot for your help that I really appreciate. Al --- On Wed, 4/22/09, Georg Datterl georg.datt...@geneon.de wrote: From: Georg Datterl georg.datt...@geneon.de Subject: AW: FOP in servlet and configuration To:

RE: inline - Added extra spaces

2009-04-22 Thread lmhelp
Hi, Manuel Mall-2 wrote: In xsl-fo whitespace is not all removed but collapsed that is a sequence of whitespace is reduced to a single whitespace. Yes, I noticed that, thanks. Manuel Mall-2 wrote: The details are a bit more complicated and you can control through properties some

Re: table, keep-with-*, placing of page breaks

2009-04-22 Thread Artur Zinatullin
AE Have you tried putting number-rows-spanned=2 on the table-cell as AE well? That should avoid the need for the keep altogether, I think. Well, no, a cannot achieve no stable results with a colmin spanned into two rows, regardless of is it visible or has zero width :(

interpret html stuff in xml aand pply the html formatting to pdf out

2009-04-22 Thread sssr
I am using fop 0.95 to generate pdf from xml and xsl input. I have an xml file with some html stuff in it(a string with html tags like fonts , lists... . This string is put into xml file using java). I put in the templates for these html tags in xsl file. But when the pdf is generated it is

AW: interpret html stuff in xml aand pply the html formatting to pdf out

2009-04-22 Thread Georg Datterl
Hi Suma, Seems like your xml file is not correct. The text is not correct XML (br tag without closing br tag) and the and seem to be encoded as lt; and gt;. Your transformation file does not find tags and therefore can't apply templates. Mit freundlichen Grüßen Georg Datterl --

Re: Disabling random prefix of embedded fonts in PDF [SOLVED]

2009-04-22 Thread Kostis Kapelonis
Hello I upgraded to FOP 0.95 and the problem was solved! Now the name of the font is not prefixed anymore. It also says embedded subset next to the name of the font in Adobe Acrobat so I guess this has something to do with the prefix removal. I did not change anything at all in my Java code

Re: Table of Contents

2009-04-22 Thread Alessandro Antonello
Hi, I tried that already and get no lucky. The approach I am using now is exporting my documents to latex and using MikTeX to generate the final PDF. This is not perfect, but I can edit the TEX file to create a better looking PDF. Currently I'm using DocUtils with

Re: inline - Added extra spaces

2009-04-22 Thread Andreas Delmelle
On 22 Apr 2009, at 09:53, lmhelp wrote: Hi Manuel Mall-2 wrote: The details are a bit more complicated and you can control through properties some of the behaviour. Which properties? http://www.w3.org/TR/xsl/#linefeed-treatment http://www.w3.org/TR/xsl/#white-space-treatment

Re: AW: interpret html stuff in xml aand pply the html formatting to pdf out

2009-04-22 Thread sssr
Thank you Georg I will make sure that br will have closing tags. how I can pevent the encoding of the and to lt; and gt;. I have a string with all html tags in it. and I am creating xml with this string from java using xerces dom. it is automatically encoding all of the html and to lt; and