Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] force line break and keep "Justify" Text-Alignment

Expand Messages
  • Baiyun Gao
    Thanks for your expertise and suggestion. Sorry about that. It works. Ben ... __________________________________ Do you Yahoo!? Read only the mail you want -
    Message 1 of 6 , Jun 15, 2004
    • 0 Attachment
      Thanks for your expertise and suggestion. Sorry about
      that. It works.

      Ben


      --- "G. Ken Holman" <gkholman@...>
      wrote:
      > At 2004-06-15 05:18 -0700, Baiyun Gao wrote:
      > >Thanks for reply.
      > >
      > >I have a XML file, which defined a element
      > ><linebreak/> to force line break in document.
      > >
      > >I can implement <fo:block/> to force line break.
      > Since
      > >every line will be a separated block. "Justify"
      > >alignment become difficulty.
      >
      > But have you yet tried text-align-last="justify" as
      > I suggested in my last
      > note?
      >
      > <block text-align-last="justify"
      > xmlns="http://www.w3.org/1999/XSL/Format">
      > this is a test
      > <block/>
      > with a
      > <block/>
      > separation found inside.
      > </block>
      >
      > You'll see that the introduced empty blocks make
      > each of the lines the last
      > line of their respective block areas, thus
      > justifying all lines.
      >
      > I hope this helps, and next time please try the
      > suggestions so they don't
      > have to be repeated.
      >
      > ............................ Ken
      >
      > At 2004-06-15 08:43 +0100, I wrote:
      > >Use text-align-last="justify" to also justify the
      > last line of the block.
      >
      >
      > --
      > Public training 3 days XSLT & 2 days XSL-FO:
      > Phoenix,AZ 2004-08-23
      > World-wide on-site corporate, govt. & user group
      > XML/XSL training.
      > G. Ken Holman
      > mailto:gkholman@...
      > Crane Softwrights Ltd.
      > http://www.CraneSoftwrights.com/f/
      > Box 266, Kars, Ontario CANADA K0A-2E0
      > +1(613)489-0999 (F:-0995)
      > Male Breast Cancer Awareness
      > http://www.CraneSoftwrights.com/f/bc
      > Legal business disclaimers:
      > http://www.CraneSoftwrights.com/legal
      >
      >




      __________________________________
      Do you Yahoo!?
      Read only the mail you want - Yahoo! Mail SpamGuard.
      http://promotions.yahoo.com/new_mail
    Your message has been successfully submitted and would be delivered to recipients shortly.