GroupDocs.Comparison For .NET 3.5.0 Release Notes

Major Features

There are 9 improvements and fixes in this regular monthly release. The most notable are:

  • Introduced multiple comparison support for Comparison.Words
  • Introduced apply/discart support for multiple comparison for Comparison.Words
  • Introduced page header and foooter text absorbers for Comparison.PDF
  • Improved¬†¬†paragraph absorber for Comparison.PDF

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
COMPARISONNET-877GroupDocs.Comparison.Words: Add option to compose multiple result list from result lists of each documentNew Feature
COMPARISONNET-876GroupDocs.Comparison.Words: Support comparing multiple documents with track changesNew Feature
COMPARISONNET-909GroupDocs.Comparison.PDF: Add support of absorption of the Page FooterNew Feature
COMPARISONNET-910GroupDocs.Comparison.PDF: Add support of absorption of the Page HeaderNew Feature
COMPARISONNET-880GroupDocs.Comparison.Words: Add apply/discard changes support for multiple result changes listNew Feature
COMPARISONNET-880GroupDocs.Comparison.Words: Document processing performance improvementImprovement
COMPARISONNET-886GroupDocs.Comparison.PDF: Divide text into paragraphs by checking if the text fragments are contained in different parent objectsImprovement
COMPARISONNET-904GroupDocs.Comparison.PDF: Improved Comparison paragraph absorber for cases with plain textImprovement
COMPARISONNET-873GroupDocs.Comparison.PDF: Improved text comparison support for all Adobe Acrobat formatsImprovement

Public API and Backward Incompatible Changes

Compare words documents

Compare source document with two target documents method MultiCompareWith.

// Enter documents paths
string sourcePath = @"Groupdocs.Comparison.Samples.data.Words.source.docx";
string target1Path = @"Groupdocs.Comparison.Samples.data.Words.target1.docx";
string target2Path = @"Groupdocs.Comparison.Samples.data.Words.target2.docx";

// Create list of targets documents
List<IComparisonDocument> ListOfTargetDocuments = new List<IComparisonDocument>();

// Open documents
ComparisonDocument source = new ComparisonDocument(sourcePath);
ComparisonDocument target1 = new ComparisonDocument(target1Path);
ComparisonDocument target2 = new ComparisonDocument(target2Path);

// Add target documents in list
ListOfTargetDocuments.Add(target1);
ListOfTargetDocuments.Add(target2);

// Call method MultiCompareWith.
IWordsCompareResult result = source.MultiCompareWith(ListOfTargetDocuments, new WordsComparisonSettings());

Compare source document with three target documents method MultiCompareWith.

// Enter documents paths
string sourcePath = @"Groupdocs.Comparison.Samples.data.Words.source.docx";
string target1Path = @"Groupdocs.Comparison.Samples.data.Words.target1.docx";
string target2Path = @"Groupdocs.Comparison.Samples.data.Words.target2.docx";
string target3Path = @"Groupdocs.Comparison.Samples.data.Words.target3.docx";

// Create list of targets documents
List<IComparisonDocument> ListOfTargetDocuments = new List<IComparisonDocument>();

// Open documents
ComparisonDocument source = new ComparisonDocument(sourcePath);
ComparisonDocument target1 = new ComparisonDocument(target1Path);
ComparisonDocument target2 = new ComparisonDocument(target2Path);
ComparisonDocument target3 = new ComparisonDocument(target3Path);

// Add target documents in list
ListOfTargetDocuments.Add(target1);
ListOfTargetDocuments.Add(target2);
ListOfTargetDocuments.Add(target3);

// Call method MultiCompareWith.
IWordsCompareResult result = source.MultiCompareWith(ListOfTargetDocuments, new WordsComparisonSettings());