Re: [xep-support] centered tables

From: Ettinger, Christian <Christian.Ettinger@3SOFT.de>
Date: Tue Aug 29 2006 - 03:37:53 PDT

Hi Werner,

Thank you for this tip. If I don't find another solution I will have to use this workaround.

But isn't there a better way to align a table? Maybe XEP is misbehaving on this issue? I'm sure the FO authors thought about this thing. Does anybody out there have a better solution than to use a table to align a table?

Cheers,
Christian

-----Original Message-----
From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
To: xep-support@renderx.com
Subject: Re: [xep-support] centered tables

Hi Christian,

This is what I generate for it:

<fo:table table-layout="fixed">
   <fo:table-column column-width="proportional-column-width(1)"/>
   <fo:table-column/>
   <fo:table-column column-width="proportional-column-width(1)"/>
   <fo:table-body>
      <fo:table-row>
         <fo:table-cell>
            <fo:block/>
         </fo:table-cell>
         <fo:table-cell>
            <fo:block>
               <fo:table width="100%">
                  <fo:table-body>
                     <fo:table-row>
                        <fo:table-cell>
                           <fo:block>Cell</fo:block>
                        </fo:table-cell>
                     </fo:table-row>
                  </fo:table-body>
               </fo:table>
            </fo:block>
         </fo:table-cell>
         <fo:table-cell>
            <fo:block/>
         </fo:table-cell>
      </fo:table-row>
   </fo:table-body>
</fo:table>

Regards,

Werner.

Ettinger, Christian wrote:
> Hi,
>
> I am trying to generate tables with XEP that do not span the whole page and get center-aligned.
> With an fo:external-graphic I can set text-align="center" on the surrounding fo:block. I assumed the same would work for tables, but it did not:
>
> <fo:block text-align="center">
> <fo:table width="auto">
> <fo:table-column column-number="1" column-width="2cm"/>
> <fo:table-column column-number="2" column-width="4cm"/>
> <fo:table-body>
> ...
> </fo:table-body>
> </fo:table>
> </fo:block>
>
> I tried several ways and searched a lot of websites, but I could not get it work.
> Is this possible in general?
> Can anybody tell me how this can be achieved?
>
> Thanks in advance,
> Christian
>
> --
> Dipl.-Ing. (FH) Christian Ettinger, OSEK Business Division 3SOFT GmbH
> - Member of the Elektrobit Group, Frauenweiherstraße 14, 91058
> Erlangen, Germany
> Phone: +49 - 9131 - 7701-249 mailto:christian.ettinger@3SOFT.de
> Fax: +49 - 9131 - 7701-333 http://www.3SOFT.de <http://www.3soft.de/>
>
>
> -------------------
> (*) 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
>
>

--
Werner Donné  --  Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
-------------------
(*) 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
-------------------
(*) 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 Aug 29 03:41:52 2006

This archive was generated by hypermail 2.1.8 : Tue Aug 29 2006 - 03:41:56 PDT