We're pleased to announce the release of Spire.Doc 14.4.9. This version adds several new properties to CompareOptions to support multi-dimensional document comparison. Additionally, the CompareOptions.IgnoreTable property has been renamed to CompareOptions.IgnoreTables for better naming consistency. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Adjustment | - | Renamed CompareOptions.IgnoreTable to CompareOptions.IgnoreTables for naming consistency. |
| New Feature | SPIREDOC-11910 | Adds several new properties to CompareOptions to support multi-dimensional document comparison:
· CompareMoves: Specifies whether to ignore moved content.
· IgnoreCaseChanges: Specifies whether to ignore case changes. · IgnoreFields: Specifies whether to ignore fields. · IgnoreFootnotes: Specifies whether to ignore footnotes. · IgnoreComments: Specifies whether to ignore comments. · IgnoreTextboxes: Specifies whether to ignore text boxes. Document doc1 = new Document();
doc1.LoadFromFile(inputFile_1);
Document doc2 = new Document();
doc2.LoadFromFile(inputFile_2);
CompareOptions options = new CompareOptions();
options.CompareMoves = false;
options.IgnoreCaseChanges = false;
options.IgnoreComments = true;
options.IgnoreFields = true;
options.IgnoreFootnotes = true;
options.IgnoreTables = true;
options.IgnoreTextboxes = true;
doc1.Compare(doc2, "user", new DateTime(), options);
doc1.SaveToFile(outputFile, FileFormat.Docx2013);
|
Click the link to download Spire.Doc 14.4.9:
More information of Spire.Doc new release or hotfix: