MasterSpread
A master spread.
MasterSpread Properties
| Property |
Type |
Access |
Description |
| allGraphics |
Array of Graphics |
read |
All graphics contained by the object. |
| allPageItems |
Array of PageItems |
read |
All page items contained by the object. |
| appliedMaster |
MasterSpread, NothingEnum enumeration |
r/w |
The master spread applied to this spread. |
| baseName |
String |
r/w |
The base name. |
| buttons |
Buttons |
read |
The buttons contained by the object. |
| formFields |
FormFields |
read |
The form fields contained by the object. |
| graphicLines |
GraphicLines |
read |
The graphic lines contained by the object. |
| groups |
Groups |
read |
The groups contained by the object. |
| guides |
Guides |
read |
The guides contained by this object. |
| id |
Long |
read |
A unique number identifying the object. |
| index |
Long |
read |
Index of the object within its parent object. |
| label |
String |
r/w |
A label that can be set to any string. |
| name |
String |
read |
The name of the object. |
| namePrefix |
String |
r/w |
The name prefix of the master spread. |
| ovals |
Ovals |
read |
All ovals contained by the object. |
| pageItems |
PageItems |
read |
The page items contained by the object. |
| pages |
Pages |
read |
The pages in the master spread. |
| parent |
Object |
read |
The parent of the object. |
| polygons |
Polygons |
read |
The polygons contained by the object. |
| properties |
An array of property names and values |
r/w |
Property that allows setting of several properties at the same time. |
| rectangles |
Rectangles |
read |
The rectangles contained by the object. |
| showMasterItems |
Boolean |
r/w |
If true, master page items are displayed. |
| textFrames |
TextFrames |
read |
The text frames contained by the object. |
MasterSpread Methods
| Method |
Returns |
Description |
| createGuides |
Nothing |
Create multiple guides on all pages of a spread. |
| detach |
Nothing |
Detaches an overridden page item from the master page item. |
| duplicate |
Spread or MasterSpread |
Duplicates the object. |
| extractLabel |
String |
Gets the content of the label associated with the specified key (name). |
| getElements |
Array of Objects |
Resolve the object specifier. |
| insertLabel |
Nothing |
Sets the content of the label associated with the specified key (name), creating the label if it does not already exist. |
| place |
PageItem, Graphic, Movie, Sound, Story or Text |
Places a file. |
| remove |
Nothing |
Delete the object. |
| removeOverride |
Nothing |
Removes a locally overridden master page item. |
| toSource |
String |
Generate JavaScript source that, if executed, will return the specified objects. |
| toSpecifier |
String |
Retrieve the object specifier. |