[xep-support] width of a centered table

From: Stefan Weber <SW0@gmx.de>
Date: Tue Nov 13 2007 - 07:28:06 PST

Hi,

I am using XEP 4.10 build 20070727.
I have to put a table centered inside another table cell.
This is working so far if the inner table has one column
but it fails if the inner table has two or more columns.
Is there any way to get rid of the unnecessary linebreaks
in the second table?

Thanks
Stefan

Example code:
<fo:table table-layout="fixed">
  <fo:table-column column-width="4in"/>
    <fo:table-body text-align="center">
      <fo:table-row>
        <fo:table-cell border="thin solid red">

<fo:table table-layout="fixed">
  <fo:table-column column-width="proportional-column-width(0.01)"/>
  <fo:table-column/>
  <fo:table-column column-width="proportional-column-width(0.01)"/>
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell/>
      <fo:table-cell>

        <fo:table>
          <fo:table-body text-align="center">
            <fo:table-row>
              <fo:table-cell border="thin solid black">
              <fo:block>THIS IS A LONG TEXT THIS IS A LONG TEXT</fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-body>
        </fo:table>

      </fo:table-cell>
      <fo:table-cell/>
    </fo:table-row>
  </fo:table-body>
</fo:table>

<fo:table table-layout="fixed">
  <fo:table-column column-width="proportional-column-width(0.01)"/>
  <fo:table-column/>
  <fo:table-column column-width="proportional-column-width(0.01)"/>
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell/>
      <fo:table-cell>

        <fo:table>
          <fo:table-body text-align="center">
            <fo:table-row>
              <fo:table-cell border="thin solid black">
                <fo:block>THIS IS A LONG TEXT</fo:block>
              </fo:table-cell>
              <fo:table-cell border="thin solid black">
                <fo:block>THIS IS A LONG TEXT</fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-body>
        </fo:table>

      </fo:table-cell>
      <fo:table-cell/>
    </fo:table-row>
  </fo:table-body>
</fo:table>

      </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Nov 13 08:19:26 2007

This archive was generated by hypermail 2.1.8 : Tue Nov 13 2007 - 08:19:32 PST