简体   繁体   English

如何通过 C#.net 将表格导出到开放式办公室电子表格(.ods 文件)中?

[英]How to export a table into the open office spreadsheet (.ods file) through C#.net?

I want to create a .ods file throught C#.net and also want to export tables,images into it.我想通过 C#.net 创建一个 .ods 文件,并且还想将表格、图像导出到其中。 Is there any solution for that?有什么解决办法吗?

All OpenDocument's is just a couple of XML-files, that are packed into zip-archive and named with different file extensions.所有 OpenDocument 只是几个 XML 文件,它们被打包到 zip 存档中并以不同的文件扩展名命名。 It's hard, but possible to write this documents with just only standard XMLWriter/ZipFile classes.这很难,但仅使用标准的 XMLWriter/ZipFile 类就可以编写此文档。 Format specifications are open to anyone .格式规范对任何人开放

But there are many packages that simplifies and abstracts this process.但是有很多包可以简化和抽象这个过程。 Take look on Aspose.Words for .NET and AODL NuGet package's at least.至少看看Aspose.Words for .NETAODL NuGet 包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM