i am writing the XSL-FO document and i want to set min-width values for some inline elements. For example, in the following structure
| FirstName: string1 LastName: string2 |
where "string1" and "string2" are data from my XML and "|"'s denotes left and right borders, i want the following results
| FirstName: John LastName: Smith |
| FirstName: LastName: Smith |
| FirstName: SomeVeryVeryLongFirstNameOfSomePerson LastName: Smith |
when respective peoples ("John" "Smith", "" "Smith", "SomeVery..." "Smith") are loaded from XML.
Basicaly i need something like this
<fo:block>
FirstName: <fo:inline min-width="50mm"> <xsl:value-of ...> </fo:inline> LastName: <fo:inline min-width="50mm"> <xsl:value-of ...> </fo:inline>
</fo:block>
but this isn't working (min-width is ignored). I tried min-width on fo:block, tried inline-progression-dimension, block-progression-dimension, some workaround with fo:table but nothing works or i'm doing it wrong. I'm using Apache FOP 1.0.
Can anyone help? Thanks in advance