News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPHacks.com:
Generate OpenOffice documents with PHP
September 12, 2006 @ 08:21:01

PHPHacks.com shares some inforamation today on how to quickly and easily create OpenOffice documents with the help of a little PHP.

PHP DocWriter is a set of PHP classes that allows you to create documents in OpenOffice.org XML format (that is, StarOffice/OpenOffice.org documents). You can download the library files from here (http://phpdocwriter.sourceforge.net/download.php?lang=en). Also, you can find installation steps in the mentioned link.

With the library installed, it's a simple matter of creating a new object, defining properties and using methods on it and exporting it from the script. There are several examples included in the tutorial, everything from a simple "Hello World" example out to creating documents with meta-information and tables.

2 comments voice your opinion now!
openoffice document create tutorial docwriter xml openoffice document create tutorial docwriter xml


blog comments powered by Disqus

Similar Posts

ZendCasts.com: Building a JSON End-Point With SLIM and jQuery: Part 2

Christian Schaefer's Blog: Using Zend Framework components in a Symfony2 project

Port 25 Blog: FastCGI and PHP Works with IIS6 Too

Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 6: Zend_Form & Zend_Auth

NETTUTS.com: 7AMP - Creating a Development Environment


Community Events

Don't see your event here?
Let us know!


application podcast api community laravel series opinion language php7 conference example list interview yii2 composer framework introduction project part2 symfony

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework