
548
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Syntax
NewFirstPgfRules()
NewLastPgfRules
Description
Creates a
LastPgfRules
object.
The following table shows the parent object and the type of the object created by the method:
The method returns the created object, on success. On failure, the method assigns one of the following values to
FA_errno
:
Returns
FmtRule
Syntax
NewLastPgfRules()
ElementDefIsText
Description
Some structural elements in FrameMaker documents are placeholders for text. For example, when a Para element
contains text with a cross-reference element embedded in it, the ranges of text that surround the cross-reference
element are treated as elements themselves. These elements are called
text nodes
.
The
ElementDefIsText()
method checks the value of an element definition to determine whether the element it is
applied to is a text node.
The method returns
True
if the element definition corresponds to that of a text node, or
False
if it does not
correspond to a text node.
Returns
int
Parent
Type of Object
Number of Instances That Can be Created
ElementDef
FmtRule
Multiple
Error
Reason
Constants.FE_BadDocId(-2)
Invalid document.
Constants.FE_BadObjId(-3)
Invalid object.
Constants.FE_BadNew(-23)
Object cannot be created.
Constants.FE_BadPropNum(-4)
The property number is invalid.
Constants.FE_WrongProduct(-60)
Current product interface is not Structured Framemaker.