|
Posted by "George Pitcher" on 05/26/05 09:07
Well guys, thanks for the feedback.
Firstly, I am on Windows, and my server runs on NT4. I have no say on that -
company policy.
The files are not zipped in any way as they are being sent to publishers'
rights departments, who struggle with PDFs at times.
I think I'll give COM a try. I do use it to parse an Excel file that we
receive in a predefined format.
Cheers
George
> -----Original Message-----
> From: Rory Browne [mailto:rory.browne@gmail.com]
> Sent: 26 May 2005 2:47 am
> To: Jochem Maas
> Cc: George Pitcher; php-general@lists.php.net
> Subject: Re: [PHP] Building multi-page Word docs with PHP?
>
>
> 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@iamjochem.com> 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
> >
> >
>
[Back to original message]
|