xsl-list
[Top] [All Lists]

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

2013-02-01 08:17:09
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(_at_)CraneSoftwrights(_dot_)com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>