It's a bug in FOP. The columns should actually evenly fill up the remaining width, even without the proportional-column-width(1).
On 14.02.2007 17:39:14 Tom Bentley wrote: > I'm having problems getting table columns to fill the table width using > 0.93/Java1.4. > > In particular, I've got: > <fo:table width="100%" table-layout="fixed"> > <fo:table-column column-width="proportional-column-width(1)+30mm"/> > <fo:table-column column-width="proportional-column-width(1)+50mm"/> > <fo:table-column column-width="proportional-column-width(1)+12.5mm"/> > <fo:table-column column-width="proportional-column-width(1)+15mm"/> > <fo:table-body> > ...table-rows and table-cells... > </fo:table-body> > </fo:table> > > What I expected to happen is that each of the columns widths would be at > least the specified absolute length (30,50,12.5,15mm), plus 1/4 of the > difference between the table's width and the sum of those absolute widths. > What I get is that each column is just the specified absolute width > (30,50,12.5,15mm), i.e. proportional-column-width(1) is effectively 0. > > If I try: > <fo:table-column column-width="proportional-column-width(4)"/> > <fo:table-column column-width="50mm"/> > <fo:table-column column-width="12.5mm"/> > <fo:table-column column-width="15mm"/> > I get what I expect, the last three columns are the specified widths, and > the first one takes up all the remaining space. > > Am I misintrpreting the spec, or is this a FOP bug? If the former can anyone > recommend an alternative way to specify column widths in absolute units, and > table widths as a % and have FOP treat the specified column widths a > 'advised minimums', and actually distribute the excess space amongst each of > the columns? > > Many thanks > > Tom Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
