
469
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
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.
On success, the method returns a
CompareRet
structure containing the summary and composite documents detailing
the changes found, if any.
On failure, the method returns one of the following values to
FA_errno
:
Returns
CompareRet
Syntax
Compare(newerDoc, flags, insertCondTag, deleteCondTag, replaceText, compareThreshold)
Flags
Meaning
Constants.FF_CMP_SUMMARY_ONLY
(0x01)
Generate a summary document, but not a composite document.
Constants.FF_CMP_CHANGE_BARS (0x02)
Turn on change bars in the composite document.
Constants.FF_CMP_HYPERLINKS (0x04)
Put hypertext links in the summary document.
Constants.FF_CMP_SUMKIT (0x08)
Open the summary document.
Constants.FF_CMP_COMPKIT (0x10)
Open the composite document.
Error
Reason
Constants.FE_BadDocId (-2)
Invalid document.
Constants.FE_BadCompare (-35)
Documents to be compared are not of the same type.
Constants.FE_CompareTypes (-34)
One of the files is not a FrameMaker document or book, or one file is a book and the other is a
document.
Constants.FE_WrongProduct (-60)
The current FrameMaker version does not support the requested operation.
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...