Re: [XSL-FO] Breaking the sentence in to lines depending on no of characters.
- View Sourceswapnareddygari wrote:
> I am trying to implement this:You could put an <fo:inline keep-together.within-line="always"> around
> If length of heading is less than or equal to 27, keep Heading on
> current line (for example, "Crimes and Civil Prevention" is exactly
> 27 characters in length. Therefore this heading should remain on one
> carry remaining major heading title over to the next line
> starting with whole word. (For example, the 2nd "Congress"
> in "Congress and Members of Congress" extends beyond the 27 character
> range. Therefore, the second "Congress" should be on the next line. )
the initial words that need to fit on the first line. This should be
easy to do in XSLT 2 and not that hard in XSLT 1.
W. Eliot Kimber
9390 Research Blvd, #410
Austin, TX 78759