检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国电子科技集团公司第二十八研究所,江苏南京210007
出 处:《计算机应用与软件》2015年第10期120-122,150,共4页Computer Applications and Software
摘 要:针对程序自动生成Word文档,提出一种基于Qt框架下的程序自动输出Word的方法。该方法使用Microsoft的Active X技术,利用Qt提供的Active Qt框架中QAx Container模块的QAx Object、QAx Widget类调用Word的COM组件,自动将获取的数据输出到Word模板中生成相关作战文书与文档,实验结果发现该方法有效解决了界面数据直接输出和多语言输出问题。根据某模拟训练系统中使用结果表明,该方法比其他Word生成方法能更好满足准确生成多语言文档的需求。For automatic Word documents generation in the program we proposed a Qt framework-based automatic output method of Word documents in program.This method applies ActiveX technology of Microsoft,uses the classes of QAxObject and QAxWidget,which belong to the QAxContainer module in ActiveQt framework provided by Qt,to invoke COM component of Word,and automatically writes the obtained data to WORD templates and generates the correlated fighting operation documents and archives.Experimental results found that the method effectively solved the problems of direct interface data output and multi-language output.According to the utilisation results in certain simulative training system,the method can better meet the needs of accurate multi-language document generation than other Word generation method.
关 键 词:QT ACTIVEX QAxWidget QAxObject WORD 生成
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222