How can I put differents footers on odd even pages?

2002-07-19 Thread Jean-François Selber

How can I put differents footers on odd  even pages? 
All pages must be in the same sequence.

Thanks.



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




pb FOP 0.20 and servlet

2002-03-21 Thread Jean-François Selber

somebody can help me?
I used FOP 0.20.1 and I want to call a servlet to add an image in my pdf
document

FOP code:
fo:block
fo:external-graphic
src=url:http://titane.oxymel.com:8080/statsfeftt/StatsDepartement?typeStats
=graph13mois height=3.41cm width=23.81cm/
/fo:block

bug:
Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null/statsfeftt/StatsDepartement?typeStats=graph13mois

there is no problem when I do:
fo:block
fo:external-graphic
src=url:http://titane.oxymel.com:8080/statsfeftt/images/chrono2.jpg;
height=3.41cm width=23.81cm/
/fo:block
but it is not what I want to do :-)

Thanks a lot
Jean-Francois Selber






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




Re: [vote] Merging JFor with FOP

2001-10-20 Thread Jean-François SELBER

I think, it's a very good idea.

jf

- Original Message - 
From: Stefano Mazzocchi [EMAIL PROTECTED]
To: FOP [EMAIL PROTECTED]
Cc: Bertrand Delacretaz [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 2:58 PM
Subject: [vote] Merging JFor with FOP


 Hi people,
 
 recently, some code was donated to the Apache Cocoon project in order to
 connect it with JFor (www.jfor.org) which is a FO-RTF processor.
 
 It appeared evident to me (and to others, as I discovered later) that
 jfor and FOP are doing different things but could be an advantage for
 both jfor developers, jfor users, FOP users and FO visibility in general
 to join forces.
 
 Bertrand, here attached, is the main developer behind the project and he
 already agreed on donating the code to the ASF. 
 
 IMO, rather than creating another project, it would be best to merge
 jfor code with FOP to allow yet another (and widely used) binary format
 to render FO in. 
 Technical details are not that important at the moment, but Bertrand
 already stated his flexibility in reshaping jfor code in order to make
 it easier/cleaner/more-manageable the merging.
 
 This said, in order for the donation to take place, I'm officially
 requesting a vote from the FOP developers community. The Apache XML PMC
 is already informed and will accept any position taken by the community.
 
 So, here it is, please vote on the following question:
 
 would you like to accept jfor code and give Bertand Delacretaz committer
 status in order to perform the merging on the FOP code following the
 technical directions that the FOP dev community will find more
 appropriate?
 
 I remind that only people with committer status are entitled to place a
 binding vote, but I suggest everybody on this list to express their vote
 and, in case of negative vote, explain their reasons so that we can
 properly deal with them.
 
 Thanks to all.
 
 Stefano.
 
 P.S. Sorry for the formality, people but this is legal stuff so I'm
 required to wear my ASF member hat :)
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


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




Re: NullPointerException. Can someone help me?

2001-09-06 Thread Jean-François Selber

I have found the solution
thanks to all

- Message d'origine -
De : Jean-François Selber [EMAIL PROTECTED]
À : [EMAIL PROTECTED]
Envoyé : jeudi 6 septembre 2001 15:10
Objet : NullPointerException. Can someone help me?


 I try to use fop (0.20.1) API
 (not by command line)

 Library in path:


xsltc.jar;runtime.jar;JLex.jar;java_cup.jar;BCEL.jar;xerces.jar;xalan.jar;fo
 p.jar;w3c.jar;rt.jar;batik.jar;jimi-1.0.jar

 code:

 Driver driver = new Driver(new InputSource(foReader), pdfOutputStream);
 driver.setRenderer(Driver.RENDER_PDF);
 driver.run();

 resultat:

 FATAL ERROR : null
 java.lang.NullPointerException
  at
 org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java,
 Compiled Code)
  at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
  at org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
  at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java, Compiled
 Code)
  at org.apache.fop.apps.Driver.init(Driver.java:189)
  at org.apache.fop.apps.Driver.init(Driver.java:193)

 Can someone help me?
 thanks


 - Message d'origine -
 De : COFFMAN Steven [EMAIL PROTECTED]
 À : [EMAIL PROTECTED]
 Envoyé : jeudi 30 août 2001 17:35
 Objet : RE: NullPointerException


  So you're using FOP 0.20.1, you've got fop.jar, batik.jar, xerces.jar,
  xalan.jar, and jimi.jar in your classpath, right?
 
  One way to do it, is to embed FOP according to website:
  http://xml.apache.org/fop/embedding.html
 
  Which describes this:
 
  Driver driver = new Driver(new InputSource (args[0]),
 new FileOutputStream(args[1]));
  driver.setRenderer(RENDER_PDF);
  driver.run();
 
  However, if you can't do it this way, you need to provide more
information
  than what you did for anyone to be able to help.
  -Steve
  -Original Message-
  From: Jean-François Selber [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 30, 2001 9:45 AM
  To: [EMAIL PROTECTED]
  Subject: NullPointerException
 
 
  can someone help me?
 
  thanks
 
  
  
Driver driver = new Driver();
   
java.lang.NullPointerException
 at
   
 
org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java,
Compiled Code)
 at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
 at org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
 at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java,
  Compiled
Code)
 at org.apache.fop.apps.Driver.init(Driver.java:189)
   
what can I do?
   
thanks
jf
   
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]


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


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




help: NullPointerException using when using new Driver()

2001-08-30 Thread Jean-François Selber

Driver driver = new Driver();

java.lang.NullPointerException
 at
org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java,
Compiled Code)
 at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
 at org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
 at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java, Compiled
Code)
 at org.apache.fop.apps.Driver.init(Driver.java:189)

what can I do?

thanks
jf


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




NullPointerException using when using new Driver() fop 0.20.1

2001-08-30 Thread Jean-François Selber

soory it was with fop 0.20.1

- Message d'origine -
De : Jean-François Selber [EMAIL PROTECTED]
À : [EMAIL PROTECTED]
Envoyé : jeudi 30 août 2001 11:01
Objet : help: NullPointerException using when using new Driver()


 Driver driver = new Driver();

 java.lang.NullPointerException
  at
 org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java,
 Compiled Code)
  at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
  at org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
  at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java, Compiled
 Code)
  at org.apache.fop.apps.Driver.init(Driver.java:189)

 what can I do?

 thanks
 jf



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




fo:table-column column-width=3cm/

2001-08-30 Thread Jean-François Selber

why column-width cannot be in percentage in a table like this:

fo:table-column column-width=25%/ ?

thanks in advance


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




NullPointerException

2001-08-30 Thread Jean-François Selber

can someone help me?

thanks



  Driver driver = new Driver();
 
  java.lang.NullPointerException
   at
 
org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java,
  Compiled Code)
   at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
   at org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
   at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java,
Compiled
  Code)
   at org.apache.fop.apps.Driver.init(Driver.java:189)
 
  what can I do?
 
  thanks
  jf
 


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


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