On 12/14/2011 07:12 PM, Sergey Socolov wrote:
>
> We came across a strange problem:
> In a table cell when we set the top padding it appears as the left, and when 
> we set the left it appears as the top.
> It happens in the RTF type output, but not in DOCX.
> Even the latest version of the FO-converter 4.5 does that.
> I've attached the source FO and the RTF and DOCX result files.

You need to use 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