Edit in GitHubLog an issue

Footnotes

A collection of footnotes.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the Footnote.


Footnote add( LocationOptions at, Mixed reference, Object withProperties )

Creates a new footnote.

Parameters

TypeNameDescription
LocationOptions
at
The location of the footnote reference number in the main text relative to the reference object or within the story. (Optional)
Mixed
reference
The reference object. Note: Must be an insertion point or a note. Required when the at parameter specifies before or after. Can accept: Note or InsertionPoint. (Optional)
Object
withProperties
Initial values for properties of the new Footnote (Optional)

Footnote item( Mixed index )

Returns the Footnote with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

Footnote itemByName( String name )

Returns the Footnote with the specified name.

Parameters

TypeNameDescription
String
name
The name.

Footnote itemByID( Number id )

Returns the Footnote with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

Footnote itemByRange( Mixed from, Mixed to )

Returns the Footnotes within the specified range.

Parameters

TypeNameDescription
Mixed
from
The Footnote, index, or name at the beginning of the range. Can accept: Footnote, Long Integer or String.
Mixed
to
The Footnote, index, or name at the end of the range. Can accept: Footnote, Long Integer or String.

Footnote firstItem()

Returns the first Footnote in the collection.


Footnote lastItem()

Returns the last Footnote in the collection.


Footnote middleItem()

Returns the middle Footnote in the collection.


Footnote previousItem( Footnote obj )

Returns the Footnote with the index previous to the specified index.

Parameters

TypeNameDescription
Footnote
obj
The index of the Footnote that follows the desired Footnote.

Footnote nextItem( Footnote obj )

Returns the Footnote whose index follows the specified Footnote in the collection.

Parameters

TypeNameDescription
Footnote
obj
The Footnote whose index comes before the desired Footnote.

Footnote anyItem()

Returns any Footnote in the collection.


Footnote everyItem()

Returns every Footnote in the collection.


String toSource()

Generates a string which, if executed, will return the Footnote.


Footnote []( Number index )

Returns the Footnote with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.