Re: <BR> in FO

"Michael Lowden" <[email protected]> Fri, 7 Jun 2002 17:14:04 -0700
Newsgroups gmane.text.xml.jfor.general
Message-ID <[email protected]>
what u could try is the fo:inline-block commane...
e.g.
 
 <fo:block font-family="Arial"  font-size="20pt">
   line 1
    <fo:inline/>
   line 2
</fo:block>

i haven't actually tested this.  but what inline allows you to do is embed it within blocks.

if this doesn't work try splitting into two BLOCKS and add the SPACE-BEFORE option like this
<fo:block>line 1</fo:block>
<fo:block space-before="10pt">line 1</fo:block>

----- Original Message ----- 
  From: Hanno v Maanen 
  To: [email protected] 
  Sent: Thursday, June 06, 2002 8: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