Re: LibOLE2, WV, Word import-export progress report (and patches)


Subject: Re: LibOLE2, WV, Word import-export progress report (and patches)
From: Caolan McNamara (cmc@stardivision.de)
Date: Tue Apr 18 2000 - 02:11:41 CDT


>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 18.04.00, 03:58:29, James Montgomerie <jamie@montgomerie.net> wrote
regarding LibOLE2, WV, Word import-export progress report (and patches):

> P.S. I'm having problems getting my head around how to make this work
> with pre-OLE Word documents - You'll notice the relevent bits of code
> are commented out now. If anyone had any ideas, I'd like to hear them.

With word97 there are about three streams, table, maindocoment and data,
with
word 95 and 6 there are two, table and document. In this second case the
data
stream pointer is set by wv to point to the maindocument. And accesses to
data
are supposed to be protected by ftells and ftells back to the position
they were
at before the data stream was used. For pre OLE documents all that should
be
done is
make the data, table and maindocument streams all point to the actual
word file, protect every call that touches a different “logical stream”
with ftell/fseek. Find out the size of the older pre OLE structs and add
each different case to the current switch statements in the wvGet
functions for each supported preOLE version, the problem here is that the
sizes of these structs are basically unknown, though the layout should be
pretty close to that of word 6 except perhaps smaller structs with some
entries missing, and without graphics being embedded in escher structs,
probably just raw underneath the graphic headers.

James &| Justin, do you want to be the proper wv maintainers ?, its
becoming somewhat obvious that I haven’t the time for it. Would you be
interested in extending and completing the wvHtml and wvLaTeX parts of wv
as well as the library ? Do proper releases and take the wv related mail
mountain from me ? I have an online converter and buglisting stuff at
http://www.wvWare.com which has accumulated ludicrous amount of word
.doc’s which would be of use. I’d still like to maintain the website
perhaps, and make irregular weighty pronouncements.

C.



This archive was generated by hypermail 2b25 : Tue Apr 18 2000 - 02:11:09 CDT