[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Wrapping text in XSL-FO table
Subject: Re: [xsl] Wrapping text in XSL-FO table From: Steve Switzer <sswitzer@xxxxxxxx> Date: Mon, 10 Mar 2003 13:57:15 -0800 |
I'm having the same problem -- is there no one out there to come to our rescue? Perhaps this isn't supported in fop-0.20.4 Mukul wrote: > Hello, > The hyphenate="true" helped me. But I have a > slightly different requirement. > I want that if a word comes in a line whose length is > greater than the column width, the word must print on > the same line and breaks with a hyphenation to the > next. The default hyphenation="true" option causes the > long word(whose length is > column width) to begin on > a new line. > > Would this be possible with XSL-FO? > > Regards, > Mukul > > --- "W. Eliot Kimber" <eliot@xxxxxxxxxx> wrote: > > Mukul wrote: > > > 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) > > > > This is normal behavior unless you explicitly turn > > off line breaking. > > > > > 2) If length of word is greater than the column > > width, > > > the word is split and continues on the next line > > > > You will have to turn on hyphenation and probably > > change the > > hyphentation character (if you don't actually want a > > hyphen when a word > > breaks). > > > > Different implementations may behave differently > > when flowing text into > > constrained spaces--XEP, for example, never breaks > > words unless > > hyphentation is on, XSL Formatter may. The FO > > specification leaves these > > details of line breaking up to implementations. > > > > Cheers, > > > > Eliot > > -- > > W. Eliot Kimber, eliot@xxxxxxxxxx > > Consultant, ISOGEN International > > > > 1016 La Posada Dr., Suite 240 > > Austin, TX 78752 Phone: 512.656.4139 > > > > > > XSL-List info and archive: > > http://www.mulberrytech.com/xsl/xsl-list > > > > __________________________________________________ > 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Wrapping text in XSL-FO t, Mukul | Thread | Re: [xsl] Wrapping text in XSL-FO t, Oleg Tkachenko |
RE: [xsl] XSL Error, Martinez, Brian | Date | [xsl] Graphacal XSL-FO tool?, Gene Dyalovsky |
Month |
Keywords