Re: Questions about styles
Bertrand Delacretaz <[email protected]> Tue, 27 Aug 2002 10:06:34 +0200
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Organization | codeconsult |
| Message-ID | <[email protected]> |
Hello Pascal, >. . . > 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? No specific reason, only that we only needed character styles when this was implemented. >. . . > 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. Yes, text-align="center" probably only makes sense in a paragraph style. Implementing these in jfor is probably not that hard but we have no such plans at the moment (unless you want to try it of course). So I'm afraid that in the meantime you will have to work with text-align at the block level. Hope this helps! -- Bertrand Delacrétaz (codeconsult.ch, jfor.org) buzzwords: XML, java, XSLT, cocoon, mentoring/teaching/coding. disclaimer: eternity is very long. mostly towards the end. get ready. ------------------------------------------------------- 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