XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...).
I am using Apache POI with OpenPdf to convert docx(with arabic text) to a pdf. However, in the pdf being generated the characters are printed in the direction left to right instead of Right to Left.
Refer the below two images:
I am using Apache POI with OpenPdf to convert docx(with arabic text) to a pdf. However, in the pdf being generated the characters are printed in the direction left to right instead of Right to Left. Refer the below two images:
Image 1 : Original
Image 2: Pdf rendered
![pdf](https://user-images.githubusercontent.com/42904853/155891999-8a326dd1-6949-4cd5-8342-c882194452bf.PNG)