2022.2

Table Of Contents
"SelectedIndexInJob()" on page182 Integer Index of the page among all the selected pages in the Job.
"Sort(const String Name, optional TSortFlags Flags, optional const String
Name2, optional TSortFlags Flags2, optional const String Name3,
optional TSortFlags Flags3)" on page183
Sorts the sub-nodes according to a number of criteria.
MetaDocument
Properties
Name Type Description
"Attributes" on
page184
MetaCollection Returns the node's attribute collection. (See the "Metadata Attributes reference" on page73.)
"Count" on page174 Integer Returns the number of child nodes.
"Fields" on page185 MetaCollection Returns the node's field collection.
"Index" on page174 Integer Gets the index of the node in its parent.
"NodeType" on
page174
TNodeType
Returns the node type of the current Node.
Note that the TNodeType type is not defined in an Active Script environment, such as the Run Script task. See the
detailed reference for the numerical values to use.
"Parent" on
page175
Node Returns the parent node of the current node.
"Selected" on
page175
Bool Indicates whether or not the Node is set to be printed.
"SelectedCount" on
page175
Integer
Returns the number child nodes selected to be output. (See also: "Including or excluding nodes from the out-
put" on page173.)
"SelectedState" on
page175
Integer
Returns an integer indicating whether the node is selected or not, taking its parents into account.
0: The node is not selected.
1: The node is selected but one of its parents is not.
2: The node and all of its parents are selected.
Methods
Name
Return
type
Description
"Add(Integer Index)" on page176 Node Adds a new child node to the current node.
"AttributeByIndex(Integer Index)" on page176 String Returns the specified attribute's value.
"AttributeByName(const String Name)" on page177 String Returns the value of the attribute of the specified name.
"Clear()" on page177
Deletes all the child nodes as well as the attributes and
fields.
"Copy() " on page177 Places a copy of the node in the metadata clipboard.
"Cut()" on page177 Removes the node and places it in the metadata clipboard.
"Delete()" on page177 Deletes the node.
"FieldByIndex(Integer Index)" on page178 String Returns the specified field's value.
Page 168