Re: Center for text-align not working in JFor6
[email protected] Mon, 8 Jul 2002 11:01:19 +0800
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
My minimal xsl is as follows:
It had work for jFor 5 but not for jFor6. When I open the rtf file, the ql
(left justification) proceeds the qc (conter justification).
<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:jfor="http://www.jfor.org/xmlns/2001/stylesheet" xmlns:fo
="http://www.w3.org/1999/XSL/Format">
<jfor:stylesheet default="Normal">
<jfor:style font-family="Times New Roman" font-size="10pt" name="Normal"/>
<jfor:style text-decoration="underline" font-family="Times New Roman"
font-size="14pt" name="Heading1"/>
<jfor:style font-weight="bold" font-style="italic" font-family="Times New
Roman" font-size="12pt" name="Heading2"/>
</jfor:stylesheet>
<fo:layout-master-set>
<fo:simple-page-master margin-right="2.5cm" margin-left="2.5cm"
margin-bottom="2cm" margin-top="1cm" page-width="21cm" page-height="29.7cm"
master-name="Main">
<fo:region-body margin-top="3cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="3cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="Main" initial-page-number="1">
<fo:flow flow-name="xsl-region-body">
<fo:block text-align="center" font-size="20pt" font-family
="Times New Roman">
Test
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
Thanks in Advance,
Boon Wah
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf