[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How get fixed width for inline FO?


Subject: Re: [xsl] How get fixed width for inline FO?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 01 Feb 2013 09:16:47 -0500

At 2013-02-01 00:40 -0800, Steve Fogel wrote:
I'd like to specify a fixed width for an inline FO

Use fo:inline-container to create an area of a fixed width on a line into which you can place text. You can set properties on the container to accommodate too much text to fit.


Note I've found using line-height="1" and alignment-baseline="after-edge" helpful in using the container seamlessly on the line.

See pages 222-227 of my FO book:

http://www.CraneSoftwrights.com/training/#pfux

with FOP 1.1.

I have no idea if fo:inline-container is supported in FOP 1.1.


It's in a List of Tables in the front matter of a book. For each table in the list, table number area should be fixed width followed by table title.

Can you not just use a two-column table or a list block? That requirement sounds pretty straightforward. Then you wouldn't have to create inline areas.


I hope this helps.

. . . . . . . . Ken

--
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/
G. Ken Holman                   mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


Current Thread
Keywords
xml