[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL-FO: Background text spanned on several table
On Thu, Feb 19 2009 18:18:49 +0000, lists@xxxxxxxxxxxx wrote: > Tony Graham wrote: ... >> Firstly, if you hadn't wanted one "DRAFT" over multiple cells, >> you could have the "background-image" property on every cell >> that is in the draft state. > > Yes, or even the way Ken proposed, as the vertical alignment > of "DRAFT" is not that important. Though you could use "background-image" in the main table for the cells in the draft state instead of making one or two extra interior tables. >> Secondly, this achieves the desired effect when using Antenna >> House: > > I maybe missed something, but it seems that this is what Ken > proposed, using block-progression-dimension. But as I don't > know the height of the spanned rows (because the text can be on > several lines within each row,) I think I can't use this > technique. Sorry about that: I was trying to give a hint to the formatter rather than a fixed height, but quite by accident my hint was exactly the right size, hence it worked for me. In principle (at least according to me, that is) it should be sufficient to just use <table-row height="100%"> so the row, and hence the interior table, fills the height available, but Antenna House only fits the interior table to the height of one table row, not the height of the two spanned rows, and XEP doesn't change anything (though it makes very interesting results when you put height="100%" on an fo:table-cell). So if your requirements would allow, just using "background-image" and no extra tables would be simplest. 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
|
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
|