Hi,

I was wondering if there is another way than the one below to set the
padding for all the cells of a given table at once.

I created an "attribute-set":

<xsl:attribute-set name="foCellAttributeSet">
        <xsl:attribute name="padding-right">2mm</xsl:attribute>
        <xsl:attribute name="padding-left">2mm</xsl:attribute>
        <xsl:attribute name="padding-top">2mm</xsl:attribute>
        <xsl:attribute name="padding-bottom">2mm</xsl:attribute>
</xsl:attribute-set>

and I associated it to each cell of the table:

<fo:table-cell xsl:use-attribute-sets="foCellAttributeSet">
        [...]
</fo:table-cell>

Is it the proper way to do that?

Thank you and best regards.
-- 
View this message in context: 
http://old.nabble.com/Set-the-padding-for-all-the-cells-of-a-given-table-at-once-tp33981242p33981242.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to