This is a migrated thread and some comments may be shown as answers.

Export to Pdf Has problem with Arabic language

3 Answers 914 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Zahra Ahmed
Top achievements
Rank 1
Zahra Ahmed asked on 27 Sep 2011, 10:43 AM
hi,
when I try to export data has Arabic words from a grid into pdf file the arabic words appear but written from left to right(arabic language is written from right to left )

I found that the right to left language is not supported in your Pdf Engine 
my Question is : when will it be supported ? and is there any other way to solve the problem? 

Thank You

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Sep 2011, 11:28 AM
Hello Zahra,

Adding right-to-left support to RadGrid's PDF export is definitely not an easy task. I'm afraid that there is a considerable risk of introducing breaking changes so our developers decided to temporary postpone this feature for the time being.
Please excuse us for any inconvenience caused.

Best regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
TLDM
Top achievements
Rank 1
answered on 08 Sep 2016, 12:18 PM

Hi I'm having same issue, I'm using telerik WPF 2016.1.106.40. trying to export grid data to pdf. using "documents.spreadsheet.formatproviders.pdf". when the grid is having Arabic, this arabic text in pdf is mirrored. Are you supporting arabic export in PDF? if yes kindly let me know what is the settings.

how I am using

Documents.spreadsheet.model.workbook workbook= preparingWorkBookFromRadGridView();

IWorkbookFormatProvider formatProvider = WorkbokFormatProvidermanager.GetProviderByName("PdfFormatProvider");

formatProvider.Export(workbook,stream);

Arabic is coming as mirrored text

Thank you.

0
Stefan Nenchev
Telerik team
answered on 12 Sep 2016, 01:45 PM
Hello,

Please have in mind that this thread is regarding the UI for ASP.NET AJAX Grid control. As your question concerns the UI for WPF product,  please in future check the discussions from the WPF forum or open a new one in case it is required.

Generally, the ExportToPdf utilizes the RadPdfProcessing library which does not support left-to-right languages. There is a public item created on the topic - PdfProcessing Support for RTL. I suggest you vote for it in order to increase its priority.

As a workaround, you can export the grid to Excel, through the ExportToXlsx() method and eventually convert it to pdf locally if required. I have added a sample project for your reference.

Regards,
Stefan Nenchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Zahra Ahmed
Top achievements
Rank 1
Answers by
Daniel
Telerik team
TLDM
Top achievements
Rank 1
Stefan Nenchev
Telerik team
Share this question
or