Free Support Forum - aspose.com

Problems with RTF conversion to HTML

Hi,



We are using Aspose.Word to do RTF to HTML conversion for our client, but we are facing a few issues.



1. One tab spacing in RTF is converted to 17 blank spaces in HTML. We need this to be in 4 spaces per tab.

2. Converted table borders are not drawn after converting RTF to HTML.

3. Images files are not exported even after setting the parameters in code when exporting to HTML. Even the html alias does not seem to take place for me.





Have tried looking in Aspose.Word documentations for answers, but not very fruitful for me. Would appreciate if someone can give me some pointers.





Thanks & Regards.

Ji Kai

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request.

1. Custom tabs are not supported during converting to HTML. This is known issue #1460.

2. Could you please attach your source document for testing?

3. HtmlExportImagesFolderAlias and ExportImagesFolder properties have effect only when saving into a Stream in HTML format. See the following link for more information.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.saveoptions.exportimagesfolder.html

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.saveoptions.htmlexportimagesfolderalias.html

Best regards.

Hi Alexey,



Thank you on your reply. I’ll check out the links and try to attach my source doc (point 2) when I get back to office tml.





Thanks & Regards.

Ji Kai