[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [xsl-fo]
At 2008-08-19 13:33 +0500, Bilal Ilyas wrote:
i am working with text in xsl fo and having problem at line break i want to break a line with some specific space left at the line Do you want the line to break because of the distance between the left margin and the word "some", or do you want the line to break because of an algorithmic calculation such as the count of words before "some"? In the middle of a block one can break a line by injecting a zero-dimension block: <block/> This acts somewhat like a <br/> in HTML, but only for the first <br/> in a string of <br/> elements. For subsequent line breaks leaving a blank line one would use: <block><leader/></block> This approach works over a block with spaces because of the collapse of white-space characters emptying the block. I hope this helps. . . . . . . . . . . . . Ken -- Upcoming XSLT/XSL-FO hands-on courses: Wellington, NZ 2009-01 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video 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
|
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
|