Icons text alignment 'Center' or "Right (indent)" is ignored in convert Workbook to HTML

Hello.
We are currently evaluating the latest version of Aspose Cells and noticed the following issue:
When the horizontal text alignment of the cells containing icons is set to “Center” or “Right (indent)” in the Excel tables - this setting is ignored during the save of the workbook in the HTML format, and the cells in the tables all displayed left-aligned.
This behavior can be seen in the latest Aspose Cells for Java version 23.6, the attached ConditionalFormatsIcons.xlsx file and the following Java code:

final String xlFile = [PATH] + "ConditionalFormatsIcons.xlsx";
Workbook wb = new Workbook(xlFile);

String htmlFile = xlFile.replace(".xlsx", "-v" + CellsHelper.getVersion() + ".html");
Files.deleteIfExists(Paths.get(htmlFile));
wb.save(htmlFile);
System.out.println("Successfully created HTML file:  " + htmlFile);

Running the above code will produce the attached ConditionalFormatsIcons-v_23.6.0.html .

Environment Details:

  • Aspose Cells for Java 23.6
  • Java version 1.8.0_211
  • Windows 10 OS (also reproducible under Linux 7.4).

Please let me know if you need any additional information.
Thank you.
testAsposeCellsIconAlignment.7z (9.9 KB)

@oraspose
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSNET-53702

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@oraspose,

This is to inform you that your issue has been resolved. The fix will be included in an upcoming release (Aspose.Cells v23.7) that we plan to release in the first half of July 2023. You will be notified when the next version is released.
Here is the result after fix for you reference:CELLSNET-53702.zip (5.5 KB)

Hi Eric.
Thanks a lot for a quick turnaround on this!

Regards,
Yan

@oraspose,

You are welcome.
The new release is expected in the next 2-3 days or so.
Stay tuned!

The issues you have found earlier (filed as CELLSNET-53702) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi