![microsoft word track changes not showing strikethrough microsoft word track changes not showing strikethrough](https://docs.memoq.com/8-5/en/Images/0-c/customize_appearance_trackedchanges.png)
- #Microsoft word track changes not showing strikethrough windows 10
- #Microsoft word track changes not showing strikethrough code
Thank you Robin, I'm going to try this wayįinally I can detect words with this format (red and underlined or strikethrough,I write the solution at the bottom of the post) but I'm facing another problem. The only way to "check" the format of the text and formatting would be to compare images, which is not really reliable.Īnyhow, I found the following article, which might help you with the Interop test you created: The words within a Word doc are drawn, so there is no object recognition, besides GDI, available. See some examples in the picture I've attached. My objective is to find all the words in a document (Microsoft Word) that fulfill a specific format, which is: red and underlined or red and strike-through. If you need more files or information, ask meĭocument_appearance-Word.jpg (27.92 KiB) Viewed 2446 times Document_snapshot.rxsnp (108.49 KiB) Downloaded 132 times I would appreciate very much if someone could help me on this.
![microsoft word track changes not showing strikethrough microsoft word track changes not showing strikethrough](http://www.addbalance.com/usersguide/images/2010TrackChangesOptions.png)
I'm afraid this method returns a boolean but does not modify the range.
#Microsoft word track changes not showing strikethrough code
Regarding the strike-through words, I haven't found a code for searching them, just this: .StrikeThrough Word.Document myDocument = (wordComparedFilePath) Įven, as said, I've managed to define ranges starting by a specific searched word and ending with another word. Word.Application wordApp = new Word.ApplicationClass()
![microsoft word track changes not showing strikethrough microsoft word track changes not showing strikethrough](https://i.stack.imgur.com/Ezd8b.gif)
For the color research:Ī= //red color search.Īuxrng.Select() // It is selecting the whole previous range, no distinction for the first red wordĪ= Īuxrng.Select() /it is selecting the whole previous range againīefore this code, I had written previous code to communicate Ranorex and Microsoft Word, no problems with that. I've managed to do researches by words, although not by color, underlined or strike-through properties. My alternative has been to use some code in C# adapted to Microsoft, like explained in /en-us/library/kw65a0we.aspx and /en-us/dotnet/csharp/programming-guide/interop/how-to-access-office-onterop-objects Has Ranorex got something to perform that?
![microsoft word track changes not showing strikethrough microsoft word track changes not showing strikethrough](http://www.organizingcreativity.com/wp-content/gallery/blog_2013/changes1.png)
As well as not detecting word by word, I can't see the properties involving underlined and strike-through, I just can see the color property. Please, check the Ranorex Spy snapshot and compare it the Word document appearance that I've attached. However, Spy can't detect every word, it seems to detect some kind of text blocks whose pattern is unknown for me. See some examples in the picture I've attached.įirst of all, I've tried to perform it by means of Ranorex Spy, adding class name to GPI capture list.
#Microsoft word track changes not showing strikethrough windows 10
I'm working with Windows 10 Enterprise, Ranorex 8.1.1 and Microsoft Word 2010. Ranorex website: help/latest/technology-instrumentation/testing-of-legacy-applications I've already read these topics (I can't link URLs as my account is new):įorum. Hi! First of all, I want to apologize if I should have written this message in another section or if the topic already exists, I've done some research within the forum but I haven't come up with a solution.