PHP DocWriter
PHP DocWriter is a set of PHP classes that generates simple StarOffice/OpenOffice.org Writer documents. It builds the document following the file format specification so you don't need to have OpenOffice.org installed, though if installed this class can generate other document formats like MS Word, PDF, RTF, StarWriter, LaTeX, XHTML, HTML, etc. Currently supports pages, paragraphs, text styles, images, tables, text boxes, headers, footers and drawings among other things.