BuildingBlocks
A collection of cross reference building blocks.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
BuildingBlock add( BuildingBlockTypes blockType, CharacterStyle appliedCharacterStyle, String customText, Object withProperties )
Creates a new cross reference building block.
Parameters
Number count()
Displays the number of elements in the BuildingBlock.
BuildingBlock item( Mixed index )
Returns the BuildingBlock with the specified index or name.
Parameters
BuildingBlock itemByRange( Mixed from, Mixed to )
Returns the BuildingBlocks within the specified range.
Parameters
BuildingBlock firstItem()
Returns the first BuildingBlock in the collection.
BuildingBlock lastItem()
Returns the last BuildingBlock in the collection.
BuildingBlock middleItem()
Returns the middle BuildingBlock in the collection.
BuildingBlock previousItem( BuildingBlock obj )
Returns the BuildingBlock with the index previous to the specified index.
Parameters
BuildingBlock nextItem( BuildingBlock obj )
Returns the BuildingBlock whose index follows the specified BuildingBlock in the collection.
Parameters
BuildingBlock anyItem()
Returns any BuildingBlock in the collection.
BuildingBlock everyItem()
Returns every BuildingBlock in the collection.
String toSource()
Generates a string which, if executed, will return the BuildingBlock.
BuildingBlock []( Number index )
Returns the BuildingBlock with the specified index.