Hello, i have a program uses spire xsl to read 30 xsl files with hebrew text
text = "שלום לכולם מה קורה"
converting to pdf:
val workbook: Workbook = Workbook()
workbook.loadFromFile("$f_name.xlsx")
workbook.isRightToLeft(true)
workbook.activeSheet.cells.forEach {
it.style.shrinkToFit = true
// if (second)
// it.text = it.text.split(" ").reversed().joinToString("_")
}
workbook.converterSetting.setSheetFitToPage(true)
val file = File("$f_name.pdf")
val fos = FileOutputStream(file)
workbook.saveToStream(fos, FileFormat.PDF)
fos.close()
the first xsl is converted ok.
all the others are flipped text
for example
output pdf have text: "קורה מה כולם שלום"
reverse as it was in the first cell of the xsl.
thanks