On 16.05.2006 17:34:54 Shamem Miah wrote:
> Hi
>  
> I am creating pdf and rtf outputs of a document using fop version 0.92.
> The pdf produces output which correspondes to my xsl template.  The rtf
> output produces the same output except that it doesn't 
>  
> a)perform indentation i.e. <fo:block text-indent="1in" 

This is not implemented for RTF output, yet. It should be relatively
easy if you want to do it yourself. It's a matter of teaching the
RTFHandler about the "\fi" command. See
TextAttributesConverter.convertAttributes().

> b) it doesn't always create a table according to absolute value i.e. 
> 
> <fo:table border-width="0.1mm" border-style="solid" table-layout="fixed"
> width="8in">
> 
> sometimes it does for smaller values but not for larger values.

I cannot say anything about that, yet. Might be something more
complicated.

> c)space-after-optimum is twice as big on the rtf output so setting the
> stylesheet to 12pt works on pdf as such but looks like 24pt on rtf.
> 
> I read this mail
> http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200601.mb
> ox/[EMAIL PROTECTED] and it
> says the table problem will be fixed if you use absolute values all
> throughtout  the stylesheet.  I believe I have but it doesn't fix my
> problem.  Can someone take me out of my misery and provide me with a
> solution or tell me rtf output does not support indentation, table width
> size and correct space after optimum.

I think what you see is simply the fact that the RTF output does not
support space resolution. Note: It won't ever be possible to map the
space resolution rules fully in RTF! What I can see in your stylesheet
is that you're not only using space-after but also space-before. If you
have a space-after of 12pt and the next paragraph a space-before of 12pt
the gap between collapses to 12pt under the space resolution rules. In
RTF this doesn't happen which results in 12+12=24pt gap.

> Many thanks
> 
> Btw my stylesheet is: 

Please always attach FO files in the future, not stylesheets, so we can
actually run your examples right away so we don't have to do copy/paste
operations and guess at what your document will eventually look like.
Thanks.

<snip/>

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to