OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] XSL-FO Customization: Table

Hi Bob. You are perfectly right :( <- Blushing
My XML table is indeed defined with the frame="none" attribute (and the same rowsep/colsep)
Thanks for pointing me to that...

Best regards,

-----Message d'origine-----
De : Bob Stayton [mailto:bobs@sagehill.net] 
Envoyé : mardi 6 juillet 2010 22:14
À : Fabien Tillier; docbook-apps@lists.oasis-open.org
Objet : Re: [docbook-apps] XSL-FO Customization: Table

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

----- Original Message ----- 
From: "Fabien Tillier" <f.tillier@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

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

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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]