Settings

Settings  data structure defines comparison process additional settings

Settings example:


{
    "GenerateSummaryPage": true,
    "ShowDeletedContent": true,
    "ShowInsertedContent": true,
    "StyleChangeDetection": true,
    "InsertedItemsStyle": {
      "FontColor": "string",
      "HighlightColor": "string",
      "BeginSeparatorString": "string",
      "EndSeparatorString": "string",
      "Bold": true,
      "Italic": true,
      "StrikeThrough": true,
      "Underline": true
    },
    "DeletedItemsStyle": {
      "FontColor": "string",
      "HighlightColor": "string",
      "BeginSeparatorString": "string",
      "EndSeparatorString": "string",
      "Bold": true,
      "Italic": true,
      "StrikeThrough": true,
      "Underline": true
    },
    "ChangedItemsStyle": {
      "FontColor": "string",
      "HighlightColor": "string",
      "BeginSeparatorString": "string",
      "EndSeparatorString": "string",
      "Bold": true,
      "Italic": true,
      "StrikeThrough": true,
      "Underline": true
    },
    "WordsSeparatorChars": [
      "string"
    ],
    "UseFramesForDelInsElements": true,
    "CalculateComponentCoordinates": true,
    "MarkChangedContent": true,
    "MarkNestedContent": true,
    "MetaData": {
      "Author": "string",
      "LastSaveBy": "string",
      "Company": "string"
    },
    "Password": "string",
    "DiagramMasterSetting": {
      "MasterPath": "string",
      "UseSourceMaster": true
    },
    "OriginalSize": {
      "Width": 0,
      "Height": 0
    },
    "HeaderFootersComparison": true,
    "SensitivityOfComparison": 0
}

NameDescription
GenerateSummaryPageIndicates whether to add summary page to resultant document or not
ShowDeletedContentIndicates whether to show deleted components in resultant document or not
ShowInsertedContentIndicates whether to show inserted components in resultant document or not
StyleChangeDetectionIndicates whether to detect style changes or not
InsertedItemsStyleStyle for inserted components
DeletedItemsStyleStyle for deleted components
ChangedItemsStyleStyle for components with changed style
WordsSeparatorCharsAn array of delimiters to split text into words
DetailsLevelThe comparison details level  (Low, Middle, High)
UseFramesForDelInsElementsIndicates whether to use frames for shapes in Word Processing and for rectangles in Image documents
CalculateComponentCoordinatesIndicates whether to calculate coordinates for changed components
MarkChangedContentIndicates whether to use frames for shapes in Word Processing and for rectangles in Image documents
MarkNestedContentGets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted
CloneMetadataType of metadata to clone (Default, Source, Target, FileAuthor)
MetaDataUser metadata
PasswordSaveOptionType of password saving (None, Source, Target, User)
PasswordUser password to resultant document
DiagramMasterSettingMaster for Diagram document
OriginalSizeOriginal document size when picture is compared with other different formats
HeaderFootersComparisonControl to turn on comparison of header/footer contents
PaperSizeThe result document paper size (Default, A0, A1, … A8)
SensitivityOfComparisonA sensitivity of comparison (1..100). Default is 75