tbsOOo : TinyButStrong OOo

Author : Olivier LOYNET (tbsooo@free.fr)
Date : 2006-06-12
Version : 0.7.9
Web site : http://www.tinybutstrong.com
Forum : http://www.tinybutstrong.com/forum.php
Released under the GNU LGPL license : http://www.gnu.org/copyleft/lesser.html


tbsOOo PHP class extends the template engine TinyButStrong.

This class allows to create OpenOffice documents dynamically by separating display formatting from logic and data.
In practice, you create a template using OpenOffice with the TinyButStrong tags.
Then you create a PHP script that merges the template with a data source to get a new OpenOffice document.

Summary

News

Download

Features

Limitations

Requirements

server side

client side

Installation

Zip and Unzip

The process directory

OpenOffice

Tutorial

Step 1. Create a template with OpenOffice.

Step 2. Create a PHP script with the following code.

Step 3. Execute the script to get an new document with data merged !.

Examples

Tips

Class definition

Constructor

Methods

Method: SetZipBinary

Method: SetUnzipBinary

Method: SetProcessDir

Method: SetDataCharset

Method: NewDocFromTpl

Method: LoadXmlFromDoc

Method: SaveXmlToDoc

Method: AddFileToDoc

Method: GetPathnameDoc

Method: GetMimetypeDoc

Method: FlushDoc

Method: RemoveDoc

Method: ClearProcessDir