Adobe 65030365 - FrameMaker - PC Manual page 503

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Returns
Void
Syntax
UnWrapElement()
UpdateXRefs
Description
Updates the cross-references in a document. The method performs the same operation as clicking Update in the Cross-
Reference window.
You can OR the following values into the
Flags
Constants.FF_XRUI_FORCE_UPDATE (0x08)
Constants.FF_XRUI_INTERNAL (0x01)
Constants.FF_XRUI_OPEN_DOCS (0x02)
Constants.FF_XRUI_CLOSED_DOCS (0x04)
Constants.FF_XRUI_EVERYTHING (0x01|0x02|0x03)
The method returns
FE_Success
Error
Constants.FE_WrongProduct (-60)
Constants.FE_BadDocId (-2)
Constants.FE_SomeUnresolved (-22)
Returns
int
Syntax
UpdateXRefs(updateXRefFlags)
Parameters
Parameter name
updateXRefFlags
SimpleImportElementDefs
Description
Imports element definitions and the format change list catalog from an EDD or FrameMaker document or book to a
FrameMaker document or book.
parameter:
updateXRefFlags
Meaning
Updates all cross-references, regardless of whether the source document has
changed
Only update internal cross-references
Only update cross-references whose sources are in open documents
Only update cross-references whose sources are in closed documents
Update all cross references.
on success. On failure, the method returns one of the following values to
Reason
Current FrameMaker version does not support the requested operation
Invalid document
There are some unresolved references after the update
Data Type
Optional
No
int
Last updated 9/26/2011
Description
Flags that indicate which cross-references to update.
495
:
FA_errno

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents