I have problems to format a cell with Apache poi 3.9 correctly. I got some english and some arabic Text in my table so I need to set the readingorder to right-to-left for some cells by using
ExtendedFormatRecord.setReadingOrder(2); doc
A HSSFCellStyle is created with
HSSFCellStyle(short index, ExtendedFormatRecord rec, HSSFWorkbook workbook) shown here
The Problem is, that the constructor is protected and the class is final. So I can't extend it. Is there a possibility to set the readingorder to right-to-left for a single cell? I don't need to set the style of the worksheet to rtl. Also this don't solve the Problem.
.xlsxfiles too? The "proper" fix will mean doing something to handle both formats - Gagravarr