Avatar of ank5
ank5
Flag for India asked on

How does proportional-column-width work in xsl fo

How does proportional-column-width work? In the below example, what would 1 or 3.5 or 2 mean? Should these total to 10 which would make it 100%? or should I be specifying percentages instead?

<fo:table-column column-width="proportional-column-width(1)"/>
						<fo:table-column column-width="proportional-column-width(3.5)"/>
						<fo:table-column column-width="proportional-column-width(.8)"/>
						<fo:table-column column-width="proportional-column-width(2)"/>
						<fo:table-column column-width="proportional-column-width(1)"/>
						<fo:table-column column-width="proportional-column-width(2)"/>
						<fo:table-column column-width="proportional-column-width(1.5)"/>

Open in new window

* XSLXML

Avatar of undefined
Last Comment
Gertone (Geert Bormans)

8/22/2022 - Mon
Gertone (Geert Bormans)

It is "proportional" compared to the other columns
the fourth column will have twice the width of the fifth column
as 2 to 1 in the proportional width

basically you can add all the proportional widths together, divide 100 by that total and for each column multiply by the proportional width value to get the % width
ank5

ASKER
Is it possible to simply specify %?
Gertone (Geert Bormans)

yes as width on the column
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
Gertone (Geert Bormans)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.