图书馆编写从C程序的ODF文件 [英] Library to write an odf file from a C program
本文介绍了图书馆编写从C程序的ODF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有谁知道一个图书馆,让我写一个ODT(开放文档格式,即OpenOffice的兼容)从C程序文件?
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?
推荐答案
ODT / ODF基本上是压缩XML,所以任何XML库都行。你需要知道,但如果你打算从头开始写一个新的ODT文件的规范。这是很容易到现有的ODT和插入数据解压到包含的content.xml文件。
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.
这篇关于图书馆编写从C程序的ODF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文