MasterSpread
A master spread.
Instance
Read Only
String name
The name of the MasterSpread.
Read Only
PageItem allPageItems
Lists all page items contained by the MasterSpread.
Read Only
Graphic allGraphics
Lists all graphics contained by the MasterSpread.
Read Only
TimingSetting timingSettings
The object timing settings.
Read Only
Number id
The unique ID of the MasterSpread.
Read Only
Boolean isValid
Returns true if the object specifier resolves to valid objects.
Read Only
Document parent
The parent of the MasterSpread (a Document).
Read Only
Number index
The index of the MasterSpread within its containing object.
Read Only
Pages pages
A collection of pages.
Read Only
Ovals ovals
A collection of ellipses.
Read Only
SplineItems splineItems
The spline items collection.
Read Only
PageItems pageItems
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.
Read Only
Rectangles rectangles
A collection of rectangles.
Read Only
GraphicLines graphicLines
A collection of graphic lines.
Read Only
TextFrames textFrames
A collection of text frames.
Read Only
Polygons polygons
A collection of polygons.
Read Only
EndnoteTextFrames endnoteTextFrames
A collection of endnote text frames.
Read Only
Events events
A collection of events.
Read Only
EventListeners eventListeners
A collection of event listeners.
Read Only
Guides guides
A collection of guides.
Read Only
Groups groups
A collection of groups.
Read Only
EPSTexts epstexts
EPSTexts
Read Only
FormFields formFields
A collection of form fields.
Read Only
Buttons buttons
A collection of buttons.
Read Only
MultiStateObjects multiStateObjects
A collection of multi-state objects.
Read Only
CheckBoxes checkBoxes
A collection of checkboxes.
Read Only
ComboBoxes comboBoxes
A collection of comboboxes.
Read Only
ListBoxes listBoxes
A collection of listboxes.
Read Only
RadioButtons radioButtons
A collection of radio buttons.
Read Only
TextBoxes textBoxes
A collection of text boxes.
Read Only
SignatureFields signatureFields
A collection of signature fields.
Read Only
Preferences preferences
A collection of preferences objects.
Mixed pageColor
The color label of the MasterSpread, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as a UI color. Can return: Array of 3 Reals (0 - 255) or UIColors enumerator or PageColorOptions enumerator.
String namePrefix
The prefix of the master spread name.
String baseName
The name of the master spread.
Boolean showMasterItems
If true, displays master page items on document pages in the spread.
MasterSpread appliedMaster
The master spread applied to the MasterSpread. Can also accept: NothingEnum enumerator.
PageItem primaryTextFrame
The primary text frame through which text flows on the MasterSpread. Must be a text frame or a type on a path spline. Can also accept: NothingEnum enumerator.
String idmlComponentName
The IDML component name of the MasterSpread.
String label
A property that can be set to any string.
Object properties
A property that allows setting of several properties at the same time.
Methods
Mixed duplicate( LocationOptions to, Mixed reference )
Duplicates the spread.
Parameters
Story placeAndLink( Story parentStory, Measurement Unit (Number or String)=any placePoint, Layer destinationLayer, Boolean showingOptions )
Deprecated: Use contentPlace method. Original Description: Create a linked story and place it into the target.
Parameters
Mixed place( File fileName, Measurement Unit (Number or String)=any placePoint, Layer destinationLayer, Boolean showingOptions, Boolean autoflowing, Object withProperties )
Places the file.
Parameters
remove()
Deletes the MasterSpread.
removeOverride()
Removes the override from a previously overridden master page item.
detach()
Detaches an overridden master page item from the master page.
select( SelectionOptions existingSelection )
Selects the object.
Parameters
createGuides( Number numberOfRows, Number numberOfColumns, Measurement Unit (Number or String)=any rowGutter, Measurement Unit (Number or String)=any columnGutter, Mixed guideColor, Boolean fitMargins, Boolean removeExisting, Layer layer )
Creates multiple guides on all pages of the spread.
Parameters
transform( CoordinateSpaces in, Mixed from, Mixed withMatrix, Mixed replacingCurrent, Boolean consideringRulerUnits )
Transform the page item.
Parameters
TransformationMatrix transformValuesOf( CoordinateSpaces in )
Get the transformation values of the page item.
Parameters
Mixed resolve( Mixed location, CoordinateSpaces in, Boolean consideringRulerUnits )
Get the coordinates of the given location in the specified coordinate system.
Parameters
Mixed contentPlace( PageItem pageItems, Boolean linkPageItems, Boolean linkStories, Boolean mapStyles, Measurement Unit (Number or String)=any placePoint, Layer destinationLayer, Boolean showingOptions )
Duplicate an object and place it into the target.
Parameters
insertLabel( String key, String value )
Sets the label to the value associated with the specified key.
Parameters
String extractLabel( String key )
Gets the label value associated with the specified key.
Parameters
String toSource()
Generates a string which, if executed, will return the MasterSpread.
MasterSpread getElements()
Resolves the object specifier, creating an array of object references.
String toSpecifier()
Retrieves the object specifier.
EventListener addEventListener( String eventType, Mixed handler, Boolean captures )
Adds an event listener.
Parameters
Boolean removeEventListener( String eventType, Mixed handler, Boolean captures )
Removes the event listener.