ODT / ODF is basically zipped XML, so any XML library will do. You need to know the specification, but if you are going to write a new ODT file from scratch. It is much easier to unzip the existing ODT and paste the data into the content.xml file.
See OASIS OpenDocument Essentials (especially the “Merits of Cheating” paragraph)
source
share