Questions about styles

ABAK Systèmes <[email protected]> Tue, 27 Aug 2002 09:17:17 +0200
Newsgroups gmane.text.xml.jfor.general
Message-ID <[email protected]>
Hello,

I am using jfor version 0.7.1 and I have some questions about styles.
jfor generates character styles and no paragraph styles. Is there any
reason for not creating paragraph styles? I have tried to use jfor
styles to manage attributes other than font family, height and style.
Apparently start-indent can be used wihout any poblem, but text-align
doesn't work.

...
 <jfor:stylesheet>
  <jfor:style name="St1" text-align="center" font-size="14pt"
font-family="Times" font-weight="bold"/>
  <jfor:style name="St2" start-indent="1cm" font-size="12pt"
font-family="Times"/>
 </jfor:stylesheet>

...
   <fo:block jfor-class="St1">Some text</fo:block>
...

The block is not centered in the RTF document. The \qc attribute is
correctly set, but it is followed by \ql. 
The correction should be easy to find, but I don't know if it is good
practice to use jfor styles to set such attributes. In that case, I
think it should be better to create paragraph styles.

--
Pascal Quesseveur, [email protected]


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390