You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Matthew Lancashire <m....@ies.uk.com> on 2003/02/07 11:47:41 UTC
XSL_FO generator
Is there a nice simple graphical (and free) product that I can have my users
use to create fo stylesheetsfor use with FOP
Matthew Lancashire
IT Project Manager
Intitial Electronic Security Ltd
Tel: +44 1282 473554
Fax: +44 1254 267552
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: XSL_FO generator
Posted by Oleg Tkachenko <ol...@multiconn.com>.
Gian Piero Bottini wrote:
> Oh I have made confusion..
> Sorry
> I think that this code is ok for avalon.framework.Logger.
> but not for log4j.This is correct??
>
> Anybody know how to use fop with log4j??
Take a look at org.apache.avalon.framework.logger.Log4JLogger class.
--
Oleg Tkachenko
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: XSL_FO generator
Posted by Gian Piero Bottini <gi...@one.it>.
Oh I have made confusion..
Sorry
I think that this code is ok for avalon.framework.Logger.
but not for log4j.This is correct??
Anybody know how to use fop with log4j??
Gian
----- Original Message -----
From: "Balaji Loganathan" <ba...@yahoo.com>
To: <fo...@xml.apache.org>
Sent: Friday, February 07, 2003 3:45 PM
Subject: Re: XSL_FO generator
> Did you tried
> driver.setLogger(log); ?
>
>
> --- Gian Piero Bottini <gi...@one.it>
> wrote: > Hi all
> > Do somebody know how to integrate log4j and fop??
> > In my project I have 2 log files created with log4j
> > and I would put the fop
> > output in them.
> > The code should be like this..
> >
> > Hierarchy hierarchy =
> > Hierarchy.getDefaultHierarchy();
> > PatternFormatter formatter = new
> > PatternFormatter(
> > "[%{priority}]: %{message}\n%{throwable}" );
> >
> > LogTarget target = null;
> > target = new StreamTarget(System.out,
> > formatter);
> >
> > hierarchy.setDefaultLogTarget(target);
> > log = hierarchy.getLoggerFor("fop");
> > log.setPriority(Priority.INFO);
> >
> > driver.setLogger(?? )
> >
> > ....but what do I have to put instead of '??' ?
> >
> > Thanks a lot and sorry for my poor english and my
> > ignorance
> >
> > Gian Piero
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > fop-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> > fop-user-help@xml.apache.org
> >
>
> http://greetings.yahoo.com.au - Yahoo! Greetings
> - Send some online love this Valentine's Day.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: XSL_FO generator
Posted by Balaji Loganathan <ba...@yahoo.com>.
Did you tried
driver.setLogger(log); ?
--- Gian Piero Bottini <gi...@one.it>
wrote: > Hi all
> Do somebody know how to integrate log4j and fop??
> In my project I have 2 log files created with log4j
> and I would put the fop
> output in them.
> The code should be like this..
>
> Hierarchy hierarchy =
> Hierarchy.getDefaultHierarchy();
> PatternFormatter formatter = new
> PatternFormatter(
> "[%{priority}]: %{message}\n%{throwable}" );
>
> LogTarget target = null;
> target = new StreamTarget(System.out,
> formatter);
>
> hierarchy.setDefaultLogTarget(target);
> log = hierarchy.getLoggerFor("fop");
> log.setPriority(Priority.INFO);
>
> driver.setLogger(?? )
>
> ....but what do I have to put instead of '??' ?
>
> Thanks a lot and sorry for my poor english and my
> ignorance
>
> Gian Piero
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
>
http://greetings.yahoo.com.au - Yahoo! Greetings
- Send some online love this Valentine's Day.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: XSL_FO generator
Posted by Gian Piero Bottini <gi...@one.it>.
Hi all
Do somebody know how to integrate log4j and fop??
In my project I have 2 log files created with log4j and I would put the fop
output in them.
The code should be like this..
Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
PatternFormatter formatter = new PatternFormatter(
"[%{priority}]: %{message}\n%{throwable}" );
LogTarget target = null;
target = new StreamTarget(System.out, formatter);
hierarchy.setDefaultLogTarget(target);
log = hierarchy.getLoggerFor("fop");
log.setPriority(Priority.INFO);
driver.setLogger(?? )
....but what do I have to put instead of '??' ?
Thanks a lot and sorry for my poor english and my ignorance
Gian Piero
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org