[Zope] Rendering Word .doc and PowerPoint .ppt as thumbnails

Hannu Krosing hannu@tm.ee
Sat, 10 Nov 2001 01:15:12 +0500


Brian Sullivan wrote:
> 
> Anybody have any idea how this can be done as a server function( either
> statically in conjunction with upload of the files or dynamically as
> server callable function)

If your zope runs on windows you can probably use appropriate viewers as 
COM servers and then resize screenshots in appropriate ways.

More convoluted ways on Linux/UNIX include but are not limited to ;)

1. use a VMWare subsystem that runs its own zope and has your host fs 
   mapped and that does the above or prints thru samba to a postscript 
   printer that is actually a ghostscript interpreter that renders
   to jpeg file.

2. use OpenOffice / KOffice / Abiword / Wine+Wordview etc. to do the
same.

3. write a Word .doc and PowerPoint .ppt parser renderer ;)

4. hope that there is a way to extract a thumbnail from the word/ppt
   file and do it.

5. Use a human-automaton that dos 1. or 2.

--------------
Hannu