[xep-support] RenderX Xep 4.23 <fo:table-and-caption text-align="center"> support
E. Loralon
eloralon at yahoo.com
Thu Nov 13 13:12:36 PST 2014
Hello,
I am using RenderX Xep 4.23.355 with the following fo file to implement table align center.
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="sample">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="sample">
<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:inline>
Test content.
</fo:inline>
</fo:block>
<fo:table-and-caption text-align="center">
<fo:table width="100pt" table-layout="fixed" text-align="start"
border="solid 1pt">
<fo:table-column column-width="100pt"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>This table needs to be centered.</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-and-caption>
</fo:flow>
</fo:page-sequence>
</fo:root>
The above code does not work when I generate a pdf from file even though it should.
Can you please assist in fixing this issue to center align tables in my pdf? It is a requirement for that I have to meet please.
I tried the approach of nesting my tables inside another table but then my PDF becomes non compliant with section 508 due to the fact that the outer tables are missing table header.
Thanks.
!DSPAM:87,54651ed210108999813229!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20141113/2830ec9e/attachment-0001.html>
More information about the Xep-support
mailing list