-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/02/2011 02:42 PM, Bob Stayton wrote:
> Hi Robin, It sounds like what you are missing is an XSL-FO
> processor that supports the table-layout="auto" value for tables,
> which will size columns automatically to fit short data.
> Unfortunately, FOP does not support the "auto" value, and so
> requires tables to have table-layout="fixed", which when column
> widths are not specified results in equal column widths. Both XEP
> and Antenna House support table-layout="auto", which is actually
> the default value for that property in the specification.
That reminds me, is there any reason not to make table-layout="fixed"
the default for fop users?
<xsl:attribute-set name="table.table.properties">
<xsl:attribute
name="border-before-width.conditionality">retain</xsl:attribute>
<xsl:attribute name="border-collapse">collapse</xsl:attribute>
<xsl:attribute name="table-layout">
<xsl:choose>
<xsl:when test="$fop.extensions != 0 and $fop1.extensions !=
0">fixed</xsl:when>
<xsl:otherwise>auto</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:attribute-set>
This would avoid messages like the following from fop:
WARNING: The following feature isn't implemented by Apache FOP, yet:
table-layout="auto" (on fo:table) (See position 1371:1364)
Dec 2, 2011 3:03:46 PM org.apache.fop.events.LoggingEventListener
processEvent
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJO2UXyAAoJEMHeSXG7afUhJu8H/0GquT/P4yIrZH1mq/vCZVjO
HTJzUdDVZbJVvpX+CYI+U9J1wdDoaKza5IugvkL+DM5a/t4EXM9x7jfmckPFTzCJ
92+6mvigovzq+qHy0Y/5CzIQ9DmBHqjFuXa+Ucux+ejGyD6+UIAIjn+ChaB2Sdky
7S4tX2aTGEfOZ6soINa9blR+NkWvubrRwC0oRFMzqnutAm0Ft7G64QXv7pAuCEzT
muUPDyDBX0RZoSdnKGt2E5qnVPyvCqwLTUEBBnrtemx+PM5iljWMpnUWWXtbBeXn
lpvURn4xjOWNzlQaUV1ILeE66kCxa9HinfJ163EMm9m0cH1XDnOepRLg7fnij3Q=
=CwQV
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]