OfficeDiffOptions
OfficeIMO.Diff
Settings for OfficeDiff.
Inheritance
- object
- OfficeDiffOptions
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OfficeDiffHtmlOptions.DiffOptions
Accepted by parameters 6
- Method OfficeDiff.CompareCharacters
- Method OfficeDiff.CompareLines
- Method OfficeDiff.CompareTokens
- Method OfficeDiff.CompareWords
- Method OfficeDiff.Compare``1
- Method OfficeUnifiedDiff.Create
Constructors
public OfficeDiffOptions() #Inherited Methods
Properties
public OfficeDiffAlgorithm Algorithm { get; set; } #Alignment strategy. The default is OfficeDiffAlgorithm.Myers.
public bool SemanticCleanup { get; set; } #Merges short equal runs that sit between changes into the surrounding change, so that a change reads as one replacement instead of alternating fragments. The weight of a run is its item count, or its character count for text tokens. The default is false.
public long MaxWorkUnits { get; set; } #Maximum number of comparison steps before the remaining regions are reported as whole deletions and insertions. Zero or less means no limit. The default is 50,000,000.
public TimeSpan? Timeout { get; set; } #Maximum time spent aligning before the remaining regions are reported as whole deletions and insertions. Null or Timeout.InfiniteTimeSpan means no limit.
public bool IgnoreCase { get; set; } #Text comparison ignores case when true. Applies to the text helpers only.
public bool IgnoreWhitespace { get; set; } #Text comparison treats every whitespace token as equal to any other whitespace token when true, so changes in spacing or line breaks between words are not reported. Applies to the word and line helpers only.