本文介绍了使用openXML对单词进行动态内容控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,

我有一个数据表,其中有一列和一组行。

我想使用OpenXML为WORD动态创建内容控件。作为TextLabel和Row值的Datatable columnname将来自内容控件。一切都应该只在运行时创建。



DataTable:

Dear Friends,
I am having one datatable which have Column and set of Rows.
I want to dynamically create content control for WORD using OpenXML. Datatable columnname as TextLabel and Row values will come in content control. Everything should be created in Runtime only.

DataTable:

NAME         ADDRESS
ALEX         INDIA 
DAVID        USA





这些数据应如下所示

WORD DOCUMENT





These datas should come like below
WORD DOCUMENT

ALEX<Label>       INDIA<contentControl>
--------------------------------
DAVID<Label>         USA<contentControl>
--------------------------------







请帮助朋友。 ..:)




Please Help friends... :)

推荐答案


这篇关于使用openXML对单词进行动态内容控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 18:02