Xlsx and Right-to-Left text - Words appearing in reverse order

I am having a problem with Aspose when converting xlsx files to pdf. It seems that when a text block of RTL (Arabic) is in the xlsx document, the words appear in the pdf in reverse order.

Is there some way to prevent this from occuring?

Iimage (2).png (124.6 KB)

Excel file example:
small RTL xlsx sample.zip (6.8 KB)

Notice that in the first paragraph the RTL conversion is OK, but in the second example all the RTL words are reversed.

This is the converter function call we are currently using:
static int RunXlsCellsConversion(String inSource, String inDest)
Aspose.Cells.License license = new Aspose.Cells.License();
FileStream docStream = new System.IO.FileStream(inSource, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
Workbook excelFile = new Workbook(docStream);
catch (Exception e)
return -10;
return 1;


Please notice, we are able to reproduce the issue as you mentioned by converting your template file to PDF. We have logged a ticket with an id “CELLSNET-49864” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.


The issue is fixed in v21.11.4.

Aspose.Cells21.11.4 For .Net2_AuthenticodeSigned.Zip (5.6 MB)
Aspose.Cells21.11.4 For .Net4.0.Zip (5.6 MB)
Aspose.Cells21.11.4 For .NetStandard20.Zip (5.6 MB)

Thank you very much, we’ll try this out.


Please take your time to evaluate the new fix. Hopefully it will fix your issue.

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

Thank you very much, we’ve tested the fix and it appears to be working well.


Good to know that your issue is resolved by latest version/fix. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.