TextEndnoteRanges

A collection of endnote text ranges.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

count(
)
 → number
item(
index)
 → EndnoteRange
itemByID(
id)
 → EndnoteRange
itemByName(
name)
 → EndnoteRange
itemByRange(
from, to)
 → EndnoteRange
nextItem(
obj)
 → EndnoteRange
toSource(
)
 → string
anyItem(
)
 → EndnoteRange
Returns any EndnoteRange in the collection.
count(
)
 → number
Displays the number of elements in the EndnoteRange.
everyItem(
)
 → EndnoteRange
Returns every EndnoteRange in the collection.
firstItem(
)
 → EndnoteRange
Returns the first EndnoteRange in the collection.
item(
index)
 → EndnoteRange
Returns the EndnoteRange with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → EndnoteRange
Returns the EndnoteRange with the specified ID.
id number The ID.
itemByName(
name)
 → EndnoteRange
Returns the EndnoteRange with the specified name.
name string The name.
itemByRange(
from, to)
 → EndnoteRange
Returns the EndnoteRanges within the specified range.
from The EndnoteRange, index, or name at the beginning of the range. Can accept: EndnoteRange, Long Integer or String.
to The EndnoteRange, index, or name at the end of the range. Can accept: EndnoteRange, Long Integer or String.
lastItem(
)
 → EndnoteRange
Returns the last EndnoteRange in the collection.
middleItem(
)
 → EndnoteRange
Returns the middle EndnoteRange in the collection.
nextItem(
obj)
 → EndnoteRange
Returns the EndnoteRange whose index follows the specified EndnoteRange in the collection.
obj EndnoteRange The EndnoteRange whose index comes before the desired EndnoteRange.
previousItem(
obj)
 → EndnoteRange
Returns the EndnoteRange with the index previous to the specified index.
obj EndnoteRange The index of the EndnoteRange that follows the desired EndnoteRange.
toSource(
)
 → string
Generates a string which, if executed, will return the EndnoteRange.