Re: Command line call to FOP

2006-01-31 Thread Roland Neilands
Jelka, 1. Set the "LOCAL_FOP_HOME" in your fop.bat file value to the fop install dir, eg: C:\FopTrunk Cheers, Roland Jeremias Maerki wrote: On 31.01.2006 10:54:55 jelka.kosir wrote: Yes, when I change "org.apache.fop.apps.Fop" to "org.apache.fop.cli.Main" all works fine except 2 things:

Re: total per page

2006-01-31 Thread J.Pietschmann
Roberto Nunnari wrote: but I also need to have the current total at the end of each page and at the beginnig of each new page in the final pdf document, and here is where I ask for help. In general, there is no standard (or easy) way to solve this. FOP doesn't do calculations involving data fro

total per page

2006-01-31 Thread Roberto Nunnari
Hello list. I'm new to FO and I'm enjoying fop-0.20.5 quite a lot. Thank you to all who developed this excellent piece of software! Now my question: A java program generates a FO document that is then given to fop to generate a pdf document. This document (a kind of bill) is made up of text lin

Re: Using FOP text calculation?

2006-01-31 Thread Kaarle Kaila
> > Have you considered using standard Java classes like > > java.awt.font.TextMeasurer for what you want to do? > > That might be much simpler than trying to extract > this stuff from the > FOP codebase. Hi! I have considered using standard Java classes for this. My concerns are that I may

Re: Using FOP text calculation?

2006-01-31 Thread Manuel Mall
On Tuesday 31 January 2006 22:27, Kaarle Kaila wrote: > Hi! > > I am working in a (mobile) project were we need to > know how much text will fit on the terminal screen. > This is dependent on the screen size, font type, size > and other font properties. I can assume I have a font > available that c

Using FOP text calculation?

2006-01-31 Thread Kaarle Kaila
Hi! I am working in a (mobile) project were we need to know how much text will fit on the terminal screen. This is dependent on the screen size, font type, size and other font properties. I can assume I have a font available that corresponds to the terminal font. I guess this would be true also i

Re: Problems with Driver image cache

2006-01-31 Thread Jeremias Maerki
On 31.01.2006 13:19:50 Rolf Bruderer wrote: > Jeremias Maerki jeremias-maerki.ch> writes: > > See http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#caching on > > how to reset the image cache in FOP 0.20.5 between rendering runs. Note > > that this function is not available anymore in the la

Re: Problems with Driver image cache

2006-01-31 Thread Rolf Bruderer
Jeremias Maerki jeremias-maerki.ch> writes: > See http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#caching on > how to reset the image cache in FOP 0.20.5 between rendering runs. Note > that this function is not available anymore in the latest version since > there the cache works differentl

Re: Command line call to FOP

2006-01-31 Thread Jeremias Maerki
On 31.01.2006 10:54:55 jelka.kosir wrote: > Yes, when I change "org.apache.fop.apps.Fop" to "org.apache.fop.cli.Main" > all works fine except 2 things: > > 1.) > Before in the 0.20.5 I was able to use this command from anywhere (no > matter where my Command Prompt is positioned). Now it only w

Re: Command line call to FOP

2006-01-31 Thread jelka . kosir
Yes, when I change "org.apache.fop.apps.Fop" to "org.apache.fop.cli.Main" all works fine  except 2 things: 1.) Before in the 0.20.5 I was able to use this command from anywhere (no matter where my Command Prompt is positioned). Now it only works if I am positioned in the C:\FopTrunk directory on

Re: Command line call to FOP

2006-01-31 Thread Jeremias Maerki
Because the main class is not org.apache.fop.apps.Fop anymore, but org.apache.fop.cli.Main now. If you want to know how the command-line should look, look at fop.bat in the root directory of the FOP distribution. If you use that batch file, everything will work fine. On 31.01.2006 09:38:40 jelka.k

Command line call to FOP

2006-01-31 Thread jelka . kosir
Hi all! I was just wondering, how could I use fop beta from Command prompt. In 0.20.5 version I used this line: java -cp "C:\fopdir\fop.jar;C:\xalandir\xalan.jar" org.apache.fop.apps.Fop -c "C:\configdir\config.xml" -xml "C:\xmldir\test.xml" -xsl "C:\xsldir\test.xsl" -pdf "C:\pdfdir\test.pdf"

Re: pagination problem errata corrige

2006-01-31 Thread Jeremias Maerki
As I already told Giovanni: no test file, no help possible. I can't reproduce the problem. On 30.01.2006 17:06:32 QIU Meng wrote: > Hi all > > I have the same problem, I think that it is a fop bug. when we change a > little the size between 2 lines, the white page will disappear. You can te

Re: Problems with Driver image cache

2006-01-31 Thread Jeremias Maerki
You're mixing things. The thread you referenced is about something else. It's about RTF output and FOP 0.91beta/Trunk. Since you're talking about a Driver object, you're still on FOP 0.20.5 where the image cache works differently. See http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#caching