I have been using http://paggard.com/projects/doc.generator/ and its
predecessor for several years. This is a commercial PHP class and can
easily be slotted into Cake. The chap gives excellent support but the
script does cost (about $99 at the moment). I have programs that
routinely generate 100+ page docs from databases using it.

CSVs are much easier, there is a CSV helper around somewhere. In all
cases you can use Cakes existing routing/web services features to have
different views rendered from the same controller action depending on
the extension.

Ian

On Feb 5, 6:50 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> Heh, I had to do an export of some data a while ago, for a real life
> project. The request was PDF, Excel and CSV. CSV and PDF were easy
> (FPDF and..nothing), but when it came to Excel, I just couldn't find
> anything useful.
>
> So I cheated. I just created a regular HTML file with an .xls
> extension and it worked. My assumption is that the same would work
> with any version of M$ word (just tried it on my machine and it
> worked). Don't bother too much, if it works, the end user won't see
> the difference. :-)
>
> On Feb 5, 7:29 pm, chad <[EMAIL PROTECTED]> wrote:
>
> > Does anyone have a suggestion for converting very simply styled html
> > (bolds, italics, underlines) to something that msword will read and
> > maintain the formatting?  I've found some obscure html->rtf
> > converstion classes out there, but didn't know if I was missing
> > something obvious.  The html is being genereated with fckeditor.
> > Thanks!
> > Chad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to