
334
ADOBE FRAMEMAKER SCRIPTING GUIDE
Object Reference
Last updated 9/26/2011
FmtRule
FmtRule methods
Delete
,
GetProps
,
NewFmtRuleClauses
,
ObjectValid
,
SetProps
.
FmtRuleClause
Property name
Data Type
Description
CountElements
Strings
The list of element tags to count among the element’s
ancestors, if the format rule is a level rule. The tags are
specified by the
Count ancestors named
element of
the format rule.
ElementDef
ElementDef
Denotes the ID of the element definition that contains
the format rule (FO_ElementDef ID), if the format rule is
not nested.
FmtRuleClause
FmtRuleClause
Denotes the ID of the rule clause that contains the format
rule (FO_ElementDef ID), if the format rule is nested.
FmtRuleClauses
Objects
IDs of the format rule’s format rule clause objects
(FO_FmtRuleClause IDs).
FmtRuleType
int
The format rule’s type. The value is one of:
•
Constants.FV_CONTEXT_RULE (0)
•
Constants.FV_LEVEL_RULE (1)
StopCountingAt
string
Denotes the the tag of the element at which to stop
counting elements, if the the format rule is a level rule.
The tag is specified by the
Stop counting at first
ancestor named
element.
Property name
Data Type
Description
ContextLabel
string
The context label for generated files. The label cannot
contain white-space characters or any of these special
characters:
( ) & | , * + ? < > % [ ] = ! ;: { } "
When a user displays the Set Up dialog box to set up a
generated file, the label appears next to elements to
which the rule clause applies.
ElemPrefixSuffix
string
The text of the prefix or suffix. ElemPrefixSuffix specifies
NULL if there is no prefix or suffix.
FmtChangeList
FmtChangeList
If the format rule clause specifies a format change list
(
RuleClauseType
specifies
Constants.FV_RC_CHANGELIST ()
),
FmtChangeList
specifies the ID of the format change
list (FO_FmtChangeList ID).To change the
FmtChangeList
property, use the
NewFmtRuleObject()
property.
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...