ADOBE FRAMEMAKER 10
MIF Reference
130
Usage
The XRef statement marks where a cross-reference appears in text. The XRefName statement applies a format to the
cross-reference text; its string argument must match the name of the format provided by an
XRefFormat statement.
The XRefSrcText statement identifies the cross-reference source. If the source text is in a separate file, the XRefS-
rcFile
statement provides a device-independent filename. You can omit it or give it an empty string argument if the
cross-reference source is in the same file.
The
XRefEnd statement marks the end of the cross-reference.
Any
String or Char statements between the XRef and XRefEnd statements represent the actual text of the cross-
reference. These intermediary statements are optional.
For an example of a cross-reference in MIF, see “Creating cross-references” on page 36.
The
XRefLocked statement is used for text insets that retain formatting information from the source document.
If the
<XRefLocked Yes> statement appears in a specific cross-reference, that 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.
If the
<XRefLocked No> statement appears in a specific cross-reference, that cross-reference is not part of a text
inset, or is part of a text inset that reads formatting information from the current document. The cross-reference is
affected by global formatting performed on the document.
For more information about text insets, see “Text insets (text imported by reference),” next.
Text insets (text imported by reference)
In a FrameMaker document, text can be imported by reference from another file. When the text in the original file
is modified, the imported text in the FrameMaker document is updated with changes. Text imported by reference is
called a text inset. In a MIF file, text insets are defined by the
TextInset statement.
A
TextInset statement appears in the ParaLine statement representing the location of the text being imported.
When text is imported by reference, the resulting text inset can be formatted either as regular text or as a table.
The source file (from which the text is imported) can be a FrameMaker document or any other kind of text file. The
source file can also be a file that is created, maintained, and updated by an FDK client (a program created with the
Frame Developer’s Kit.
TextInset statement
The TextInset statement defines text that has been imported by reference. A TextInset statement appears in a
ParaLine statement.
Syntax
<TextInset
<Unique num>
Unique ID number assigned by FrameMaker
<TiName string>
Specifies a name for the text inset that may be assigned by an FDK client
or by this statement in a MIF file; FrameMaker does not automatically
assign a name for the text inset
<TiSrcFile pathname>
Specifies the source file with a device-independent filename (for
path-
name
syntax, see page 7)