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

Free Support Forum - aspose.com

Text Position is Changed | ODT to PDF Conversion using .NET

I am converting an ODT-file to PDF.
The file has a footer with the text “my footer”.
After conversion, it becomes a header.

I am using LibreOffice 7.0.4.2 (x64) to edit a file.

For converting I am using Aspose.Words 19.12 for .Net.

I also checked this file in the online converter https://products.aspose.app/words/conversion. I think the site uses a newer version (21.x). But the mistake was repeated.

Attached my ODT-file. wrong-footer.zip (10.5 KB)

@Roger_Wood

Please note that Aspose.Words mimics the behavior of MS Word. If you convert your document to PDF using MS Word, you will get the same output.

Yes, the MS Office (2013, 2019, …) converts this file incorrectly too.

The ODT format is the OpenOffice (LibreOffice) format, so I think we need to focus on how LibreOffice (as a vendor) works with this file.

MS Office is not interested in absolute correct support for ODT format, as their own format is a competitor.

@Roger_Wood

You are facing the expected behavior of Aspose.Words. MS Word also does not not render the desired text. This is by design.

tahir.manzoor, thank you for your answers.