将内容控件的内容导出到另一个Word文档中 [英] Export the content of content control into another word document
本文介绍了将内容控件的内容导出到另一个Word文档中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Word文档,其中包含许多内容控件.如何将内容控件的内容导出到另一个Word文档中? 我正在使用C#并打开xml SDK. 问候.
I have a word document with many content controls. How can I export the content of content control into another word document? I'm using C# and open xml sdk. Regards.
推荐答案
以下两篇很棒的文章将向您展示如何做到这一点:
Here are two great articles that will show you how to do this:
- Using LINQ to XML to Retrieve Content Controls in Word 2007
- Using Nested Content Controls for Data and Content Extraction from Open XML WordprocessingML Documents
这篇关于将内容控件的内容导出到另一个Word文档中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文