Re: Building multi-page Word docs with PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've only read about being able to generate a Word document if you are running under Windows (which I am not). I gave up long ago trying to figure out the rtf spec to auto generate Word documents. I do exactly what you do, except I generate HTML instead and attach a .doc to the file. The Word document actually ends up being larger than the HTML document, but I don't do all that much formatting.
What you are looking for is something like the opposite of AntiWord, unless AntiWord has a reverse option.


On May 25, 2005, at 8:50 AM, 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?


MTIA


George

--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux