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

Free Support Forum - aspose.com

Wrong value of 'align' in HTML output of excel

Hello,


I am using aspose.cells v17.1.4 to generate HTML output of the attached excel document.

In the Excel file, the content in range B2:F21 is center-aligned. If you will open the HTML output in Notepad, the value of align attribute for that content is “right”. The value of align should be center.

Can you please look into this.

Thanks,
Neha

Hi,


Thanks for your posting and using Aspose.Cells.

We do not find any issue as you have described. If you manually save your workbook into html using MS-Excel, you will see, there is no align attribute at all. Aspose.Cells generates align attribute, but your output html is still correct, because when you open the output html in browsers like FireFox, Chrome etc. the output matches exactly with source excel file.

Hi,


Thanks for your reply.

We understand that when we save the workbook into html using MS-Excel, there is no align attribute however, align attribute is added by Aspose.Cells.

Since we consume the html generated by Aspose, we rely on the value of the align attribute for data alignment since the time we have been using Aspose. In our workflow, the given HTML is never rendered in browser. We transform the HTML to our own table structure. So the value populated by Aspose needs to be correct.

Why it is working fine in browser is - because browser uses css styles applied on it and hence the difference.

Kindly treat this as a bug and populate its value correctly.

Thanks,
Neha

Hi Neha,


Thank you for the details. We have logged the problem of an additional align attribute. It has been logged under ticket ID CELLSJAVA-42230 in our issue tracking system. We shall let you know once a significant progress has been made in this regard.

Hi,


Is there any update on this issue?

Thanks,
Neha
Hi,

Thanks for your posting and using Aspose.Cells.

We are afraid there is no update for you at this moment regarding this issue. However, we have logged your comment in our database against this issue and requested the product team to provide some fix or ETA for this issue. Once there is some news for you, we will update you asap by posting in this thread.

Hi,


We are working over your issue and hopefully, your issue will be fixed before the end of next week (April 8, 2017) or so.

Keep in touch.

Thank you.
Hi,

Thanks for using Aspose.Cells.

This is to inform you that we have fixed your issue CELLSJAVA-42230 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

Hi Neha,


Thank you for being patient. In reference to the ticket ID CELLSJAVA-42230, please download and try this latest Hotfix version: Aspose.Cells for Java 17.3.8. Please also let us know how that goes on your side.

The issues you have found earlier (filed as CELLSJAVA-42230) have been fixed in Aspose.Cells for Java 17.4.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.