如何动态创建Word文档索引页面,词汇表页面使用Microsoft.Office.Interop.Word。 [英] How to Create word document Index page, Glossary page dynamically Using Microsoft.Office.Interop.Word.

查看:97
本文介绍了如何动态创建Word文档索引页面,词汇表页面使用Microsoft.Office.Interop.Word。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在VS-2015桌面应用程序中使用索引和词汇表页面生成动态word文档。

I need to generate dynamic word document with Index and Glossary page in VS-2015 desktop application.

can任何人帮助我如何动态生成索引和词汇表页面?

can any one help me about how to generate Index and Glossary page dynamically?

谢谢。

推荐答案

您是否尝试在插入您感兴趣的内容时录制宏?这将为您提供使用的基本对象,方法和属性。

Have you tried recording a macro when inserting the content you're interested in? That would give you the basic objects, methods and properties used.

由于您甚至没有告诉我们您打算使用哪种编程语言,因此在此阶段没有更多人可以提供帮助。如果您需要更多帮助,您应该添加已经用于"interoping"的
代码使用Word来解决您的问题,以及执行您计划使用的操作的宏代码。

Since you don't even tell us which programming language you intend to use, there's not much more anyone can do to help at this stage. If you want more assistance you should add the code you already have for "interoping" with Word to your question, as well as the macro code that performs the actions you plan to use.


这篇关于如何动态创建Word文档索引页面,词汇表页面使用Microsoft.Office.Interop.Word。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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