[xep-support] centered tables

Werner Donné werner.donne at re.be
Tue Aug 29 02:18:59 PDT 2006


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 at 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 at 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 at re.be
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list