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

Re: How to achieve FO Table variable width with nowrap

Subject: Re: How to achieve FO Table variable width with nowrap on cells
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Tue, 27 Jan 2009 10:05:13 -0700
Re:  How to achieve FO Table variable width with nowrap
Thanks for the help on this!

On Mon, Jan 26, 2009 at 6:28 PM, G. Ken Holman
<gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> At 2009-01-25 18:12 -0700, Karl Stubsjoen wrote:
>> It seems that I am having success with a table defined like this:
> Good ... I had a typo in my response to you and you are correctly using
> table-layout="auto" (the default).
>> <table>
>>  <table-body border-bottom="solid 1px #000">
>>    <table-row>
>>        <table-cell><block>Label Cell:</block></table-cell>
>>        <table-cell><block padding-left=".05in">Value
>> Cell</block></table-cell>
>>    </table-row
>>  </table-body>
>> </table>
>> Is it correct to assume that the table width will derive from the
>> total width of content (until it reaches parent object boundary
>> width)?
> No, because with "auto" the formatter has every right to make its own
> decisions about line breaks.
>> Or to be safe, should I conform with your option #1?
> I've always used the wrappers just to be on the safe side.
>> On Sun, Jan 25, 2009 at 4:50 PM, G. Ken Holman
>> <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
>> > (1) - use table-layout="fixed" and wrap the content of each cell in a
>> > block
>> > keeping the line contents together with something like
>> > wrap-option="no-wrap"
>> > or with a keep-together.within-line= to force the formatter to make its
>> > table column decisions without breaking the line content
> Sorry, in the above I meant to say table-layout="auto" but was apparently
> thinking about the other values that are not appropriate when I actually was
> doing the typing.
> I hope this helps.
> . . . . . . . . . .  Ken
> --
> Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
> :  Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
> Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
> Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
> Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
> G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
> Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
> Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
> Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread


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.
First Name
Last Name
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.