Adobe InDesign CS5.5 (7.5) Object Model JS: CompositeFontEntries

InDesign CS5.5

Class

CompositeFontEntries

 A collection of composite font entries.

See also CompositeFontEntry.

QuickLinks

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

CompositeFontEntry [] (index: number)
Returns the CompositeFontEntry with the specified index.

ParameterTypeDescription
indexnumberThe index.

CompositeFontEntry add ([withProperties: Object])
Creates a new CompositeFontEntry.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new CompositeFontEntry (Optional)

CompositeFontEntry anyItem ()
Returns any CompositeFontEntry in the collection.

number count ()
Displays the number of elements in the CompositeFontEntry.

Array of CompositeFontEntry everyItem ()
Returns every CompositeFontEntry in the collection.

CompositeFontEntry firstItem ()
Returns the first CompositeFontEntry in the collection.

CompositeFontEntry item (index: varies)
Returns the CompositeFontEntry with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

CompositeFontEntry itemByID (id: number)
Returns the CompositeFontEntry with the specified ID.

ParameterTypeDescription
idnumberThe ID.

CompositeFontEntry itemByName (name: string)
Returns the CompositeFontEntry with the specified name.

ParameterTypeDescription
namestringThe name.

Array of CompositeFontEntry itemByRange (from: varies, to: varies)
Returns the CompositeFontEntries within the specified range.

ParameterTypeDescription
fromCompositeFontEntry
Long Integer
String
The CompositeFontEntry, index, or name at the beginning of the range. Can accept: CompositeFontEntry, Long Integer or String.
toCompositeFontEntry
Long Integer
String
The CompositeFontEntry, index, or name at the end of the range. Can accept: CompositeFontEntry, Long Integer or String.

CompositeFontEntry lastItem ()
Returns the last CompositeFontEntry in the collection.

CompositeFontEntry middleItem ()
Returns the middle CompositeFontEntry in the collection.

CompositeFontEntry nextItem (obj: CompositeFontEntry)
Returns the CompositeFontEntry whose index follows the specified CompositeFontEntry in the collection.

ParameterTypeDescription
objCompositeFontEntryThe CompositeFontEntry whose index comes before the desired CompositeFontEntry.

CompositeFontEntry previousItem (obj: CompositeFontEntry)
Returns the CompositeFontEntry with the index previous to the specified index.

ParameterTypeDescription
objCompositeFontEntryThe index of the CompositeFontEntry that follows the desired CompositeFontEntry.

string toSource ()
Generates a string which, if executed, will return the CompositeFontEntry.

Element of

CompositeFont.compositeFontEntries

Jongware, 28-Apr-2012 v3.0.3iContents :: Index