css2xslfo-support Mailing List for CSSToXSLFO (Page 9)
Brought to you by:
wdonne
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(9) |
Apr
(6) |
May
(24) |
Jun
(14) |
Jul
|
Aug
(4) |
Sep
|
Oct
(1) |
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(4) |
Mar
(17) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
(2) |
2007 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(11) |
Jul
(2) |
Aug
(6) |
Sep
|
Oct
(1) |
Nov
(7) |
Dec
(5) |
2008 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
(12) |
Jul
(2) |
Aug
(4) |
Sep
(5) |
Oct
(21) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(16) |
Oct
|
Nov
|
Dec
|
From: <wer...@re...> - 2005-03-25 12:54:59
|
Andreas, Xalan should be added to the boot class path. You do that as follows: java -Xbootclasspath/p:<xalan.jar> -jar css2xslfo.jar /home/ajung/test.html Regards, Werner. Andreas Jung wrote: > Jup. > > --On Freitag, 25. März 2005 13:38 Uhr +0100 Werner Donné > <wer...@re...> wrote: > >> Hi Andreas, >> >> Is it JDK 1.5 you are using? >> >> Werner. >> >> Andreas Jung wrote: >> >>> >>> Trying to convert a simple XHTML fails (also when I added xalan.jar to >>> $CLASSPATH): >>> >>> >>> java -jar css2xslfo.jar /home/ajung/test.html >>> Exception in thread "main" >>> javax.xml.transform.TransformerFactoryConfigurationError: Provider >>> org.apache.xalan.processor.TransformerFactoryImpl not found >>> at >>> javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.ja >>> va:109) >>> >>> at >>> be.re.css.CSSToXSLFOFilter.loadStyleSheet(CSSToXSLFOFilter.java:211) >>> at be.re.css.CSSToXSLFOFilter.<clinit>(CSSToXSLFOFilter.java:39) >>> at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:112) >>> at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) >>> >>> >>> Any ideas? >>> >>> Andre >>> as >> >> >> -- >> Werner Donné -- Re BVBA >> Engelbeekstraat 8 >> B-3300 Tienen >> tel: (+32) 486 425803 e-mail: wer...@re... > > > > -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Grzegorz M. <cs...@wp...> - 2005-03-25 12:47:33
|
Andreas Jung wrote: > > Trying to convert a simple XHTML fails (also when I added xalan.jar to $CLASSPATH): > > > java -jar css2xslfo.jar /home/ajung/test.html > Exception in thread "main" javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found > at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:109) > at be.re.css.CSSToXSLFOFilter.loadStyleSheet(CSSToXSLFOFilter.java:211) > at be.re.css.CSSToXSLFOFilter.<clinit>(CSSToXSLFOFilter.java:39) > at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:112) > at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) > > > Any ideas? > > Andreas I think that you're using Java 5. In this version Sun people have changed some packages and (I'm not sure, but..) xalan has been removed (or moved:). You have to download below files: - xalan, avalon-framework, xercesImpl, batik But I'm not sure about this libraries. Put them into your classpath and everything should be ok. Grzegorz Makosa > |
From: Andreas J. <li...@an...> - 2005-03-25 12:40:34
|
Jup. --On Freitag, 25. M=E4rz 2005 13:38 Uhr +0100 Werner Donn=E9=20 <wer...@re...> wrote: > Hi Andreas, > > Is it JDK 1.5 you are using? > > Werner. > > Andreas Jung wrote: >> >> Trying to convert a simple XHTML fails (also when I added xalan.jar to >> $CLASSPATH): >> >> >> java -jar css2xslfo.jar /home/ajung/test.html >> Exception in thread "main" >> javax.xml.transform.TransformerFactoryConfigurationError: Provider >> org.apache.xalan.processor.TransformerFactoryImpl not found >> at >> javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.ja >> va:109) >> >> at >> be.re.css.CSSToXSLFOFilter.loadStyleSheet(CSSToXSLFOFilter.java:211) >> at be.re.css.CSSToXSLFOFilter.<clinit>(CSSToXSLFOFilter.java:39) >> at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:112) >> at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) >> >> >> Any ideas? >> >> Andre >> as > > -- > Werner Donn=E9 -- Re BVBA > Engelbeekstraat 8 > B-3300 Tienen > tel: (+32) 486 425803 e-mail: wer...@re... |
From: <wer...@re...> - 2005-03-25 12:39:30
|
Hi Andreas, Is it JDK 1.5 you are using? Werner. Andreas Jung wrote: > > Trying to convert a simple XHTML fails (also when I added xalan.jar to > $CLASSPATH): > > > java -jar css2xslfo.jar /home/ajung/test.html > Exception in thread "main" > javax.xml.transform.TransformerFactoryConfigurationError: Provider > org.apache.xalan.processor.TransformerFactoryImpl not found > at > javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:109) > > at > be.re.css.CSSToXSLFOFilter.loadStyleSheet(CSSToXSLFOFilter.java:211) > at be.re.css.CSSToXSLFOFilter.<clinit>(CSSToXSLFOFilter.java:39) > at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:112) > at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) > > > Any ideas? > > Andre > as -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Andreas J. <li...@an...> - 2005-03-25 12:30:06
|
Trying to convert a simple XHTML fails (also when I added xalan.jar to=20 $CLASSPATH): java -jar css2xslfo.jar /home/ajung/test.html Exception in thread "main"=20 javax.xml.transform.TransformerFactoryConfigurationError: Provider=20 org.apache.xalan.processor.TransformerFactoryImpl not found at=20 javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:1= 09) at=20 be.re.css.CSSToXSLFOFilter.loadStyleSheet(CSSToXSLFOFilter.java:211) at be.re.css.CSSToXSLFOFilter.<clinit>(CSSToXSLFOFilter.java:39) at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:112) at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) Any ideas? Andreas |
From: <wer...@re...> - 2005-03-21 12:55:11
|
Hi Jonathan, This is a bug. Thank you for reporting it. Patch 1167534 has been introduced to fix it. Regards, Werner. -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: <wer...@re...> - 2005-03-21 10:55:23
|
Hi Grzegorz, I don't think there is another way to make an element unbreakable. Starting a new page can be done through named pages (with the page property). It is, of course, cumbersome, because you have to place <div style="page: a_name"> elements below the body element. The CSS2 named page feature switches to a named page if it encounters a new one, so you would need at least two of them and toggle between them. Werner. -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Jonathan F. <jfr...@co...> - 2005-03-17 21:09:31
|
Hi. =20 The following two forms work in Firefox, but not in css2xslfo: =20 group > unrestricted:first-child:before, restricted:first-child:before, command:first-child:before { content: ""; margin-left: 0 } or group > unrestricted:first-child:before, group > restricted:first-child:before, group > command:first-child:before { = content: ""; margin-left: 0 } =20 The point being to override the following for first-child: =20 unrestricted:before, restricted:before, command:before { content: ","; margin-left: -0.25em } =20 I'm a real beginner at this, so if you can suggest a better way of = writing ', '.join() in css2 that works, I'm happy to go with that. =20 Jonathan =20 |
From: Grzegorz M. <cs...@wp...> - 2005-03-17 12:55:29
|
Hello, I've tried transform code below to PDF using CSS2XSLFO and FOP: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Page</title> <style type="text/css"> @media print { p.first{ page-break-after: always; } p.second { page-break-before: always; } } </style> </head> <body> <p class="first">FIRST</p> <p class="second">SECOND</p> <p>THIRD</p> </body> </html> But as Werner said, FOP doesn't support page-break-* attribute. Somewhere there is XEP, but it costs too much and it's impossible for me to use it. So there is only one combination for me to get PDF from XHTML: CSS2XSLFO + FOP. Is there any other way to: - make any xhtml element unbreakable - force page breaking in any way ?? Grzegorz Makosa |