Documents
A collection of documents.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Document add( Boolean showingWindow, DocumentPreset documentPreset, Object withProperties )
Creates a new document.
Parameters
Number count()
Displays the number of elements in the Document.
Document item( Mixed index )
Returns the Document with the specified index or name.
Parameters
Document itemByName( String name )
Returns the Document with the specified name.
Parameters
Document itemByID( Number id )
Returns the Document with the specified ID.
Parameters
Document itemByRange( Mixed from, Mixed to )
Returns the Documents within the specified range.
Parameters
Document firstItem()
Returns the first Document in the collection.
Document lastItem()
Returns the last Document in the collection.
Document middleItem()
Returns the middle Document in the collection.
Document previousItem( Document obj )
Returns the Document with the index previous to the specified index.
Parameters
Document nextItem( Document obj )
Returns the Document whose index follows the specified Document in the collection.
Parameters
Document anyItem()
Returns any Document in the collection.
Document everyItem()
Returns every Document in the collection.
String toSource()
Generates a string which, if executed, will return the Document.
Document []( Number index )
Returns the Document with the specified index.