Rendering Word .doc and PowerPoint .ppt as thumbnails
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)
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
On Fri, Nov 09, 2001 at 05:36:48PM -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)
I'm really short on details, but if it were a Windows machine as the server, I think I'd do some sort of COM hackery to load the document into Word/Powerpoint, print to a Postscript file, and then convert that into a pdf, graphic, whatever. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
participants (3)
-
Brian Sullivan -
Hannu Krosing -
Mike Renfro