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: [docbook-apps] colwidth not processed for fo


This is a limitation of FOP.  It cannot process percentage values
for table column widths.  When using FOP, you will have better luck
when you turn off tablecolumns.extension.  Then the stylesheet
will use the proportional-column-width( ) function, which FOP
does support.  I'm not sure why the FOP folks never got around
to converting a proportional value to a percentage, as that is a
trivial calculation, but I guess
that feature is waiting for version 1.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Sean Wheller" <seanwhe@yahoo.com>
To: "docbook apps" <docbook-apps@lists.oasis-open.org>
Sent: Friday, January 02, 2004 1:01 AM
Subject: [docbook-apps] colwidth not processed for fo


>
> Hi,
>
> I've seen several postings in the archives on the
> colwidth problem, I cannot seem to make it work.
>
> Platform:
> SuSE 9.0
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.4.2-b28)
>
> Tool Chain:
> Saxon 6.5.3
> Apache FOP 0.20.5
> XSL 1.62.4
>
> *Extension for Saxon in CLASS_PATH = saxon651.jar
>
> Cust layer imports fo/docbook.xsl:
> <xsl:import href="./xsl/fo/docbook.xsl"/>
>
> Cust layer enables extensions:
> <xsl:param name="use.extensions" select="1"/>
> <xsl:param name="tablecolumns.extension" select="1"/>
> <xsl:param name="saxon.tablecolumns" select="1"/>
>
> Table:
> <table id="1">
>  <title>A Title</title>
>  <tgroup cols="2">
>  <colspec colnum="1" colwidth="1.00*"/>
>  <colspec colnum="2" colwidth="3.00*"/>
>  <thead>
> ...
>
> When transforming I get:
> [ERROR] Error in column-width property value '25%':
> org.apache.fop.fo.expr.PropertyException: No
> conversion defined
> [ERROR] Error in column-width property value '75%':
> org.apache.fop.fo.expr.PropertyException: No
> conversion defined
>
> Table transforms to 50% for colnum 1 & 2.
>
> What could the problem be?
>
> Sean Wheller
>
> __________________________________
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003
> http://search.yahoo.com/top2003
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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