Cannot log the same as fop.bat with -d option

2002-11-20 Thread Jiri_Nejedly
What I must do, to make logger log everything, as FOP.BAT (with -d option) does ? In servlet I log FOP (0.20.4) actions into file: FileOutputStream log_fos = new FileOutputStream(log_file); PrintStream log_ps = new PrintStream(log_fos); if (log == null) { Hierarchy hierarchy =

Re: Cannot log the same as fop.bat with -d option

2002-11-20 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: What I must do, to make logger log everything, as FOP.BAT (with -d option) does ? Take a look at FopServlet.java example: import org.apache.avalon.framework.logger.ConsoleLogger; import org.apache.avalon.framework.logger.Logger; ... Logger log = new

Table header and footer and page break

2002-11-20 Thread Philippe Chaléat
I asked a similar question some days ago... But not nobody answered on this particular point. Say I want it to have this kind of printing (needed for example for invoice printing) : line1 a line2 b line3 c -- Last line in this page is line3

Re: Cannot log the same as fop.bat with -d option

2002-11-20 Thread Jiri_Nejedly
I tried that, it logs well. But I would like to have the log written to file. This doesn't work: FileOutputStream fos = new FileOutputStream(filename); PrintStream ps = new PrintStream(fos); PrintStream out_orig = System.out; System.setOut(ps); here I run FOP ... fos.close();

Space checking

2002-11-20 Thread lepekhine
I use fop 0.20.4 and docbook-xsl-1.55.0 After processing the next code lines figure titleFigure Title/title mediaobjectimageobject imagedata fileref=figure.gif align=center/ /imageobject/mediaobject /figure sometimes Figure Title turns to be just befor page break and the image is

Re: Cannot log the same as fop.bat with -d option

2002-11-20 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: I tried that, it logs well. But I would like to have the log written to file. It's a litle bit convolute due to two Logger classes in different packages, but anyway here is an example using logkit: //Set up logkit logger Hierarchy hierarchy =

Re: Compiling to native code

2002-11-20 Thread Oleg Tkachenko
Jeremiah Fisher wrote: Has anyone attempted to or had any luck with compiling FOP to native code with gcj? My company has a need for speed and I wanted to know how much effort it will take to decrease conversion times. Not really. Do you think it will give you some performance benefit? -- Oleg

Re: Compiling to native code

2002-11-20 Thread Oleg Tkachenko
anil wrote: Iam unable to instantiate Driver class with or without any args. It is throwing an exception saying that org.apache.jasper.JasperException: org/apache/batik/util/XMLResourceDescriptor could you please some one let me know what is the solution. Could you please prior to elaborate the

Re: Table header and footer and page break

2002-11-20 Thread Oleg Tkachenko
Philippe Chaléat wrote: I asked a similar question some days ago... But not nobody answered on this particular point. Look back to the archive, you've got 2 negative answers. Say I want it to have this kind of printing (needed for example for invoice printing) : line1 a line2 b

Re: Space checking

2002-11-20 Thread Oleg Tkachenko
lepekhine wrote: I use fop 0.20.4 and docbook-xsl-1.55.0 After processing the next code lines figure titleFigure Title/title mediaobjectimageobject imagedata fileref=figure.gif align=center/ /imageobject/mediaobject /figure sometimes Figure Title turns to be just befor page break

Invoice positions partial sums

2002-11-20 Thread Mirko Sertic
Hello! i'm working on a stylesheet that generates an invoice. I'd like to have a partial sum on the bottom of the first page of the invoice, when it has more than one page. Has anybody done this before? Greetings Mirko

Spaces after xsl:value-of

2002-11-20 Thread Scherler, Thorsten
Hello group, I have a problem: fo:block padding-before=24pt xsl:apply-templates select=//body/xsalutation/ xsl:value-of select=./ap/salutation/textxsl:value-of select=./ap/surname/,/fo:block will return: Guten Tag Herr Scherler , But I want to have: Guten Tag Herr Scherler, So I tried the

AW: Spaces after xsl:value-of

2002-11-20 Thread Scherler, Thorsten
Thank you very much!! It is working the way I wanted it xsl:value-of select=normalize-space(./ap/surname)/ is the way to go! You're a genius! Thanks again! -Ursprüngliche Nachricht- Von: Harm Kok [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 20. November 2002 14:21 An: [EMAIL

Another Logger Idiot.....

2002-11-20 Thread Brent Scott
I've searched the mailing list and looked at the Docs and I am just missing something I guess. I'm giving Embedding FOP a whirl and I get the following error: [ERROR] Logger not set It does generate a .pdf file, but it is 0k. I'm using fop-0.20.4rc, below is my code, thanks in advance -

AW: Invoice positions partial sums

2002-11-20 Thread Mirko Sertic
Hello! sounds good. Unlikely it's not possible to change the structure of the xml data. It's fixed by our customer. Isn't there any other way? ( i think of faking around with the sum() funktion and node tests? ) Cheers Mirko -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL

Re: AW: Invoice positions partial sums

2002-11-20 Thread Jeremias Maerki
You can prepend another stylesheet that just adds the sums to the xml. Then you convert modified XML to XSL:FO. Using JAXP/SAX you can easily chain these transformations. On 20.11.2002 15:44:14 Mirko Sertic wrote: Hello! sounds good. Unlikely it's not possible to change the structure of the

Re: Space checking

2002-11-20 Thread Chris Bowditch
From: Oleg Tkachenko [EMAIL PROTECTED] lepekhine wrote: I use fop 0.20.4 and docbook-xsl-1.55.0 After processing the next code lines figure titleFigure Title/title mediaobjectimageobject imagedata fileref=figure.gif align=center/ /imageobject/mediaobject /figure sometimes Figure

RE: Another Logger Idiot.....

2002-11-20 Thread Brent Scott
Thanks for the info...I was also missing theDriver.Run(); DOH!! Thanks again, Brent -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 20, 2002 9:05 AM To: [EMAIL PROTECTED] Subject: Re: Another Logger Idiot. Hi Brent, see comments below

Ant Task

2002-11-20 Thread Howard Miller
Hi, I can feel a FTFM coming on, but... Is there an existing Ant task for FOP. Have had a good dig around but can't find anything. Many thanks -- Howard Miller GUIDE University of Glasgow T: +44 (0)141 330 3269

Re: Ant Task

2002-11-20 Thread Jeremias Maerki
There is one in org.apache.fop.tools. Look at docs/examples/build.xml on how to use it. Seems like we should document it On 20.11.2002 16:56:32 Howard Miller wrote: Hi, I can feel a FTFM coming on, but... Is there an existing Ant task for FOP. Have had a good dig around but can't find

Re: Ant Task

2002-11-20 Thread Howard Miller
Thanks, but. I'm not sure where you are pointing me to for these files. Please excuse my obvious ignorance. Howard On Wednesday 20 November 2002 16:11, Jeremias Maerki wrote: There is one in org.apache.fop.tools. Look at docs/examples/build.xml on how to use it. Seems like we should

Re: Ant Task

2002-11-20 Thread Howard Miller
What a star! Thanks very much you've saved me quite a bit of time there! More help than I was expecting!! Howard On Wednesday 20 November 2002 16:23, Jeremias Maerki wrote: The FOP ant task is org.apache.fop.tools.anttasks.Fop. You can find the source in the source distribution or in

Re: Ant Task

2002-11-20 Thread Christian Geisert
Howard Miller wrote: Thanks, but. I'm not sure where you are pointing me to for these files. Please excuse my obvious ignorance. It's only in the source release. If you don't want to download then you can find it here:

unsubscribe me

2002-11-20 Thread Rodolphe VAGNER
unsubscribe

Re: unsubscribe me

2002-11-20 Thread Oleg Tkachenko
Rodolphe VAGNER wrote: unsubscribe Send a mail to [EMAIL PROTECTED] to unsubscribe. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel

Re: unsubscribe me

2002-11-20 Thread Nicola Ken Barozzi
Oleg Tkachenko wrote: Rodolphe VAGNER wrote: unsubscribe Send a mail to [EMAIL PROTECTED] to unsubscribe. Usually other mailing lists have this info appended to teh messages automatically, maybe it could help a bit. 2c -- Nicola Ken Barozzi [EMAIL PROTECTED] -

Re: unsubscribe me

2002-11-20 Thread Oleg Tkachenko
Nicola Ken Barozzi wrote: Usually other mailing lists have this info appended to teh messages automatically, maybe it could help a bit. I know, but how can we get it in the list? The question was raised twice at fop-dev, I even mailed to fop-user-owner, but this list still doesnb't have

Re: unsubscribe me

2002-11-20 Thread Christian Geisert
Oleg Tkachenko wrote: Nicola Ken Barozzi wrote: Usually other mailing lists have this info appended to teh messages automatically, maybe it could help a bit. I know, but how can we get it in the list? The question was raised twice at fop-dev, I even mailed to fop-user-owner, but this list still

RE: unsubscribe me

2002-11-20 Thread Victor Mote
Nicola Ken Barozzi wrote: Send a mail to [EMAIL PROTECTED] to unsubscribe. Usually other mailing lists have this info appended to teh messages automatically, maybe it could help a bit. I recently added ( Keiron fixed) the unsubscribe URLs in the resources.xml document. This should appear

RE: unsubscribe me

2002-11-20 Thread Victor Mote
Victor Mote wrote: Nicola Ken Barozzi wrote: Send a mail to [EMAIL PROTECTED] to unsubscribe. Usually other mailing lists have this info appended to teh messages automatically, maybe it could help a bit. It looks like my last message has the new footer with this information in it.

Re: unsubscribe me

2002-11-20 Thread Martin Stricker
Nicola Ken Barozzi wrote: Oleg Tkachenko wrote: Rodolphe VAGNER wrote: unsubscribe Send a mail to [EMAIL PROTECTED] to unsubscribe. Usually other mailing lists have this info appended to teh messages automatically, maybe it could help a bit. It won't help much. I'm on a lot of