What I am trying to do is verify that certain headings exist and are in the correct order within this Word doc. This is just the first step in this program. Next I will need to copy certain sections from another Word document into this one under some of the headings. I was trying to avoid doing a text conversion because I will need the finished word document to retain all its headings and styles. Is there any way in Perl to search a Word doc and return the line number in the Word doc of the text I was looking for?
Any help would be greatly appreciated.