On 05/05/2011 05:53 PM, [email protected] wrote:
>  
> 
> When using XMLmind XSL-FO Converter to go from FO to RTF, setting
> padding-left on fo:table-cell seems to add padding to the top of the
> cell and not the left of the cell.
> 
>  
> 
> I attached a zip file which contains a sample input fo file and the
> corresponding rtf output.
> 
>  
> 
> <fo:table-cell border="1px" padding="0px" number-columns-spanned="1"
> number-rows-spanned="1" role="html:td" *padding-left="10pt"*
> text-indent="0pt">
> 
> <fo:block>Total revenues</fo:block>
> 
> </fo:table-cell>
> 

See command-line option -rtf.target=MSWord

(or corresponding Java API:
converter.setProperty("rtf.target", "MSWord")):

---
rtf.target

Specifies the target RTF viewer. Currently the only supported value is
MSWord. This option may be needed to circumvent an obscure bug in the
RTF loader of MS-Word, which does not handle table cell padding tags
correctly. When this option is set to MSWord, XFC will swap top and left
padding values in table cells to work around this bug.
---

References:

*
http://www.xmlmind.com/foconverter/_distrib/doc/user/command_line_java.html

*
http://www.xmlmind.com/foconverter/_distrib/doc/api/com/xmlmind/fo/converter/Converter.html#setProperty(java.lang.String,%20java.lang.String)

 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to