代码从路径读取openoffice文件(.odt文件)并将其转换为在C#.net 2.0中生成pdf [英] Code to read openoffice file (.odt file) from a path and convert it to generate pdf in C#.net 2.0

查看:81
本文介绍了代码从路径读取openoffice文件(.odt文件)并将其转换为在C#.net 2.0中生成pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从路径读取openoffice文件(.odt文件)并将其转换为C#.net 2.0中的代码以生成pdf的代码.

Code to read openoffice file (.odt file) from a path and convert it to generate pdf in C#.net 2.0

推荐答案

您需要两种产品:使用.odt(开放文档格式)并使用pdf.

对于Open Document,您可以使用Independentsoft ODF .NET: http://www.independentsoft.de/odf/ [ ^ ].不幸的是,这是专有产品.您可以尝试查找其他内容.

对于pdf,可以使用名为iTextSharp的开放源iText的开放源.NET端口,请参见:
http://en.wikipedia.org/wiki/IText [ http://itextpdf.com/ [ ^ ],
http://sourceforge.net/projects/itextsharp/ [ http://pdfsharp.com/PDFsharp/ [
You need two products: to work with .odt (Open Document format) and to work with pdf.

For Open Document, you can use Independentsoft ODF .NET: http://www.independentsoft.de/odf/[^]. Unfortunately, this is proprietary product. You can try to find something else.

For pdf, you can use an Open Source .NET port of Open Source iText called iTextSharp, see:
http://en.wikipedia.org/wiki/IText[^],
http://itextpdf.com/[^],
http://sourceforge.net/projects/itextsharp/[^].

Another pdf product is Open Source PDFSharp, http://pdfsharp.com/PDFsharp/[^].

—SA


这篇关于代码从路径读取openoffice文件(.odt文件)并将其转换为在C#.net 2.0中生成pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆