OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Perform a word by word comparison of two paragraphs.

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Neil in Washington
General User
General User


Joined: 16 Jun 2006
Posts: 21
Location: Washington

PostPosted: Thu Aug 31, 2006 6:36 am    Post subject: Perform a word by word comparison of two paragraphs. Reply with quote

I have a proofreading excersize going on between source PDF files and the HTML output from a conversion task. Right now we are using Writer to compare the two documents by copying a corresponding section of text from each and pasting them into Writer, then using our Mark1 Calibrated Eyeball to find any differences.

There's GOT to be a better way! Sad

Is there a macro already written to read the two paragraphs/sections and compare them for us? I'm thinking in terms of a document merge, which does the same thing but on a document level. I have a guy who is trying to write a macro to do this, but I'm thinking that there should already be a valid tool for this.

Any ideas Question
_________________
Neil
Back to top
View user's profile Send private message
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3655
Location: Columbus, Ohio, USA

PostPosted: Thu Aug 31, 2006 10:14 am    Post subject: Reply with quote

Compare document seems like the best way to go, but if you want to do it in your own macro, then you will need to write the macro yourself. Jump through word by word and compare along the way!
_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Neil in Washington
General User
General User


Joined: 16 Jun 2006
Posts: 21
Location: Washington

PostPosted: Thu Aug 31, 2006 3:24 pm    Post subject: Reply with quote

As I understand the way a document compare works, it would involve too much overhead to do it that way. Kyle is making excellent headway, and I'm sure he'll have it working soon.

Thanks.
_________________
Neil
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group