Thanks for providing us template file and output HTML file.
After an initial test, I observed the issue as you mentioned by converting your template file to HTML. I found that the column headers (that are set with text Orientation) are misplaced in Excel to HTML rendering. I also confirmed that MS Excel does not support to render angular text in Excel to HTML conversion (I used your Excel to convert to "Web page" in MS Excel manually), it always render cell text with "0" rotation angle although it does not misplace the column headers' text in the cells:
e.g Sample code:
String lFileName = "AsposeExampleExcel.xlsx"; String lSaveName = "AsposeExampleExcel-edit.html"; Workbook lWorkbook = new Workbook( lFileName ); lWorkbook.save( lSaveName, FileFormatType.HTML );
I have logged a ticket with an id "CELLSNET-45287" for your issue. We will look into it soon.
Once we have an update on it, we will let you know here.