yeokm1 / docs-to-pdf-converter

A standalone Java library/command line tool that converts DOC, DOCX, PPT, PPTX and ODT documents to PDF files.
MIT License
590 stars 242 forks source link

Arabic text #20

Open Ahmed-Yehia993 opened 5 years ago

Ahmed-Yehia993 commented 5 years ago

I faced some issues with converting Arabic docx files it should be from right to left but it generated from left to right is there any way to solve this issue

I use setConfiguration as.

options.setConfiguration(new IPdfWriterConfiguration() {
            @Override
            public void configure(PdfWriter pdfWriter) {
                pdfWriter.setRunDirection(PdfWriter.RUN_DIRECTION_RTL);

            }
        });

but it did't help!!

yeokm1 commented 5 years ago

Err as stated in the readme, I'm not maintaining this library anymore. But I'll welcome pull requests.