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

Free Support Forum - aspose.com

Cell content rotation not rendering correctly in html

I’m running with Aspose.Cells for Java v22.3
I have an Excel file that contains two pieces of text - one rotated clockwise and one rotated counter-clockwise.
image.png (12.3 KB)

If I open that file in Aspose.Cells and then save as HTML, the HTML renders with both bits of text rotated counter-clockwise.
image.png (6.0 KB)

Is there a fix or work-around for this?



Thanks for the screenshots.

Generally, Aspose.Cells follows MS Excel standards and specifications in Excel to HTML rendering. Could you please perform the task (open the file into MS Excel and save it as HTML (Web page)) in MS Excel manually and check the output HTML is fine tuned? I doubt such rotated text in the cells is not rendered fine in the output HTML by MS Excel. If you still persist it is an issue with Aspose.Cells for Java API, kindly do share input Excel file, output HTMLs by MS Excel and Aspose.Cells. We will check your issue soon.

PS. please zip the files prior attaching here.

Thanks. You’re correct - saving Excel as HTML does not honor the rotation.
Thank you.


You are welcome.