RE: [xsl] XSL:FO - How to wrap non-word strings in table cells?

Subject: RE: [xsl] XSL:FO - How to wrap non-word strings in table cells?
From: "Kienle, Steven C [PGRD/0200]" <steven.c.kienle@xxxxxxxxxxxxx>
Date: Thu, 2 Oct 2003 11:47:57 -0500
David Pawson wrote:

> The most often requested place is a table cell,
> so perhaps something like a hint to the processor,
> break-at="20" meaning if needed, presume a soft-hyphen at character
position
> 20 within any word?
> 
> Any other suggestions anyone?

I haven't used FO, but I wouldn't think a break-at attribute would make
design sense.  By specifying a number like this, you get into the realm of
dealing with the physical result in the FO code rather than the logical
layout.  For example, if formatting for a mobile phone, the FO processor may
not have even 20 characters width to work with.

It would seem to me that an attribute, pardon the length, more like
allow-non-hyphen-break="on" (or whatever is the FO default for true/false
attributes) would provide a less physical implementation.  That way it would
be possible to specify that the processor may break words at non-hyphenated
points if required to fit the area provided.

As I said, I haven't dealt with FO, so please accept my apologies if I'm way
off base here.

	Steve

This communication is intended solely for the use of the addressee and may
contain information that is legally privileged, confidential or exempt from
disclosure.  If you are not the intended recipient, please note that any 
dissemination, distribution, or copying of this communication is strictly 
prohibited.  Anyone who receives this message in error should notify the 
sender immediately and delete it from his or her computer.


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


Current Thread