We use Aspose.Total for Java and have the follow issue:
1. Transform MS Word 2003 and 2007 document in PDF file:
- in the generated PDF file - image in the document title and the document title are not in one row as in the original document of generated PDF document
Attach files for reproducing the problem and transformed PDF files which are broken:
- case1-original file.doc and case1-generated pdf with Aspose.pdf;
- case2-original file.docx and case2-generated pdf with Aspose.pdf.
Our analysis failed to discover why MS Word ignores "Left side only" text wrapping option. So we cannot make a condition in AW to ignore this option in order to fix rendering of the customer’s document. Also we cannot ignore the option unconditionally, because then other documents having this option will be broken.
Document doc = new Document(MyDir + "case2-original file.docx");
Shape image = (Shape)doc.GetChild(NodeType.Shape, 1, true);
image.WrapSide = WrapSide.Both;
doc.Save(MyDir + "Out.pdf");