简体   繁体   English

DevExpress中的可编辑Word文档报告

[英]Editable Word Document Report in DevExpress

I am generating my Report using DevExpress third party tool. 我正在使用DevExpress第三方工具生成报告。 my requirement is i have to print report in editable word document that end user can edit text and print. 我的要求是我必须在可编辑的Word文档中打印报告,最终用户才能编辑文本并打印。

DevExpress has a sample on how to export to doc/docx: http://devexpress.com/Support/Center/Example/Details/E4530 DevExpress提供了有关如何导出到doc / docx的示例: http : //devexpress.com/Support/Center/Example/Details/E4530

Needs DevExpress version 2012.2.6 to work though. 需要DevExpress版本2012.2.6才能运行。 If you don't have that version I think you need to check for other solutions. 如果您没有该版本,我认为您需要检查其他解决方案。

You can use XtraReport.ExportToRtf() . 您可以使用XtraReport.ExportToRtf() See here for the documentation 请参阅此处的文档

Microsoft Word will open and save an .rtf document without any problems. Microsoft Word将打开并保存.rtf文档,而不会出现任何问题。 If you really need the output in .doc or .docx format, have a look at this answer . 如果您确实需要.doc.docx格式的输出,请查看此答案

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

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