Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeChangeSetOptions

OfficeIMO.Diff

Namespace
OfficeIMO.Diff
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Constructors

public OfficeChangeSetOptions() #

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.