是否可以将一些数据添加到 Word 文档中? [英] Is it possible to add some data to a Word document?

查看:23
本文介绍了是否可以将一些数据添加到 Word 文档中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以添加(通过 MS Word 对象模型?或通过编辑文件)一些自定义数据(可能是另一个文件?)

Is it possible to add (thru the MS Word object model? or by editing file) some custom data (another file maybe?)

在 MS Word 中打开、更改和保存文档后数据会保留吗?

Will be that data preserved after opening, changing and saving document in MS Word ?

(我需要在一些报表导出时在docx中放入一些跟踪数据,导入时会再次使用自定义数据)

(I need to put some tracking data in docx during some report export, custom data will be used again during import)

推荐答案

感谢您的所有回复.我使用自定义属性将一些 UserID 数据添加到生成的文档中,足以跟踪"文档并在以后导入.

Thank you for all responses. I used custom properties to add some UserID data to generated documents, it's enough to 'trace' document and be able to import it later.

http://msdn.microsoft.com/en-us/library/dhxe2d75.aspx

这篇关于是否可以将一些数据添加到 Word 文档中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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