[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Wrapping text in XSL-FO table

Subject: Wrapping text in XSL-FO table
From: Mukul <mukulw3@xxxxxxxxx>
Date: Fri, 28 Feb 2003 09:51:31 -0800 (PST)
xsl fo text wrap
Hello ,
  I am constructing a XSL-FO table. I want a sentence
wrapping effect like as in MS Word. When something is
typed in a table row, I need 2 conditions to be
fulfilled -
1) When a word touches the column boundary , the whole
word wraps to the next line(the word is not split)
2) If length of word is greater than the column width,
the word is split and continues on the next line

Can I do both these things in XSL-FO? Does fo:table
provide properties to implement this behaviour?

I was able to write the string split program and then
place the extracted parts into f:table-row statically.

But I want that when a string is getting placed in
table column it should wrap automatically with the two
conditions above. I want this to happen for a given
column size in points, and for any font and size. 

My table data is coming from the XML file..

I'll appreciate help on the above problem.. My
prefered choice would be Apache FOP.

Regards,
Mukul


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.