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

Free Support Forum - aspose.com

Converting from Excel to Html

Howdy!
I have a question about saving Excel file to Html format.
In particular, I would like to add some java script to the resulting file (for example for sorting tables on the client). Is any API for doing this? The java script could be in a separate file so that the .html file would have to have “script” tag somewhere on the top but it could be as a “string” property as well.
I can not find anything for this functionality in HtmlSaveOptions object …

@bogdanw,

Thanks for providing us some details.

Well, Aspose.Cells follows MS Excel standards and specifications when rendering Excel workbook to HTML file format and vice versa. I do not see if we can embed some customized JavaScript code in resultant HTML file. If you could accomplish the task via MS Excel manually, let us know with details, sample files, steps involved, etc., we can check it.

OK … though, I saw some customization via HtmlSaveOptions for css properties
and I thought there are some for java script as well.
At the end, I could just work directly with Html stream.
Thanks anyhow.