This class can be used to generate OpenOffice documents 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 but with the TinyButStrong tags. Then you create a PHP script that calls the class to merge the document template with dynamically defined data. The class will generate and output the 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.

Limitations

  • You need to know the TBS template engine syntax (simple to learn)
  • It uses the ‘exec’ command from PHP
  • TBS fields merged in OpenOffice are text, so you can’t use OpenOffice format like date, number, link.
  • You can’t add/update dynamic image
  • You can’t add/update dynamic style

More information can be found here.

Got this question from a friend of mine. Before he starts posting at wordpress.com he wants to know if it will be possible to integrate Adsense in the template. Will this be possible in the foreseeable future?

What happens afters 7 days when an invited person doesn’t accept the invitation? Can I do another invite?

WordPress and TinyMCE

21 sep 2005

Wow, I am just testing out the TinyMCE / WordPress editor and I am really liking it. This makes live so much easier for the average blogger. Using Firefox I couldn’t find a single bug in the WYSIWYG editor while last time I checked TinyMCE was very buggy. So either the TinyMCE crew or the WordPress made a lot of progression..

Oh, and when are whe going to be able to host images @ wordpress.com?

Update 

Strange I did not notice it before: I can upload up to 25 mb. Way to go WordPress! 

Volg

Ontvang elk nieuw bericht direct in je inbox.