#1
|
|||
|
|||
Compare two word documents gives FORMATT changes for ListItems
I compared two word documents which has same content using office COMPARE functionality, I noticed FORMATT change differences for all the lsit items in the document. I have no clue why word compare shows like this, I expect word found no difference message when I compare them.
details description: I open test.htm file in word app and save as a.doc, I again open test.htm file and save it as b.doc. When I compare a.doc and b.doc I noticed FORMATT changes for all the list items, logically there should not be any difference between docs. below is the snippet of test.htm file <body class="text"> <div title="_:JsrLabel" style="font-family: 'Times New Roman'; font-size: 12pt; break-before: page; "> <div class="Section1"> <a name="Section_1"/> <div title="_:TextSection" class="" id="Section_1"> <a name="L84214191"/> <div title="_:List" class="JsrList" id="L84214191"> <ul class="JsrDisc"> <li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; color: red;mso-list:l1 level1 lfo1;tab-stops:list .5in">ListItem1</li> <li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; color: red;mso-list:l1 level1 lfo1;tab-stops:list .5in">ListItem2</li> <li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; color: red;mso-list:l1 level1 lfo1;tab-stops:list .5in">ListItem3</li> </ul> </div> </div> </div> </div> </body> I observed that after adding below style manually with hardcoded ids in the head section of html file and repeating the process gives no difference. @list l1 {mso-list-id:1149051274; mso-list-template-ids:-679422818;} .... .... </style> ... </head> my question is how to get or generate or find mso-list-id/mso-list-template-ids, seems these ids are unique and created dynamically during rendering process. any directions/suggestions to style as mentioned above will be highly appreciated thanks for your time and consideration |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word documents looking weird | Geert | Word | 0 | 09-17-2009 02:26 AM |
Compare data in different columns in an Excel sheet | kgfendi | Excel | 5 | 05-16-2009 05:42 PM |
compare files | rmartin8 | Word | 1 | 02-10-2009 10:27 AM |
Copying tables between Word documents best practices? | dylane | Word Tables | 0 | 12-18-2008 12:21 PM |
Some Word documents open slower than others | Mosaic | Word | 1 | 09-21-2007 02:53 PM |