We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to convert tables in Rtf document to Ascii tables in html

Hi,

We have a requirement where end system won't support tables in html , table should be formatted with spaces . Like Ascii tables.

We need to convert tables from RTF document to Ascii tables in html .

Thanks in advance for your help.

Thanks,
S P K Srinivas.

Hi,


Thanks for your inquiry. Microsoft Word 2013 has a feature to convert table to text; would you like to have a similar functionality in Aspose.Words to transform tables to text and then save text representation of Table in HTML?

Best regards,

Hi,


Thanks for looking into this. Yes , Please advise how can we accomplish that.

How can we set the attribute style="list-style-type:decimal; to order list while converting RTF to html. Aspose.words is setting type=“1” while converting RTF to html lists.

Our target system won’t support type attribute, it only supports style="list-style-type:decimal; attribute.

Please advise on this as well , Much appreciated.

Thanks,
S P K Srinivas.

Hi,


Thanks for your inquiry.

We will consider providing an in-built method in Aspose.Words API to be able to convert any table to text format. Your request has been linked to appropriate issue (WORDSNET-10750) in our issue tracking system and you’ll be notified as soon as it is available,

Secondly, there are a few options in HtmlSaveOptions class that you can make use of e.g. HtmlSaveOptions.ExportListLabels property. I hope, this helps.

Also, please attach your expected Html document showing the correct list style here for our reference.

Best regards,