Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Apr 12, 2022 5:51 am

HI team,
We are trying to convert Arabic pdf file to word doc(doc/docx) using spire.pdf's latest version. It is able to convert but with some exceptions like the brackets which are next to arabic text are inverted (eg-( becomes ) and so on). Also alignment of content in table is distorted.
Please help.

raza_abid
 
Posts: 4
Joined: Fri Apr 01, 2022 10:22 am

Tue Apr 12, 2022 7:54 am

Hello,

Thank you for your inquiry.
According to your description, I simulated a PDF file and did an initial test, but did not reproduce your issue. To help us investigate your issue quickly and efficiently, please provide the following information. You could attach them here or send them to us via email (support@e-iceblue.com). Thanks in advance.
1) Your input PDF file.
2) Your complete test code.
3) Your test environment, such as OS info (E.g. Windows 7, 64-bit) and region setting (E.g. China, Chinese).
4) Your application type, such as Console app (. Net Framework 4.5).

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1648
Joined: Wed Apr 07, 2021 2:50 am

Wed Apr 13, 2022 5:36 am

Thanks for the response.
Attached are the pdf and corresponding doc file.
You can see the brackets are inverted.

raza_abid
 
Posts: 4
Joined: Fri Apr 01, 2022 10:22 am

Wed Apr 13, 2022 5:39 am

Below is the source code we are trying.
Platform-Windows10
Application type-Simple java project built in eclipse.

package main;

import com.spire.pdf.FileFormat;
import com.spire.pdf.PdfDocument;

public class Pdf2WordSpire {
public static void main(String[] args) {
PdfDocument doc = new PdfDocument();
doc.loadFromFile("135a.pdf");
doc.saveToFile("135a.doc",FileFormat.DOC);
System.out.println("done");
}
}

raza_abid
 
Posts: 4
Joined: Fri Apr 01, 2022 10:22 am

Wed Apr 13, 2022 6:02 am

You can also see that english dates and numbers are also inverted.

raza_abid
 
Posts: 4
Joined: Fri Apr 01, 2022 10:22 am

Wed Apr 13, 2022 10:34 am

Hello,

Thanks for sharing.
I tested your PDF file and did reproduce the issue you mentioned. I have logged the issue into our bug tracking system with the ticket number SPIREPDF-5088. Our development team will investigate and fix it. Once it is resolved, I will inform you in time. Sorry for the inconvenience caused.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1648
Joined: Wed Apr 07, 2021 2:50 am

Thu May 26, 2022 10:24 am

Hello,

Thanks for your patience!
Glad to inform you that we just released Spire.PDF for Java Version:8.5.8 which fixes the issue of SPIREPDF-5088.
Please download the new version to test.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1648
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.PDF

cron