PHP Classes

TinyButStrong OOo: Generate OpenOffice documents from templates

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 1,261 All time: 3,041 This week: 488Up
Version License Categories
tbsooo 1.0.0GNU Lesser Genera...Files and Folders, Templates


This class can be used to generate OpenOffice by using templates and a template engine to replace the template placeholders by parameter values.

The class extends the template engine class TinyButStrong.

The class allows the creation of OpenOffice documents dynamically, providing the separation between the document formatting logic and content.

In practice, you create a template using OpenOffice with the TinyButStrong tags. Then you create a PHP script that calls the class to merges the document template with dynamically defined data to generate the output OpenOffice document.


- It works on Linux, Windows and other platforms.
- It works with OpenOffice 1.x documents and the new format used in OpenOffice 2 (OpenDocument 1.0, OASIS standard).
- It does not need an installation of OpenOffice on the server.
- It uses the TinyButStrong native syntax and methods. It can merge 'var' and 'blocks' using the TinyButStrong syntax like (var, block, if, then, frm, ...). The merge results respects the layout, justification and styles used in the template.

Innovation Award
PHP Programming Innovation award nominee
October 2005
Number 5

Prize: One downloadable copy of Komodo Pro
OpenOffice is a free software office suite that is becoming increasingly popular.

The fact that it uses XML based formats to save its documents opened a world a new possible applications that can easily parse and process OpenOffice documents.

This class takes advantage of that fact to provide a straightforward solution for generating OpenOffice document templates.

The templates can be created directly with OpenOffice, like a normal document, but the class does not require OpenOffice to be installed in order to process the templates and generate the output documents.

Manuel Lemos
Picture of Olivier LOYNET
Name: Olivier LOYNET <contact>
Classes: 1 package by
Country: France France
Age: ???
All time rank: 206256 in France France
Week rank: 271 Up7 in France France Up
Innovation award
Innovation award
Nominee: 1x

  • graph.gif
  Files folder image Files  
File Role Description
Accessible without login HTML file doc.html Doc. documentation
Plain text file doc_fr.html Doc. documentation french
Plain text file tbsooo_class.php Class tbsOOo class 18KB
Downloadtbsooo-2005-10-15.tar.gz 17KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
TinyButStrong template engine Download .zip .tar.gz extend the class to generate OpenOffice documents Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,041
This week:488Up
User Ratings User Comments (1)
 All time
14 years ago (kishore kumar)