你好,游客 登录 注册 搜索
背景:
阅读新闻

OpenTBS 1.8.1 发布,生成 Office 的模板工具

[日期:2013-09-02] 来源:oschina.net  作者:Linux [字体:大 中 小]

OpenTBS 是基于 TinyButStrong 模板引擎的 PHP 工具,用来帮助生成 OpenOffice 和 MS Office 文档。

示例代码:

include_once('tbs_class.php');
include_once('tbs_plugin_opentbs.php');
 
$TBS = new clsTinyButStrong;
$TBS->Plugin(TBS_INSTALL, OPENTBS_PLUGIN);

OpenTBS 1.8.1 改进记录:

  • The loaded template can now be a PHP file handle.
  • MS Excel Sheets are now saved with explicit references for rows and cells, so merged templates are viewable with LibreOffice and other third viewers.
  • Keywords for changing cell types are the same for LibreOffice and MS Office.
  • TbsZip 2.14 is now used.
  • A bug where a DOCX file could be corrupted when using "block=tbs:page" and the last paragraph of the document has no text was fixed

OpenTBS 的下载地址:请点这里

linux
相关资讯       OpenTBS 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款