首页 | 本学科首页   官方微博 | 高级检索  
     

用Delphi生成Word报告及动态结构表格
引用本文:鲁保玉,杨新芳.用Delphi生成Word报告及动态结构表格[J].计算机应用与软件,2007,24(3):180-183.
作者姓名:鲁保玉  杨新芳
作者单位:漯河职业技术学院,河南,漯河,462002;漯河职业技术学院,河南,漯河,462002
摘    要:在Delphi中用Word作为报表输出工具可以进一步扩展应用程序的功能,便于用户对所生成的报表进行二次加工和重复使用.用Servers控件调用Word能够较好地实现Delphi对Word的控制.可以在Word中创建模板,在Delphi中运用该模板生成Word文档.对于文档中动态变化的部分,可预先设置好书签或关键字,在Delphi中通过定位书签或查找替换的方法更新Word文档.对于动态结构表格和多层次嵌套表格,可以通过巧妙地运用单元格的拆分与合并功能来创建.

关 键 词:Delphi  Word模板  书签  找替换  动态结构表格
修稿时间:2006-03-20

USING DELPHI CREATES THE WORD REPORT AND THE DYNAMICAL STRUCTURED FORM
Lu Baoyu,Yang Xinfang.USING DELPHI CREATES THE WORD REPORT AND THE DYNAMICAL STRUCTURED FORM[J].Computer Applications and Software,2007,24(3):180-183.
Authors:Lu Baoyu  Yang Xinfang
Affiliation:Luohe Vocational and Technical College, Luohe Henan 462002, China
Abstract:In programs written with Delphi, Using Word as report outputting tool can expand function of application and be advantageous to asers to redial and reuse reports. Using Servers controller to call Word to create templates, which can create Word documents. Setting bookmarks or keywords previously and replacing them can conduct the purpose of updating the dynamical parts of documents. Dividing and merging cells can create dynamical structured form and multiple inheritances embedded forms.
Keywords:Delphi Word template Bookmark Finding and replacing Dynamical structed form
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号