Hello,
When converting a docx to pdf with grouped shapes and a rotated textbox,
the result is distorted.
While the rotation of textboxes has been fixed in WORDSNET-11898 (seen on
Rotated text box is not rotated when saved to PDF). The rendering of the groupobjects doesn’t seem to be correctly anymore.
However, when using DmlRenderingMode.FALLBACK, the grouped objects are rendered correctly, but without the correct rotating textboxes.
Would you be kind to look at this issue?
Code :
//correct rendering shapes, no correct rotating
Document doc = new Document(“grouped_rotated.docx”);
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setDmlRenderingMode(DmlRenderingMode.FALLBACK);
doc.save(“DIR_TO_grouped_result_fallback.pdf”, saveOptions);
//no correct rendering shapes, correct rotating
Document doc = new Document(“grouped_rotated.docx”);
PdfSaveOptions saveOptions = new PdfSaveOptions();
doc.save(“DIR_TO_grouped_result_nofallback.pdf”, saveOptions);
Source file: grouped_rotated.docx
Distorted file with correct rotation : grouped_result_nofallback.pdf
fallback file with incorrect rotatition : grouped_result_fallback.pdf
Using :
aspose.words version 16.1.0
JDK1.7
Thank you for your time