I have docx
file that when I convert it to odt
with LibreOffice by CLI it not opened with Microsoft Office (but opened by LibreOffice). my Command:
libreoffice --headless --convert-to odt sample.docx
When I save it with LibreOffice GUI to odt
it open in both (Opened in Microsoft Office and LibreOffice)
I’m very confused and I do not know what is the reason for this file corruption.
My docx
file : Link
My odt
converted file with LibreOffice CLI that is corrupt: Link