Adobe 65030365 - FrameMaker - PC Manual page 477

Scripting guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Returns
int
Syntax
ClearAllChangebars()
Compare
Description
Compares two documents or two books.
You can OR the values shown in the following table into the flags argument.
Flags
Constants.FF_CMP_SUMMARY_ONLY
(0x01)
Constants.FF_CMP_CHANGE_BARS (0x02)
Constants.FF_CMP_HYPERLINKS (0x04)
Constants.FF_CMP_SUMKIT (0x08)
Constants.FF_CMP_COMPKIT (0x10)
On success, the method returns a
the changes found, if any.
On failure, the method returns one of the following values to
Error
Constants.FE_BadDocId (-2)
Constants.FE_BadCompare (-35)
Constants.FE_CompareTypes (-34)
Constants.FE_WrongProduct (-60)
Returns
CompareRet
Syntax
Compare(newerDoc, flags, insertCondTag, deleteCondTag, replaceText, compareThreshold)
Meaning
Generate a summary document, but not a composite document.
Turn on change bars in the composite document.
Put hypertext links in the summary document.
Open the summary document.
Open the composite document.
structure containing the summary and composite documents detailing
CompareRet
Reason
Invalid document.
Documents to be compared are not of the same type.
One of the files is not a FrameMaker document or book, or one file is a book and the other is a
document.
The current FrameMaker version does not support the requested operation.
Last updated 9/26/2011
:
FA_errno
469

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents