Re: <BR> in FO

Bertrand Delacretaz <[email protected]> Thu, 6 Jun 2002 18:30:21 +0200
Newsgroups gmane.text.xml.jfor.general
Organization codeconsult
Message-ID <[email protected]>
On Thursday 06 June 2002 18:04, Hanno v Maanen wrote:
>. . .
> The problem is that the font type and size are not used for the text after
> the break ("line 2").
> Maybe this is functionality not supported with the current version of
> jfor??

You're right, this doesn't work correctly in the current version.
The jfor sample file 001-fop-compare-blocks.xml shows the problem I think.

> In RTF it is possible toe use Hard linebreaks and soft linebreaks. Is there
> a way to generate a soft linebreak with FO as a workaround?

Could probably be done by interpreting a character and generating the soft 
linebreak code. 

If you want to try, have a look at 
src/org/jfor/jfor/rtflib/rtfdoc/RtfStringConverter.java, which already does 
such conversions for tabs, quotes, etc. 

-Bertrand

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm