Bug 3531 - fo:table-column column-number attribute does not work
Summary: fo:table-column column-number attribute does not work
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.17
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-10 11:13 UTC by Chuck
Modified: 2012-04-01 06:59 UTC (History)
0 users



Attachments
test2.fo Demo of failure to process column-number attribute of fo:table-column (9.36 KB, text/plain)
2001-09-18 13:49 UTC, Chuck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck 2001-09-10 11:13:19 UTC
I'm using FOP 0.20.1 on MS Windows

If I use this code to set column widths for a table, the widths are set properly:

<fo:table-column column-width="0.3in" column-number="1"/>
<fo:table-column column-width="0.6in" column-number="2"/>
<fo:table-column column-width="0.4in" column-number="3"/>
<fo:table-column column-width="0.7in" column-number="4"/>
<fo:table-column column-width="1.1in" column-number="5"/>
<fo:table-column column-width="0.3in" column-number="6"/>
<fo:table-column column-width="0.3in" column-number="7"/>
<fo:table-column column-width="0.5in" column-number="8"/>
<fo:table-column column-width="0.5in" column-number="9"/>
<fo:table-column column-width="0.6in" column-number="10"/>
<fo:table-column column-width="0.3in" column-number="11"/>
<fo:table-column column-width="0.4in" column-number="12"/>
<fo:table-column column-width="0.7in" column-number="13"/>

If I use this code, the widths are set as if the column-number attribute were
not included. 
<fo:table-column column-width="0.3in" column-number="1"/>
<fo:table-column column-width="0.3in" column-number="6"/>
<fo:table-column column-width="0.3in" column-number="7"/>
<fo:table-column column-width="0.4in" column-number="3"/>
<fo:table-column column-width="0.7in" column-number="4"/>
<fo:table-column column-width="0.6in" column-number="2"/>
<fo:table-column column-width="1.1in" column-number="5"/>
<fo:table-column column-width="0.5in" column-number="8"/>
<fo:table-column column-width="0.3in" column-number="11"/>
<fo:table-column column-width="0.4in" column-number="12"/>
<fo:table-column column-width="0.7in" column-number="13"/>
<fo:table-column column-width="0.5in" column-number="9"/>
<fo:table-column column-width="0.6in" column-number="10"/>

This behavior seems to be true no matter in which order I place the columns. I
have not tested to see if the behavior is replicated if fewer columns are used.

Chuck Paussa
Comment 1 Chuck 2001-09-18 13:49:31 UTC
Created attachment 577 [details]
test2.fo Demo of failure to process column-number attribute of fo:table-column
Comment 2 klease 2001-09-20 13:38:14 UTC
Fixed in CVS on 20sep2001, should be released in 0.21.0.
Comment 3 Glenn Adams 2012-04-01 06:59:39 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed