Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

CompareHTMLGetDifferenceProperties Function

Overview

The CompareHTMLGetDifferenceProperties function gets the properties of the current difference in a Compare HTML Enumeration Object as created by the CompareHTMLGetFirstDifference function.

Syntax/Parameters

Syntax

string[] = CompareHTMLGetDifferenceProperties ( handle hCompareHTML );

Parameters

hCompareHTML

A handle to a valid Compare HTML Enumeration Object as created with the
CompareHTMLGetFirstDifference function.

Return Value

A string array containing information about the difference between the HTML files. On error the array will be empty. Use the GetLastError function to return details of the error.

Remarks

Textual information may be altered based on the options used for the comparison. For example, if the comparison options were set to ignore styling bold tags and other styles may be removed from the text.

Each entry within the returned list will have one of the following key names:

  Name   Description  
  Position Information      
    Type   Type of Operation (Insert/Delete/Replace)  
    BaseOffset   Offset to the difference in the base file.  
    BaseLength   Length of the difference in the base file.  
    RevisedOffset   Offset to the difference in the revised file.  
    RevisedLength   Length of the difference in the revised file.  
  Text Information      
    BaseText   Text from the base file.  
    RevisedText   Text from the revised file.  

 

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE