[Sorry, you seem to be using XMLmind XSL-FO Converter .NET version.]
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 /w
(or corresponding .NET API:
converter.TargetViewer = TargetViewer.MSWord):
---
/w
Specifies MS-Word as target RTF viewer. 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 used,
XFC will swap top and left padding values in table cells to work around
this bug.
---
References:
*
http://www.xmlmind.com/foconverter/_distrib/doc/dotnet/user/command_line_dotnet.html
*
http://www.xmlmind.com/foconverter/_distrib/doc/dotnet/api/html/P_XmlMind_FoConverter_Converter_TargetViewer.htm
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support