摘要
本文主要研究了在JAVA环境下,使用XML技术将EXCEL中存储的数据和在页面中由用户输入的数据动态生动生成Word文档的方案,实现了对固定模板格式的word文档自动生成操作。对比了常用JAVA生成word文档技术的优缺点。并以培训证书生成为例,描述如何使用JAVA和XML技术相结合自动生成具有固定格式的word文档,并给出了关键代码。
This pager mainly research how to automatically generating word document that using XML technology from Excel and user input in the page in java environment.Implementing operate automatically generated of fi xed template for word document.Comparisoning the advantages and disadvantages of commonly used java to generate word document.Certifi cate of training as an example,analyzing and describing how to use java and XML technology automatically generates the word documents that has a fi xed format,and given a key code.
出处
《信息与电脑(理论版)》
2010年第1期124-126,共3页
China Computer & Communication