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

Free Support Forum - aspose.com

Excel to HTML conversion

Hi,

I hold a licence for Aspose.Total. I have generated an excel sheet using Aspose.Cells. I need to generate a preview for the same for which I wanted the save format as HTML. But, when I tried to do the same, I got an exception saying: 'aspose is not supporting html format saving of excel files yet'

Please advice.

Regards,

-rfc!

Hi,

Thanks for your inquiry.

Well, saving Xls2Html is supported, kindly try the attached version.

If you still find any issue, kindly post your template file with sample code here, we will check it soon.

Thank you.

Hi,

By the way, I am still not sure if you are using .NET version or Java version. I thought you are using .NET version so, I attached the latest fix for .NET in my previous post.

But if you are using Aspose.Cells for Java version, for your info, if you are trying to save to html file format using OutputStreams, I 'm afraid this is not supported yet. So, you should save it on some path using its given name.

While saving to .html file format, please note: i.e.., Workbook.save(String filename, int) is suppoted ............where as Workbook.save(OutputStream, int) is not supported

Thanks for your time and understanding.

Hi Amjad,

Thanks for the inputs. Indeed I am using the Java version and trying to save the HTML format in an OutputStream. I tried saving to a file and it works fine.

Are there any plans of extending the support for OutputStreams as well? If yes, then can you give an ETA for the same?

Regards,

-rfc!

Hi,

OK, we will provide you an eta for it soon.

Thank you.

Hi,

Well, we have looked into the feature and hopefully we can try to provide it in about 2 months time.

Kindly keep in touch and have a good day!

Hi,

Please try the attached version, we have supported the feature i.e.., Saving excel file to Html format using OutputStreams. It is to be noted here: when you save to html file format using OutputStream, only the active sheet can be saved, and if you are using an evaluation version without the valid license, our evaluation watermark sheet would always be the active sheet which is saved.

Thank you.