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

Linebreaks in TOC

Subject: Linebreaks in TOC
From: Gustaf Liljegren <gustaf.liljegren@xxxxxx>
Date: Thu, 25 Jan 2001 13:34:31 +0100
linebreak im toc
I have a TOC made of two columns, with headings, dotted leaders and
page-numbers. In a certain case, a line-break cause the page number to be
stretched out in one line. Found three cases:

1. The line does not need a line-break. This is okay.

Blah blah blah bl.......12

2. The line needs a line-break, but the header is more than one row. This
is okay too.

Blah blah blah blah blah
blah blah...............12

3. There is enough room for the header, but not for the page-number.

Blah blah blah blah blah..
1                        2

If there is no room for the page number, the last word in the header should
be moved to the next line, like this:

Blah blah blah blah
blah....................12

This has been very hard to achieve. Is it even possible to make such an
expression in FO syntax?

Gustaf


 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.