var q = new Aspose.Words.Document(srcfilename);
q.Save(dstfilename,Aspose.Words.SaveFormat.Pdf);
When i set on source file word document the standard margin it works fine (the word document seems to be the same as the pdf document).But when i use other margin parameter (with same page format) on source file word document, the function produces more pages document in pdf file.
I added the office (2003) open xml file and result in pdf.
In fact, it works fine when open document with office 2007 and change margin twice small–>normal->small and save.After, the transformation works.May be the problem is due to office 2003 format ?
Thank you for additional information. I managed to reproduce the problem on my side and created new issue #8131 in our defect database. I will notify you as soon as it is fixed.
The problem occurs because there is the following in your XML document: