Adobe InDesign CS4 (6.0) Object Model JS: Reflection

InDesign CS4

Class

Reflection

 Provides information about a class.

QuickLinks

find, toXML

Properties

PropertyTypeAccessDescription
descriptionstring readonlyThe long description text.
helpstring readonlyThe short description text.
methodsArray of ReflectionInfo readonlyAn array of method descriptions.
namestring readonlyThe class name.
propertiesArray of ReflectionInfo readonlyAn array of property descriptions.
sampleCodestring readonlySample code, if present.
sampleFileFile readonlyA file containing sample code. May be null.
staticMethodsArray of ReflectionInfo readonlyAn array of class method descriptions.
staticPropertiesArray of ReflectionInfo readonlyAn array of class property descriptions.

Methods

Instances

ReflectionInfo find (name: string)
Find an element description by name.

ParameterTypeDescription
namestringThe name of the element to find.

XML toXML ()
Return this class information as XML in OMV format.

Element of

Object.reflect

ReflectionInfo.parent

Return

Reflection Dictionary.getClass (name: string)

Jongware, 20-Jun-2010 v3.0.3dContents :: Index