format-number rounding error

2004-05-13 Thread lijun zou
Hi, I am trying to generate PDF using FOP. But I got a rounding error when using the following fo script fo:block xsl:value-of select=format-number(0.5,'0')/ /fo:block The result from fop is 0 instead of 1 Is this a bug? How do we get around of it? Thanks LZ

RE: Executing FOP example

2004-05-13 Thread Juan Manuel Bellina
Thanks. I 've got the idea but still does not work. The cuestion is where the example dir should be? My context is the following: Fop install in C:\fop-0.20.5 Tomcat install in C:\jakarta-tomcat-3.3.2 Inside of Tomcat directory I have a C:\jakarta-tomcat-3.3.2\webapps\fop which was generated

Re: Sometimes FOP truncates text

2004-05-13 Thread Chris Bowditch
Eduardo Muñoz wrote: I have a web application that generates PDF report documents using FOP. A very strange thing happens from time to time. Sometimes I generate the report and the first word of some texts truncate. This happens for text inside tables. It is realy weird because it only happens

Re: Executing FOP example

2004-05-13 Thread Chris Bowditch
Juan Manuel Bellina wrote: Thanks. I 've got the idea but still does not work. The cuestion is where the example dir should be? My context is the following: Fop install in C:\fop-0.20.5 In this case, the path to some sample FO would be: C:\fop-0.20.5\examples\fo\basic\simple.fo and so the URL

Re: format-number rounding error

2004-05-13 Thread Chris Bowditch
lijun zou wrote: Hi, I am trying to generate PDF using FOP. But I got a rounding error when using the following fo script fo:block xsl:value-of select=format-number(0.5,'0')/ /fo:block This is not a rounding error You have specified your format to be 0, so the string 0 is always output. I think

Differences in output from writePDF and print in FOP when content has special characters

2004-05-13 Thread Flemming Jønsson
Hi, I'm trying to make FOP print some reports in Danish with special characters. When I use the writePDF method to generate a PDF file on the harddrive, the layout is just as I want it and all words are on the same line. This is what I have been using while developing (so I did not block the

Re: Differences in output from writePDF and print in FOP when content has special characters

2004-05-13 Thread Chris Bowditch
Flemming Jønsson wrote: Hi, I'm trying to make FOP print some reports in Danish with special characters. When I use the writePDF method to generate a PDF file on the harddrive, the layout is just as I want it and all words are on the same line. This is what I have been using while developing (so

Re: How can I specify the value of the tabulation add after the end of fo:list-item-label by body-start() function?

2004-05-13 Thread Selber Jean-François
thanks a lot It works jf - Original Message - From: Andreas L. Delmelle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 8:36 PM Subject: RE: How can I specify the value of the tabulation add after the end of fo:list-item-label by body-start() function?

fop and jimi

2004-05-13 Thread Thomas Richter
Hi, I get the error: [ERROR] Error while creating area : Error creating FopImage object (file:images/logo_bmAG_footer.tif) : Jimi image library not available although I got it the http://java.sun.com/products/jimi/ and put jimi1_0\Jimi\JimiProClasses.zip in the CLASSPATH ... tia Thomas

Re: infinite loop [INFO] area contents overflows area in line

2004-05-13 Thread Thomas Richter
Chris Bowditch schrieb: Thomas Richter wrote: Hi, I hope that this ist not a FAQ but with fop 0.20.5 I get an infinite loop with: [INFO] area contents overflows area in line [ERROR] Couldn't find hyphenation pattern de [ERROR] Error building hyphenation tree for language de Only a handful of

Re: format-number rounding error

2004-05-13 Thread Chris Bowditch
lijun zou wrote: No, It is an error. '0' is a pattern, meaning round to integer. Perhaps you are right. But this is really the wrong forum for this question as its a pure xslt question. You will get better answers on the xsl-list: http://lists.mulberrytech.com/xsl-list/ I use other formatter,

Re: fop and jimi

2004-05-13 Thread Chris Bowditch
Thomas Richter wrote: Hi, I get the error: [ERROR] Error while creating area : Error creating FopImage object (file:images/logo_bmAG_footer.tif) : Jimi image library not available although I got it the http://java.sun.com/products/jimi/ and put jimi1_0\Jimi\JimiProClasses.zip in the CLASSPATH

Re: Executing FOP example

2004-05-13 Thread Juan Manuel Bellina
Thanks Cris, but still does not work. Any order sugestion? --- Chris Bowditch [EMAIL PROTECTED] wrote: Juan Manuel Bellina wrote: Thanks. I 've got the idea but still does not work. The cuestion is where the example dir should be? My context is the following: Fop install in

Re: Differences in output from writePDF and print in FOP when content has special characters

2004-05-13 Thread Clay Leeds
Chris Bowditch wrote: Flemming Jønsson wrote: Hi, I'm trying to make FOP print some reports in Danish with special characters. When I use the writePDF method to generate a PDF file on the harddrive, the layout is just as I want it and all words are on the same line. This is what I have been

RE: format-number rounding error

2004-05-13 Thread Andreas L. Delmelle
-Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] lijun zou wrote: No, It is an error. '0' is a pattern, meaning round to integer. Perhaps you are right. But this is really the wrong forum for this question as its a pure xslt question. You will get better

Hello and PDF 2 FOP

2004-05-13 Thread Diogo Quintela \(EF\)
Hello List, I am glad to say that i've tried FOP a while and it seems quite a good work. Now I want to incorporate in my work. The client gave us a pdf file, in which we should be adding database data (I mean fill the form :). We thought something about regenerating the .fo file

Merging two xml files to one.

2004-05-13 Thread Johannes Franz
Hi there, i would like to do following thing: xmlfile1.xml xmlfile2.xml - xmlfile12.xml fop -xml xmlfile12.xml -xsl xmlfile12.xsl -pdf output.pdf Has someone an idea how i could do this? Greetings, Johannes Franz.

RE: Hello and PDF 2 FOP

2004-05-13 Thread Andreas L. Delmelle
-Original Message- From: Diogo Quintela (EF) [mailto:[EMAIL PROTECTED] Hi, The client gave us a pdf file, in which we should be adding database data (I mean fill the form :). We thought something about regenerating the .fo file from the given .pdf, What you could do is - either

RE: Merging two xml files to one.

2004-05-13 Thread Andreas L. Delmelle
-Original Message- From: Johannes Franz [mailto:[EMAIL PROTECTED] Hi there, i would like to do following thing: xmlfile1.xml xmlfile2.xml - xmlfile12.xml fop -xml xmlfile12.xml -xsl xmlfile12.xsl -pdf output.pdf Has someone an idea how i could do this? Hi, You definitely need

RE: Merging two xml files to one.

2004-05-13 Thread Andreas L. Delmelle
-Original Message- From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] -Original Message- From: Johannes Franz [mailto:[EMAIL PROTECTED] Hi there, i would like to do following thing: xmlfile1.xml xmlfile2.xml - xmlfile12.xml fop -xml xmlfile12.xml -xsl

Re: Hello and PDF 2 FOP

2004-05-13 Thread Jeremias Maerki
I think, iText is particularly suited for this kind of job. Converting PDF to XSL-FO and back to PDF is not a realistic way to do what you need to accomplish. Maybe sometime in the future FOP might me powerful enough to use an existing PDF as background. On 13.05.2004 19:49:13 Diogo Quintela

RE: Hello and PDF 2 FOP

2004-05-13 Thread Chris Pratt
You may also want to look into iText (http://www.lowagie.com/iText). I believe it can handle PDF Forms. (*Chris*) -Original Message- From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 12:12 pm To: [EMAIL PROTECTED] Subject: RE: Hello and PDF 2 FOP

Re: Merging two xml files to one.

2004-05-13 Thread Johannes Franz
Thanks very much, i'll try this way since it seems to be the easiest to me. - Original Message - From: Andreas L. Delmelle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 13, 2004 9:43 PM Subject: RE: Merging two xml files to one. -Original Message- From: Andreas

Invoking the servlet

2004-05-13 Thread Juan Manuel Bellina
I am trying to invoke the servlet in the FOP distribution with Tomcat 3.3.2 The error is - simple.fo (The system cannot find the file specified). The URL is - http://localhost:8080/fop/fop?fo=simple.fo; I put the simple.fo file in the following diretory -