Subject: Re: [xsl] XSL-FO - border straying where it is not wanted From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 19 Mar 2009 10:33:53 +0000 |
On Thu, Mar 19 2009 03:13:52 +0000, trevor@xxxxxxxxxxxxxxxxxx wrote: > Correct. If I put the border on the block then it extends across the entire page regardless of the length of the title - which is not the desired outcome. How about forcing your own line breaks in long titles, with the fo:inline around everything before the line break? One way is to set linefeed-treatment="preserve" [1] on the containing fo:block and putting the line breaks in the text. It means more work for you, but you can tell yourself that you're using the manual line breaks to also make the long titles more readable compared to having the formatter just fill the lines. Regards, Tony Graham Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx Director W3C XSL FO SG Invited Expert Menteith Consulting Ltd XML, XSL and XSLT consulting, programming and training Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland Registered in Ireland - No. 428599 http://www.menteithconsulting.com -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- xmlroff XSL Formatter http://xmlroff.org xslide Emacs mode http://www.menteith.com/wiki/xslide Unicode: A Primer urn:isbn:0-7645-4625-2 [1] http://www.w3.org/TR/xsl11/#linefeed-treatment
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSL-FO - border straying , Trevor Nicholls | Thread | [xsl] Capturing position as a numbe, Charles Flanders |
Re: [xsl] [xslt] xslt problem, Ronan Klyne | Date | [xsl] Expanding Ranges, Ganesh Babu N |
Month |