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

Re: FO: blocks beside each other

Subject: Re: FO: blocks beside each other
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 18 Jun 2002 22:25:24 +0200
two tables beside each other
Gustaf Liljegren wrote:
I need to express this in FO:

| | | | | +----------------------------------------+ |
| | ABC-DEF-0521 45 | |
+----+----------------------------------------+----+


It's a page footer with two blocks in, one for page number, one for a
document-id. I use to solve these cases with tables. In this case I'd have
three cells where 1 and 3 have equal sizes, so the page number can be
centered. The question is if there's a more effective way to have to blocks
beside each other than using tables?

No, especially if you want to have the page number centered.


There's a lot of code for something
that appears to be simple.

A wooden rod is simple too, but it ultimately consists of an awful lots of molecules arranged in a very complicated manner. You can go to subatomic levels if you want.

The point is: XSLFO provides basic blocks for describing
a 2D layout. Most stuff embodying higher level concepts
are stripped away and mapped onto combinations of more
basic blocks. Effectivity in the sense of "number of
elements to describe a certain layout" was not a concern.

From this point of view, fo:table is a bit misdesigned,
because it has headers and footers to make the description
of some real "high level" tables easy but is also the
only way to describe a more general "grid" layout block,
which you just encountered.

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.