Re: Building multi-page Word docs with PHP?
| From: | Jochem Maas | Date: | Wed, 25 May 2005 23:37:11 +0000 |
| Subject: | Re: Building multi-page Word docs with PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215829@lists.php.net to get a copy of this message | ||
George Pitcher wrote:
Hi, I currently create my multipage docs by saving my word templates as chunks of rtf and then calling them as required as a very long string then outputting them to an rtf file and renaming it as '*.doc'. It works great except for the filesize which comes out at 900k for a two-page document. Opening in Word and saving reduces the file down dramatically, but that would prevent auto-generation and emailing - without human intervention. Does anyone know how to either create multipage docs in Word format to begin with, or to convert (on the fly) rtf to doc, or to save rtf as smaller file?I googled a bit a stumbled across this: http://www.xmlw.ie/aboutxml/wordml.htm requires word2003 tho.
MTIA George