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 = WIN32OLE.new('Word.Application')
doc = word.Documents.Open('c:\stuff.doc')
is_tracking = 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 via http://www.ruby-forum.com/.