FW: [Zope] m$ word question
John Whalley
J.H.Whalley@mmu.ac.uk
Fri, 26 Jul 2002 12:55:18 +0100
Hi,
The MSWordDocument product uses COM on Windows platforms to get Word to
create an HTML preview of uploaded files. Maybe this will help? The
installation instructions also tell you how to add the COM extensions to
Python, IIRC.
HTH
John Whalley
"Greg Conway" <greg@gmlnt.com> 26/07/02 01:13:52 >>>
--
* John Whalley, Crewe Site Library, Manchester Metropolitan University
* email: J.H.Whalley@mmu.ac.uk
* Phone: (+44) 161 247 5220 (UK)
* Usual disclaimer applies...........
>>> >> But if you know how to invoke the WORD-object from Python -
>>> >> which should be
>>> >> a piece of cake
>>> >> Then you only need the stream of data and voila.
>
>Can anybody please help me with the above? Maybe someone has some
example
>code they could (please please please!) throw my way so I can get a
starting
>point on this!!
>
>Maybe a piece of cake to some, but I am still struggling!
>
>Do I need to initalise COM to do this? (at the bottom of this mail)
>
>I am running Zope 2.5.0 - is COM already enabled in Zope by this
release by
>default?