Re: Réf. : Re: Get FOP logs with Log4j...

2003-08-27 Thread Carsten Hau




Hello,
I use:
 MessageHandler.setScreenLogger(new org.apache.avalon.framework.logger.Log4JLogger(logger));
and
 driver.setLogger(new org.apache.avalon.framework.logger.Log4JLogger(logger));

Both work just fine with my logger
 static Logger logger = Logger.getLogger(Formatter.class);

It should work in your case too, your compiler-error sounds like a forgotten
import, your development IDE should find the error very quick.

Greetz
Carsten

[EMAIL PROTECTED] wrote:

  Thanks to reply.

I have in my classpath:
log4j-1.2.8.jar
avalon-framework-cvs-20020806.jar
logkit-1.0.1.jar

Stphane



   
Carsten Hau
[EMAIL PROTECTED]   Pour :  [EMAIL PROTECTED]   
aterna.de   cc :  
 Objet : Re: Get FOP logs with Log4j...
22/08/2003 
07:55  
Veuillez   
rpondre  
fop-user   
   
   




Do you have the jar-file for Log4j in your classpath (e.g.
"log4j-1.2.8.jar") ?

[EMAIL PROTECTED] wrote:

  
  
Hi all

I'm writing an application in witch I'm embedding FOP.
I want to get FOP logs with Log4j.

The documentation says that I can use :
driver.setLogger(new
org.apache.avalon.framework.logger.LogKitLogger(log));
It exists similar implementations with Log4j so I tried :
driver.setLogger(new
org.apache.avalon.framework.logger.Log4JLogger(log));
with :
private static final Logger log =
Logger.getLogger(XSLTUtil.class.getName());

javac is complaining that I need org.apache.log.Logger.

I read the fop-dev archives so I check my FOP version. It's the 0-20.4.

What's wrong ???
If anyone can help me... Thanks.

Stephane


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  
  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



background-image for one whole page

2003-07-24 Thread Carsten Hau
Hi FOPpers,
I want to create several letters with FOP, which should all contain the 
same header, acount-info and a grey field for the receiver-address. In 
other words: I would like to put letter paper ( german: Briefpapier ) 
on the background and still use the flow areas for the Text. Is this 
possible to put one background image on the whole page ?
Greetz
Carsten


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Redirect the Logger ?

2003-06-04 Thread Carsten Hau
Hi, Foppers
I'm integrating FOP 0.20.5rc3a into an application which uses log4j for 
logging.
driver.setLogger(fopLogger); does not accept my log4j-logger. I don't 
want to have 2 Loggers in my application, so does anybody know if it is 
possible to redirect the avalon.logger to another Logger like log4j ?
Greetz
Carsten


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Please Help!!!

2003-05-28 Thread Carsten Hau
Hi
AFAIK the reference-orientation is not implemented yet, you can do 
something like that with SVG which is well supported by FOP.
Greetz
Carsten

Max Dcosta wrote:
Guys,
Is it possible to apply physical transformations such as rotation, 
scaling and vertical/horizontal flipping to text and image elements 
within XSL:FO?

Also, has anyone had any experience of using SVG images within XSL-FO?
I think it is some reference-orientation property which can do the 
rotation, but i am not to sure, please advise,

thanks and best wishes,
max
- 

*Max William D'Costa| User Interface Designer| netdecisions*
6th Floor, MET Building, Bandra Reclamation, Mumbai-400050
t +(91) 22 2644 /2642 8337 Extn. 153 f +(91) 22 2644
http://www.netdecisions.com http://www.netdecisions.com/
[EMAIL PROTECTED]
- 

 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]