Login   Register  
PHP Classes
elePHPant
Icontem

TinyButStrong OOo: Generate OpenOffice documents from templates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-10-15 (9 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 1,240 All time: 2,859 This week: 1,504Up
Version License Categories  
tbsooo 1.0.0GNU Lesser General Publ...Files and Folders, Templates
Description Author  

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.

Features:

- 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: 188954 in France France
Week rank: 1770 Up50 in France France Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • 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

Downloadtbsooo-2005-10-15.zip 18KB
Downloadtbsooo-2005-10-15.tar.gz 16KB
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  
 0%Total:1,240All time:2,859
 This week:0This week:1,504Up
User Ratings User Comments (1)  
 All time
Utility:95%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:87%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:447
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar