Hello,
when I did conversion from html to xlsx using Aspose , I have an issue with negatives number.
example using the same file, when I use your online tool all want fine . but when I did it locally , I can did addition operation on negatives number from the xlsx resulted doc.
this is the original html document mergedDoc.zip (541 Bytes)
this is the online tool result Olinetool.zip (6.3 KB)
and this what I generate locally localDev.zip (7.2 KB)
and this is my code c# :
private byte[] HtmlToXsl(string document)
{
byte[] byteArray = Encoding.Default.GetBytes(document);
MemoryStream stream = new MemoryStream(byteArray);
HtmlLoadOptions opts = new HtmlLoadOptions(LoadFormat.Html);
OoxmlSaveOptions xlsx = new OoxmlSaveOptions(SaveFormat.Xlsx);
var workbook = new Aspose.Cells.Workbook(stream, opts);
Worksheet worksheet = workbook.Worksheets[0];
worksheet.AutoFitColumns();
MemoryStream streamOut = new MemoryStream();
workbook.Save(streamOut, xlsx);
byte[] b = streamOut.ToArray();
return b;
}
I need your help please .