Re: Building multi-page Word docs with PHP?

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

 



Before we get ahead of ourselves, can we ask what OS you're using George?

If you're using Windows, then you have COM. If you're not insane, then
you'll have to use unix tools. For turning documents TO word docs,
then the only way I can think of is to script OOo in some way.

I'm assuming that you're already gzipping your rtf files?

On 5/26/05, Jochem Maas <jochem@xxxxxxxxxxxxx> wrote:
> 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
> >
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
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