最近接到几个项目,总有一些怪异的需求,例如,在AIX Server端生成MS Word文档通过Email分发。
这里总结了几个项目中利用到的OpenSource项目。
[@more@]RTFTemplate
https://sourceforge.net/projects/rtftemplate/
RTFTemplate is RTF engine (RTF to RTF) which generate RTF by merging template RTF (model RTF) with JAVA object (context). RTFTemplate use Velocity for merging template with object. The RTF template can be designed with MS Word by using MERGEFIELD and BOO
Project Admins: azerr
Operating System: OS Portable (Source code to work with many OS platforms)
License: GNU Library or Lesser General Public License (LGPL)
Category: (None Listed)
PHP Dynamic Word/Excel Generator
https://sourceforge.net/projects/php-doc-xls-gen/
An ultra easy-to-use php code for creating dynamic MS Word OR Excel files from a MySQL database query. Suitable for beginners to use.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7176288/viewspace-903477/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7176288/viewspace-903477/
本文介绍如何在AIX服务器上生成MS Word文档,并通过电子邮件发送。主要利用了两个开源项目:RTFTemplate用于合并模板RTF文件和JAVA对象生成RTF文档;PHPDynamicWord/ExcelGenerator则提供了一个简单的PHP代码示例,可以从MySQL数据库查询创建动态的Word或Excel文件。
681

被折叠的 条评论
为什么被折叠?



