Does anyone know of a library that will allow me to write an odt (Open Document Format, i.e. OpenOffice compatible) file from a C program?
相关问题
- Multiple sockets for clients to connect to
- What is the best way to do a search in a large fil
- glDrawElements only draws half a quad
- Index of single bit in long integer (in C) [duplic
- Equivalent of std::pair in C
ODT/ODF is basically zipped XML, so any XML library will do. You'll need to know the specification though if you're going to write a new ODT file from scratch. It's much easier to unpack an existing ODT and insert data into contained the content.xml file.
See OASIS OpenDocument Essentials (especially the "The Virtues of Cheating" paragraph)