[xep-support] RenderX Xep 4.23 <fo:table-and-caption text-align="center"> support

From: E. Loralon <eloralon@yahoo.com>
Date: Thu Nov 13 2014 - 13:12:36 PST

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,54651ed210101360090021!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Thu Nov 13 13:11:48 2014

This archive was generated by hypermail 2.1.8 : Thu Nov 13 2014 - 13:11:55 PST