You are here: Re: [PHP] Building multi-page Word docs with PHP? « PHP « IT news, forums, messages
Re: [PHP] Building multi-page Word docs with PHP?

Posted by Brent Baisley on 05/25/05 19:04

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация