Next in thread → Next in month →

Re: [docbook-apps] Table to pdf - Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException

From
Bob Stayton <>
Date
2011-10-08T22:12:55+00:00
ID
005001cc8607$5fcc7670$6500a8c0@pazu
Thread
Re: [docbook-apps] Table to pdf - Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException
Hi Lars,

Are you setting the stylesheet param 
'fop1.extensions' to 1?  That param is required to workaround some of 
the limitations of fop 1.0.

 

Bob Stayton
Sagehill Enterprises


 

 

  
----- Original Message ----- 

  
From: 
  Lars Vogel 

  
To: DocBook Apps 

  
Sent: Saturday, October 08, 2011 2:54 
  PM

  
Subject: [docbook-apps] Table to pdf - 
  Invalid property value encountered in 
  column-width="proportional-column-width(1)": 
  org.apache.fop.fo.expr.PropertyException

  

Hello,
  

  
If I add a table to my docbook document and convert it to pdf I receive 
  several of the following error messages:

  

  
[fop] SCHWERWIEGEND: Invalid property value encountered in 
  column-width="proportional-column-width(1)": 
  org.apache.fop.fo.expr.PropertyException: 
  file:/C:/Users/D034797/workspace/vogella/de.vogella.docbook.first/output/temp/article2.fo:4:408: 
  proportional-column-width() function may only be used when fo:table has 
  table-layout="fixed".; property:'column-width' (Siehe Position 4:453)

  

  

  
Googling for this error lead to http://lists.oasis-open.org/archives/docbook-apps/201008/msg00143.html. 
  According to this discussion the 1.76.1 XSL  stylesheets should not have 
  this error anymore if I understand it correctly.

  

  
The table looks like the following:

  

  

  
<table frame='all'>

  
<title>Sample Table</title>

  
<tgroup 
  cols='2' align='left' colsep='1' rowsep='1'>

  
<colspec 
  colname='c1' />

  
<colspec 
  colname='c2' />

  
<thead>

  
<row>

  
<entry>a4</entry>

  
<entry>a5</entry>

  
</row>

  
</thead>

  
<tfoot>

  
<row>

  
<entry>f4</entry>

  
<entry>f5</entry>

  
</row>

  
</tfoot>

  
<tbody>

  
<row>

  
<entry>b1</entry>

  
<entry>b2</entry>

  
</row>

  
<row>

  
<entry>d1</entry>

  
<entry>d5</entry>

  
</row>

  
</tbody>

  
</tgroup>

  
</table>

  

  

  
Is this a different error in the stylesheets or am I'm making something 
  wrong? 

  

  
Best regards, Lars
-- 
Lars
http://www.vogella.de - Eclipse, Android and Java 
  Tutorials
http://www.twitter.com/vogella - Lars on 
Twitter
Next in thread → Next in month →