[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL-FO - border straying where it is not wanted
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|