Release notes
This is a very lightly tested and completely unauthorised (I don't seem to get any email back!) revision of Eric Barroca's MSWordDocument, hacked to store everything in the filesystem. LINUX ONLY at this time. I have no need for a windows version...
NOTE: Images now work. Linux seens to work fine, M$win will certainly NOT work. If you fix the MSWordWin.py, please let me know.
Like MSWordDocument, it needs a working installation of wvWare which zope can find. Unlike the original, this definitely won't work on windoze. Seems fine on a redhat linux box.
Follow the usual dangerous drill: untar this somewhere convenient (in your Zope Products directory or symlinked there), do any configuration you need (see below), restart Zope and with any luck, it should work.
Configuration:
- Set the self.prefix in MSWord.py to point to your wvware install (eg /usr/local)
- Set the self.basepath directory at the top of MSWord.py, and any MSWordDocumentFS you add will magically create a subfolder which corresponds to your zope folder heirarchy - eg if you add an MSWordDocumentFS with ID "boo" to your zope folder /baz/blat, a new directory will be created under basepath (default is /usr/local/zopeinstancehome/docfolder) called /baz/blat/boo. This new directory will contain all files - the original .doc, the wvWare created .pdf and .html together with intermediates created in the process
There are probably huge security problems and other zopesite eating bugs; external use only; use at your own risk; etc.