Bug 13347 - fo:table with inline-progression-dimension in %
Summary: fo:table with inline-progression-dimension in %
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: 0.20.4
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-06 17:12 UTC by Michael
Modified: 2012-04-01 06:31 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2002-10-06 17:12:18 UTC
According to specification: http://www.w3.org/TR/xsl/slice6.html#fo_table
it should be possible to enter a procentage as inline-progression-dimension:

<fo:table table-layout="fixed" inline-progression-dimension="100%" >		
...

in the spec. it says under a Note:
-----------------------------------
The use of the "proportional-column-width()" function is only permitted when 
the fixed table layout is used.

If the use of proportional column widths are desired on a table of an unknown 
explicit width, the inline-progression-dimension cannot be specified to 
be "auto". Instead, the width must be specified as a percentage. For example, 
setting table-layout="fixed" and inline-progression-dimension="100%" would 
allow proportional column widths while simultaneously creating a table as wide 
as possible in the current context.

---
however when using FOP with a % it gives an ERROR:

[INFO] FOP 0.20.4rc
[INFO] building formatting object tree
[ERROR] Error in inline-progression-dimension property value '100%': 
org.apache.fop.fo.expr.PropertyException: No conversion defined
[INFO] [1]
[ERROR] At least one of minimum, optimum, or maximum IPD must be specified on 
table.
[INFO] Parsing of document complete, stopping renderer
Comment 1 Andreas L. Delmelle 2007-02-18 03:00:27 UTC
Bugzilla cleanup:

Specifying inline-progression-dimension="100%" works in FOP 0.93/Trunk
Comment 2 Glenn Adams 2012-04-01 06:31:09 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed