FieldDifferenceViewer

MacroModule

genre

Fields

author

Wolf Spindler

package

FMEstable/ReleaseMeVis

definition

FieldDifferenceViewer.def

see also

DicomTreeCompare, ImageCompare

keywords

Compare, difference, fields

Purpose

FieldDifferenceViewer shows differences between strings from Input1 and Input2 as difference view created with the python library difflib. It is an easy solution for comparing tables or lists of values just by comparing their strings.

Note

A known issue is that the difference view of compared strings may fail if the compared strings contain html tags (the difference view is rendered as html code).

Windows

Default Panel

../../../Projects/FieldDifferenceViewer/Modules/mhelp/Images/Screenshots/FieldDifferenceViewer._default.png

Parameter Fields

Field Index

Font Size: Integer

htmlDiff: String

Input1: String

Input2: String

Wrap Column: Integer

Visible Fields

Input1

name: input1, type: String

Provides the first string to be compared.

Input2

name: input2, type: String

Provides the second string to be compared.

Font Size

name: fontSize, type: Integer, default: 14, minimum: 4

The size of the fonts to be used in displayed difference.

Wrap Column

name: wrapColumn, type: Integer, default: 80, minimum: 1

Specifies after which column long text lines shall be broken.

Hidden Fields

htmlDiff

name: htmlDiff, type: String, persistent: no