Class
OfficeChangeSetOptions
OfficeIMO.Diff
Settings for OfficeChangeSet.FromTextDiff.
Inheritance
- object
- OfficeChangeSetOptions
Usage
Explore 1 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.
Accepted by parameters 1
- Method OfficeChangeSet.FromTextDiff
Constructors
public OfficeChangeSetOptions() #Inherited Methods
Properties
public bool DetectMoves { get; set; } #Pairs a deletion with an insertion of the same text elsewhere and reports them as one move. The default is true.
public int MinimumMoveLength { get; set; } #Shortest text, in characters after collapsing whitespace, that is reported as a move. The default is 12.
public bool IncludeWhitespaceOnlyChanges { get; set; } #Keeps changes that only add or remove whitespace. The default is false.
public string? OldSource { get; set; } #Name of the old document, written to reports.
public string? NewSource { get; set; } #Name of the new document, written to reports.
public Func<int, int?>? OldPageNumber { get; set; } #Maps an old token index to its page number, when the source is paged.
public Func<int, int?>? NewPageNumber { get; set; } #Maps a new token index to its page number, when the source is paged.