[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Centering tables in XLFO

Subject: Re: Centering tables in XLFO
From: "Jost Klopfstein" <jost@xxxxxxxxxxxx>
Date: Wed, 14 Feb 2007 08:58:09 -0800
Re:  Centering tables in XLFO
With the current XEP implementation you have to use a table within a table in order to center a table with variable width on a page.
see
http://www.renderx.net/lists/xep-support/1444.html


Cheers, Jost

Jost Klopfstein
Axos Technologies
Visit us at http://www.axostech.com
and http://www.FormMapper.com with free a trial version

----- Original Message ----- From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, February 14, 2007 7:41 AM
Subject: Re: Centering tables in XLFO



At 2007-02-14 07:13 -0800, ms wrote:
I posted this question on the XSLFO group as well, I
would like to center a table using XSLFO and
<fo-table-and-caption text-align="center"> does not
work with XEP. Does anybody have any idea on how to do
this other than start-indent and end-indent? Any
suggetion/help is appreciated.

Eliot Kimber really does know what he is talking about; you should listen to him like I do. I've learned a lot from him.


I, too, found on my own to use text-align="center" in Antenna House and start-indent=, end-indent= in XEP.

If you want text-align="center" in XEP, then you could ask the vendor for it in order to indicate there is growing interest in having it supported.

If you want to use text-align="center", that indicates that you do not know the width of the table, because if you did know the width of the table, then the indent is easily calculated as half of the difference between the width and the parent area. In my production work I have rarely (if ever) used automatically-calculated table widths because the automatically-calculated column widths are calculated by vendor-specific algorithms. In production work I typically know precisely what my table widths are, so I can center them using either tool.

I hope this helps.

. . . . . . . . . . . . . Ken

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.