
545
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
If no flags are set, the element is invalid at its current position.
ElementDef
NewTextFmtRules
Description
Creates a
TextFmtRules
object. The method allows you to associate the created object with a specified property of the
parent object. For example, you can associate the text format rule as the text format rule of the element definition.
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
NewTextFmtRules()
NewObjectFmtRules
Description
Creates a
ObjectFmtRules
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
:
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.
Parent
Type of Object
Number of Instances That Can be Created
ElementDef
FmtRule
One
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...