We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Conversion from ODT has wrong page size and margins

Aspose is reporting page margins and widths smaller than actual.

I have uploaded a sample file, which displays in OpenOffice at 8 1/2 x 11, but is reported by Aspose to have left/right margins of 223 and pagewidth of 240.95.

e.g. section.PageSetup.LeftMargin

The attached file is an ODT file. Please change the filename extension to .odt to test.

The ratio of the given values to the correct values is 2.54. Inches/Cm problem?

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for your reporting this problem to us. I managed to reproduce the problem and created new issue #6460 in our defect database. I will notify you as soon as it is fixed.

Best regards.

We are happy to tell you that we released new version of Aspose.Words. This version includes fix of issue you found earlier (issue # 6460). You can download new version from here:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

http://www.aspose.com/community/files/51/file-format-components/aspose.words/entry154627.aspx

Best regards.

Thank you!

Steve