libreoffice-impress

Edit source code of Impress odp file


I want to edit the source code of an Impress file (.odp) but when I open it is just machine coded.

I want to do it because when I converted files from PowerPoint to an Impress File some parts got mixed up. Like for example footer and numbering can't be changed globally. So by editing the source code, I hope to be able to use find/replace in a Text Editor.


Solution

  • LibreOffice formats are zipped archives primarily containing XML files. So unzip the .odp and then edit content.xml.

    When finished, zip it back up, making sure to zip it from the correct directory (the one that contains content.xml).

    Documentation: https://help.libreoffice.org/Common/XML_File_Formats#XML_file_structure.