开发者

Export the content of content control into another word document

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:

  1. Using LINQ to XML to Retrieve Content Controls in Word 2007
  2. Using Nested Content Controls for Data and Content Extraction from Open XML WordprocessingML Documents


content controls are not bound to CustomXMLParts. I'm using Altchunck to merge multiple docx files into one document. Each docx file is inserted within a content control.The merged document is opened in a winforms application using DSOFramer. I want to update the source docx file when the content control content is modified. Regards.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜