Office文档生成工具 OpenTBS 1.7.4 发布

fmms 12年前
     <p>OpenTBS 是基于 <span style="padding-bottom:0px;margin:0px;padding-left:0px;outline-width:0px;padding-right:0px;padding-top:0px;">TinyButStrong</span> 模板引擎的 PHP 工具(TinyButStrong是一个可以让PHP脚本和HTML文件干净分离的PHP模板引擎。TBS设计成可以使用任何可视化HTML编辑器来编写TBS的HTML模板页。),用来帮助生成 OpenOffice 和 MS Office 文档。</p>    <p>OpenTBS 1.7.4 发布,该版本改进如下:</p>    <blockquote>     <p><span style="line-height:normal;font-family:arial, sans-serif;">fixes the parameter &quot;default=current&quot;, which did not work and could build invalid documents when the target image was missing. It adds the commands OPENTBS_REPLACEFILE and OPENTBS_FILEEXISTS.</span></p>    </blockquote>    <p></p>    <p style="padding-bottom:0px;margin-bottom:10px;">示例代码:</p>    <pre class="brush:php; toolbar: true; auto-links: false;">include_once('tbs_class.php');  include_once('tbs_plugin_opentbs.php');     $TBS = new clsTinyButStrong;  $TBS->Plugin(TBS_INSTALL, OPENTBS_PLUGIN);</pre>    <p></p>    <p><a href="/misc/goto?guid=4958188258242463774" target="_blank"><strong>TinyButStrong</strong> </a>is a library that enables you to dynamically create XML/HTML pages and any other files based on text source. It's a <a href="/misc/goto?guid=4958195974439699599">Template Engine</a> for the PHP language. It enables you to easily display information from your database, but also to seriously harmonize and simplify your PHP programming.</p>    <p>TinyButStrong is oriented to HTML but not specialized to Html. This means it can work as well with Text files, XML, RSS, RTF, WML, Excel (xml), ... The <a href="/misc/goto?guid=4958195975206736165">OpenTBS</a> plug-in enables your to merge OpenOffice and Ms Office documents.<br /> </p>    <h2>TinyButStrong's trumps:</h2>    <ul>     <li>simplicity : 1 file only, 1 Php class only with 6 methods and 5 properties.</li>     <li>visual / WYSIWYG editors (such as Dreamweaver or FrontPage) friendly</li>     <li>database friendly,</li>     <li>fast development,</li>    </ul>    <h2>Main features:</h2>    <ul>     <li>can connect to any database type (in native: <span class="dataname">MySql</span>, <span class="dataname">SQLite</span>, <span class="dataname">PostgreSQL</span>),</li>     <li>easy date-time and numeric formats,</li>     <li>blocks with alternated display,</li>     <li>multi-columns display,</li>     <li>conditional display,</li>     <li>event functions,</li>     <li>file inclusion and other scripts execution,</li>     <li>cache system,</li>     <li>plug-ins.</li>    </ul>