
406
ADOBE FRAMEMAKER SCRIPTING GUIDE
Object Reference
Last updated 9/26/2011
XRef
Property name
Data Type
Description
Element
Element
The associated element, if the cross reference is in a
FrameMaker document.
Locked
int
True if the cross-reference is part of a text inset that
retains formatting information from the source
document.
The cross-reference is not affected by global formatting
performed on the document.
NextXRefInDoc
XRef
Next cross-reference instance in document (FO_XRef ID).
TextRange
TextRange
Text range that the cross-reference instance
encompasses.
Unique
int
The cross-reference’s unique ID.
XRefFmt
XRefFmt
ID of the cross-reference’s format (FO_XrefFmt ID).
XRefFile
string
The filename of the file containing the cross-reference
source. If the cross-reference source is in the same
document as the cross reference, the filename is an
empty string ("").
XRefIsUnresolved
int
True if FrameMaker was unable to resolve the cross-
reference the last time it updated crossreferences.
Note:
This property is set only when
FrameMaker updates cross-references. Changes
to the document, in and of themselves, do not
affect this property.
XRefSrcText
string
If
XRefSrcIsElem
is False, the
XRefSrcTex
property is
a string specifying
UID:pgf_tag:text
, where
UID
represents the unique ID for the paragraph,
pgf_tag
is
the name of the paragraph format, and text is the text
content of the paragraph.If
XRefSrcIsElem
is True, the
XRefSrcTex
property is a string specifying
UID:src_name:text
, where UID is the value of the ID
attribute of the source element, name is the element tag,
and text is text content of the source element.
XRefSrcIsElem
int
True if the cross-reference source is a FrameMaker
structural element.
XRefSrcElemNonUniqueId
string
If
XRefSrcIsElem
is
True
, this is a string specifying the
value of @id of the source element inside the element
identified by the Unique ID in
XRefSrcText
. This is
required in cases where the Id of the source element is
not a Unique ID.
XRefAltText
string
Alternate text for display as the cross-reference link text.
This is given preference, if present, over the earlier
behavior of getting text from the source.
XRefClientName
string
The registered name of the client that created the cross-
reference.
XRefClientType
string
The identifier for specifying the source type for thecross-
reference.