This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Units in fo -> rtf using jfor


On Tue, Aug 27, 2002 at 10:25:17PM +0200, Ekkehard Goerlach wrote:
> 
> I would like to transform a fo file generated with the 1.53 XSL
> stylesheets to rtf. When I use jfor I get the message:
> 
> jfor V0.7.1 - see http://www.jfor.org
> Creating input and output objects...
> Converting XSL:FO file 'novalis.fo' to RTF output 'novalis.rtf'...
> jfor.INFO:jfor V0.7.1 - setting up conversion...
> jfor.INFO:Parsing xsl:fo document...
> org.xml.sax.SAXException: IOException in IBuilder:
> org.jfor.jfor.converter.ValueConversionException:
>  conversion factor not found for '%' units
> 
> Is there a XSL parameter to tell the XSLT not to use '%' units in the
> output ? 

There's no single parameter. In 1.53.0, the running headers
and footers are created as tables, and the table column
widths are specified as percentages.  You could create a
stylesheet customization layer and customize the templates
named 'header.table' and 'footer.table' to change the units
from percentages to a calculated value.  Those templates
are in fo/pagesetup.xsl.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]