Adobe FrameMaker-12 Object Model JS: AttributeDefs

FrameMaker 12.0

Class

AttributeDefs

 

An Array of AttributeDef objects with integer indexing and a length property.

See also AttributeDef.

QuickLinks

concat, pop, push

Properties

PropertyTypeAccessDescription
lengthnumber r/wThe length of the array

Methods

Instances

AttributeDefs concat (value: AttributeDefs)
Returns a new array created by concatenating the given values to the end of the original array.
The original array is unchanged. If an array is provided as a parameter to concat(), each of its elements are appended as separate array elements at the end of the new array. Returns a new array, the result of concatenation the given values to the end of the original array.

ParameterTypeDescription
valueAttributeDefsAny number of values to be added to the end of the array.
Can also be arrays.

AttributeDef pop ()
Removes the last element from the array.

number push (value: AttributeDef)
Places value onto the end of the array.
Returns the new length of the array.

ParameterTypeDescription
valueAttributeDef

Element of

ElementDef.AttributeDefs

TypedVal.adsval

Used in:

AttributeDefs AttributeDefs.concat (value: AttributeDefs)

Return

AttributeDefs AttributeDefs.concat (value: AttributeDefs)

AttributeDefs ElementDef.GetAttributeDefs ()

Jongware, 18-Jan-2015 v1.0Contents :: Index