opensagres / xdocreport

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...).
https://github.com/opensagres/xdocreport
1.23k stars 375 forks source link

PDF Conversion for Arabic Characters #142

Open choochan opened 8 years ago

choochan commented 8 years ago

When the word report is converted into pdf the arabic characters are printed with verticle flip. The right to left character printing is not happening.

lex-em commented 7 years ago

hi. what is the state of issue?

lex-em commented 7 years ago

we need this functionality

lex-em commented 7 years ago

upgrading docx4j to version 3.2.2 solved problem partialy

latest release does not work becouse of https://github.com/plutext/docx4j/blob/master/src/samples/docx4j/org/docx4j/samples/ConvertOutPDF.java#L37

lex-em commented 7 years ago

vertical aligned text becomes horisontal

lex-em commented 7 years ago

does it docx4j issue?

angelozerr commented 7 years ago

No time to study and support this issue. Any PR are welcome!

aljabali commented 6 years ago

hi @lex-em , can you share code snippet

lex-em commented 6 years ago

hi, @aljabali! Unfotunately I do not have this code right now!

aljabali commented 6 years ago

thanks for prompt response @lex-em , do you know any other library that can help with the flipping issue

lex-em commented 6 years ago

@aljabali as I know other solution that solved the problem for us it's itextpdf

angelozerr commented 6 years ago

@aljabali as I know other solution that solved the problem for us it's itextpdf

XDocReport PDF converter uses itext too, so if you think how to fix your issue with itext, I think you could fix for XDocReport PDE converter too.

lex-em commented 6 years ago

@angelozerr yes, I know this, but haven't time to do that

sreyhani commented 3 years ago

any updates on the solution?