A master spread.
Go to Property Listing | Method Listing
createGuides, detach, duplicate, extractLabel, getElements, insertLabel, place, remove, removeOverride, toSource, toSpecifier
Boolean, Buttons, FormFields, Graphic, GraphicLines, Groups, Guides, MasterSpread, NothingEnum, Number, Object, Ovals, PageItem, PageItems, Pages, Polygons, Rectangles, String, TextFrames
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
Lists all graphics contained by the MasterSpread. |
||
|
readonly |
Lists all page items contained by the MasterSpread. |
||
|
read/write |
The master spread applied to the MasterSpread. Can also accept: NothingEnum enumerator. |
||
|
read/write |
The name of the master spread. |
||
|
readonly |
A collection of buttons. |
||
|
readonly |
A collection of form fields. |
||
|
readonly |
A collection of graphic lines. |
||
|
readonly |
A collection of groups. |
||
|
readonly |
A collection of guides. |
||
|
readonly |
The unique ID of the MasterSpread. |
||
|
readonly |
The index of the MasterSpread within its containing object. |
||
|
read/write |
A property that can be set to any string. |
||
|
readonly |
The name of the MasterSpread. |
||
|
read/write |
The prefix of the master spread name. |
||
|
readonly |
A collection of ellipses. |
||
|
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. |
||
|
readonly |
A collection of pages. |
||
|
readonly |
The parent of the MasterSpread (a Document). |
||
|
readonly |
A collection of polygons. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
readonly |
A collection of rectangles. |
||
|
read/write |
If true, displays master page items on document pages in the spread. |
||
|
readonly |
A collection of text frames. |
undefined createGuides ([numberOfRows:Number=Number], [numberOfColumns:Number=Number], [rowGutter:Number String], [columnGutter:Number String], guideColor:Array of Varies 3 Reals (0 - 255) UIColors, [fitMargins:Boolean=Boolean], [removeExisting:Boolean=Boolean], layer:Layer)
Creates multiple guides on all pages of the spread.
|
Parameter |
Type |
Description |
|---|---|---|
|
numberOfRows |
Number (range 0 - 40) |
The number of rows to create on each page. (Optional) (default: 0) |
|
numberOfColumns |
Number (range 0 - 40) |
The number of columns to create on each page. (Optional) (default: 0) |
|
rowGutter |
The height of the gutter between rows. (Optional) |
|
|
columnGutter |
The width of the gutter between columns. (Optional) |
|
|
guideColor |
Array of 3 Reals (0 - 255) |
The color to make the guides, 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 accept: Array of 3 Reals (0 - 255) or UIColors enumerator. (Optional) |
|
fitMargins |
If true, the row height and column width are calculated based on the space within the page margins. If false, row height and column width are calculated based on the full page. (Optional) (default: false) |
|
|
removeExisting |
If true, removes existing guides when creating new ones. (Optional) (default: false) |
|
|
layer |
The layer on which to create the guides. (Optional) |
undefined detach ()
Detaches an overridden master page item from the master page.
Varies duplicate ([to:LocationOptions=LocationOptions], reference:Varies Document MasterSpread MasterSpread)
Duplicates the spread.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The location of the spread relative to the reference object or within the document. (Optional) (default: LocationOptions.AT_END) |
|
|
reference |
The reference object. Note: Required only when the to parameter specifies before or after. Can accept: MasterSpread, Document or MasterSpread. (Optional) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
MasterSpread getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
Varies place (fileName:File, placePoint:Array of Number String, destinationLayer:Layer, [showingOptions:Boolean=Boolean], [autoflowing:Boolean=Boolean], withProperties:Object)
Places the file.
|
Parameter |
Type |
Description |
|---|---|---|
|
fileName |
The file to place |
|
|
placePoint |
The point at which to place (Optional) |
|
|
destinationLayer |
The layer on which to place (Optional) |
|
|
showingOptions |
Whether to display the import options dialog (Optional) (default: false) |
|
|
autoflowing |
Whether to autoflow placed text (Optional) (default: false) |
|
|
withProperties |
Initial values for properties of the placed object(s) (Optional) |
undefined remove ()
Deletes the MasterSpread.
undefined removeOverride ()
Removes the override from a previously overridden master page item.
String toSource ()
Generates a string which, if executed, will return the MasterSpread.
String toSpecifier ()
Retrieves the object specifier.
LayoutWindow.activeSpread
MasterSpread.appliedMaster
Page.appliedMaster
Spread.appliedMaster
Button.parent
FormField.parent
GraphicLine.parent
Group.parent
Guide.parent
Oval.parent
Page.parent
PageItem.parent
Polygon.parent
Rectangle.parent
TextFrame.parent