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

Kevin Brown kevin at renderx.com
Thu Nov 13 13:50:34 PST 2014


XEP does not support text-align on fo:table-and-caption.

I will need to think it through how to accomplish this and retain Section
508 compliance.

I can see how to do it in customizing the XEP Intermediate Format which may
be the only solution.

But I can test to see if the structures can be marked as formatting
Artifacts in the outer table.

 

 

Kevin Brown

(650) 327-1000 Direct

(650) 328-8008 Fax

(925) 395-1772 Mobile

skype:kbrown01

 <mailto:kevin at renderx.com> kevin at renderx.com

 <mailto:sales at renderx.com> sales at renderx.com

 <http://www.renderx.com> http://www.renderx.com 

 

 

 

From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of E.
Loralon
Sent: Thursday, November 13, 2014 1:13 PM
To: 'RenderX Community Support List'; RenderX Community Support List
Subject: [xep-support] RenderX Xep 4.23 <fo:table-and-caption
text-align="center"> support

 

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! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20141113/2240216a/attachment-0001.html>


More information about the Xep-support mailing list