MasterSpread
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
allGraphics | Array of Graphic | readonly | Lists all graphics contained by the MasterSpread. |
allPageItems | Array of PageItem | readonly | Lists all page items contained by the MasterSpread. |
appliedMaster | MasterSpreadNothingEnum | readonly | The master spread applied to the MasterSpread. Can also accept: NothingEnum enumerator. |
baseName | string | readonly | The name of the master spread. |
buttons | Buttons | readonly | A collection of buttons. |
epstexts | EPSTexts | readonly | EPSTexts |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
formFields | FormFields | readonly | A collection of form fields. |
graphicLines | GraphicLines | readonly | A collection of graphic lines. |
groups | Groups | readonly | A collection of groups. |
guides | Guides | readonly | A collection of guides. |
id | number | readonly | The unique ID of the MasterSpread. |
idmlComponentName | string | r/w | The IDML component name of the MasterSpread. |
index | number | readonly | The index of the MasterSpread within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
multiStateObjects | MultiStateObjects | readonly | A collection of multi-state objects. |
name | string | readonly | The name of the MasterSpread. |
namePrefix | string | readonly | The prefix of the master spread name. |
ovals | Ovals | readonly | A collection of ellipses. |
pageItems | PageItems | readonly | The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type. |
pages | Pages | readonly | A collection of pages. |
parent | Document | readonly | The parent of the MasterSpread (a Document). |
polygons | Polygons | readonly | A collection of polygons. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
rectangles | Rectangles | readonly | A collection of rectangles. |
splineItems | SplineItems | readonly | The spline items collection. |
textFrames | TextFrames | readonly | A collection of text frames. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array
of MasterSpread getElements ()
Resolves the object specifier, creating an array of object references.
void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
value | string | The value. |
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the MasterSpread.
Element of
Guide.parent
MasterSpread.appliedMaster
Page.appliedMaster
Page.parent
Spread.appliedMaster
Window.activeSpread
Used in:
MasterSpread MasterSpreads.nextItem (obj: MasterSpread)
MasterSpread MasterSpreads.previousItem (obj: MasterSpread)
Return
Array of MasterSpread MasterSpread.getElements ()
MasterSpread MasterSpreads.[] (index: number)
MasterSpread MasterSpreads.anyItem ()
Array of MasterSpread MasterSpreads.everyItem ()
MasterSpread MasterSpreads.firstItem ()
MasterSpread MasterSpreads.item (index: varies)
MasterSpread MasterSpreads.itemByID (id: number)
MasterSpread MasterSpreads.itemByName (name: string)
Array of MasterSpread MasterSpreads.itemByRange (from: varies, to: varies)
MasterSpread MasterSpreads.lastItem ()
MasterSpread MasterSpreads.middleItem ()
MasterSpread MasterSpreads.nextItem (obj: MasterSpread)
MasterSpread MasterSpreads.previousItem (obj: MasterSpread)
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |