Re: <BR> in FO

"Chris Senack" <[email protected]> Thu, 6 Jun 2002 11:42:05 -0400
Newsgroups gmane.text.xml.jfor.general
Message-ID <[email protected]>
Try <fo:block>&#160;</fo:block>. Its similar to the HTML <br> tag. 

 
 <fo:block font-family="Arial"  font-size="20pt">
   line 1
    <fo:block>&#160;</fo:block>. 
   line 2
</fo:block>

I think this is what your looking for, I'm pretty new at this.
Hope it helps.

Chris Senack





  ----- Original Message ----- 
  From: Hanno v Maanen 
  To: [email protected] 
  Sent: Thursday, June 06, 2002 11:13 AM
  Subject: [jfor-users] <BR> in FO


  Hello,

  We want to implement the equivalent of het HTML tag: <BR>

  I tried <fo:block/>. The effect of this is the starting of a new block. But the second line in the resulting RTF file has not the correct font and fontsize. See the next example:

   <fo:block font-family="Arial"  font-size="20pt">
     line 1<fo:block/>
     line 2
  </fo:block>

  Can any

  Does anybody has any hints and tips?
  Thanks
  Hanno van Maanen