Quantcast
Channel: PHPDeveloper.org
Viewing all articles
Browse latest Browse all 2

PHPHacks.com: Generate OpenOffice documents with PHP

$
0
0

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.


Viewing all articles
Browse latest Browse all 2

Trending Articles