Attribute line-height ignored

Martin Ruff <[email protected]> Mon, 11 Aug 2003 10:45:54 +0200 (CEST)
Newsgroups gmane.text.xml.jfor.general
Message-ID <[email protected]>
Hi,

I've been looking trough the samples and making my own documents. the
problem now is, that the attribute line-height, space-before.optimum are
ignored, I do not know what I am doing wrong when converting my xslt to
pdf all works fine but not when converting to rtf.
I'm tranforming a xslt, xml input data given using fop to xsl-fo then I
convert the resulting xslt:fo with jfor to rtf
pls see my stylesheet:

<xsl:stylesheet
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
     xmlns:fo="http://www.w3.org/1999/XSL/Format">


	<xsl:template match="MailLetterTemplate1">
	    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:jfor="http://www.jfor.org/xmlns/2001/stylesheet">
    <jfor:stylesheet default="Normal">
        <jfor:style name="arial-22-centered" text-align="center"
margin-left="2pt" line-height="72pt" font-family="Arial"
font-size="22pt"/>
    </jfor:stylesheet>
			<fo:layout-master-set>
				<fo:simple-page-master master-name="simpleA4" page-height="29.7cm"
page-width="21cm" margin-top="1.6cm" margin-bottom="2cm"
margin-left="3.2cm" margin-right="2.5cm">
					<fo:region-body/>
					<fo:region-after extent="0.3cm"/>
				</fo:simple-page-master>
			</fo:layout-master-set>
			<fo:page-sequence master-reference="simpleA4">
				<fo:static-content flow-name="xsl-region-after">
					<fo:block text-align="left" white-space-collapse="false"
text-decoration="no-line-through" font-weight="normal"
font-style="normal" font-size="10.0pt" font-family="Times New Roman"
color="#000000">
						Seite <fo:page-number/>
					</fo:block>
				</fo:static-content>
		        <fo:flow flow-name="xsl-region-body">
					<fo:block>
 		            	<fo:external-graphic height="24px" width="246px">
		            		<xsl:attribute name="src"> <xsl:value-of
select="LogoImagePath"/> </xsl:attribute>
		             	</fo:external-graphic>
		             </fo:block>
					<fo:block jfor-class="arial-22-centered" white-space-collapse="false">
							<xsl:value-of select="FullAddressBlock"/>
					</fo:block>
	        	</fo:flow>
	      	</fo:page-sequence>
	    </fo:root>
	</xsl:template>
</xsl:stylesheet>

any help is VERY appreciated
thanks martin

-------------------------------------------
Be the change you want to see in the world.




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01