How to create .odt files with C#.NET?

后端 未结 6 1197
粉色の甜心
粉色の甜心 2020-12-31 23:58

Note: I found this \"Creating a Word Doc in C#.NET\", but that is not what I want.

Do you know how to create a .odt to create file from C#

6条回答
  •  难免孤独
    2021-01-01 00:35

    OpenOffice documents (odt) are ZIP files. You can unzip an existing one, modify the content.xml file by code and then use the ZipFile class from System.IO.Compression for example to get a zip file again. Open Office Specification

提交回复
热议问题