Hi,
The parameters you mention provide properties for a border, if it is present. Its presence is determined by the attributes on the table XML element. Does your table have a frame="none" attribute, by any chance? Likewise, row rules are controlled by the attribute rowsep="1", and column rules by colsep="1".

Bob Stayton
Sagehill Enterprises
b...@sagehill.net


----- Original Message ----- From: "Fabien Tillier" <f.till...@cerep.fr>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, July 06, 2010 6:49 AM
Subject: [docbook-apps] XSL-FO Customization: Table


Hi List.
I am trying to generate PDF from my DocBook XML
So far, I generated something really plain, and I would like to have
things look better.
So, customization of the xsl-fo stylesheets.
My problem is that, no matter how I set the parameters, I can't get the
table to have borders.
In my custom stylesheet, I set

<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param>
<xsl:param name="table.frame.border.style">solid</xsl:param>
<xsl:param name="table.frame.border.color">#808080</xsl:param>
<xsl:param name="table.cell.border.thickness">1pt</xsl:param>
<xsl:param name="table.cell.border.style">solid</xsl:param>
<xsl:param name="table.cell.border.color">dark</xsl:param>

But nothing happens on the generated PDF..
(and parameters are read as I have a <xsl:param
name="paper.type">A4</xsl:param> that is used, at least in the xsl-fo
result).

In the xsl-fo, I have
<fo:table table-layout="fixed" width="100%" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black">
Thus, I would expect the PDF to have something with borders...
Any hint, gentlemen ?

I am using saxon9he, FOP0.95
Thanks in advance
Regards,
Fabien


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org




---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to