On Sep 30, 8:33=A0pm, David Mullet <david.mul... / gmail.com> wrote:
> Stuart Clarke wrote:
> > Hey all,
>
> > Is anyone aware of a library to identify the use of track changes in
> > Microsoft Word documents? I basically and looking for something to scan
> > the file and say 'Track Changes - Y/N'
>
> > Many thanks in advance
>
> Not sure if this can be done by "scanning the file".
>
> It can be done via Win32OLE, by checking the Document object's
> TrackRevisions property.
>
> require 'win32ole'
> word =3D WIN32OLE.new('Word.Application')
> doc =3D word.Documents.Open('c:\stuff.doc')
> is_tracking =3D doc.TrackRevisions
>
> That's an abbreviated example. Let me know if this would help and you
> need more details.
>
> David
>
> http://rubyonwindows.blogspot.com/search/label/word
> --
> Posted viahttp://www.ruby-forum.com/.

Try to run strings (see man strings) on the word doc and see if there
are any clues.