Microsoft Word: comparator configuration
The comparators of the Word and Documentation components can be customized. Proceed as follows:
- Start the AdminClient.
- Go to the Component type editor module.
- In the project tree, select the directory Microsoft or _Universal.
- Select the component Word or Documentation.
- Adjust the components under General, Compare these files, do not compare and Save these files, Do not save. For more information, see AdminClient > Component type editor.
Example of customizing the Documentation component type:
The comparison of a component (component type Word) with password protected content ends in an error. How can this be resolved?
There are several solutions available:
Change the configuration of the comparator
- Open the UserClient.
- Go to the Edit tab in the ribbon and click on Edit component configuration.
- In Component configuration dialog click on Comparator configuration….
- The Comparison configuration dialog will open.
- Enter the password in the section Exclude lines from comparison.
- Check the checkbox Exclude all non-displayable characters from entire comparison.
Carry out a binary comparison of the passwords
Please note that if the passwords for two DOCX files that you want to compare are different, the only kind of comparison that will be possible is a binary comparison. And this requires you to first change the comparator from Winwordto Binaryfor this component type. Proceed as follows:
- Start the AdminClient and go to the Component type editor module.
- The Component type editor dialog is displayed.
- In the Component type library, select the component type for the component in question.
- Go to the table Compare these files. Find the comparator type Winword.
- Double-click on the comparator and change it to Binary in the dropdown list.
Create a version without a comparison
Alternatively, you can create a version without carrying out a comparison. To do this, go to the Extrastab in the ribbon of the UserClientand click on Version without difference.