Spreads

Spread(スプレッド(レイアウトの単位))のコレクション

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
add([at], [reference], [withProperties]) Spread新しいオブジェクトを作成し、それを返す
[at] LocationOptions
LocationOptions
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
AFTER1634104421
afte
[12][13][14][15]
[16][17][18][19]
AT_BEGINNING1650945639
bgng
先頭
[12][13][14][15]
[16][17][18][19]
AT_END1701733408
end
最後
[12][13][14][15]
[16][17][18][19]
BEFORE1650812527
befo
[12][13][14][15]
[16][17][18][19]
UNKNOWN1433299822
Unkn
No location
位置 (既定値=LocationOptions.UNKNOWN)
[reference] Spread, Document位置の基準になるオブジェクト
[withProperties] Objectプロパティを設定
[12][13][14][15]
[16][17][18][19]
anyItem() Spreadどれかのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
count() 数値要素数を返す
[12][13][14][15]
[16][17][18][19]
everyItem() Array( Spread )全てのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
firstItem() Spread最初のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
item(index) Spreadインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[12][13][14][15]
[16][17][18][19]
itemByID(id) SpreadIDで指定したオブジェクトを返す
id 数値
[12][13][14][15]
[16][17][18][19]
itemByName(name) Spread名前で指定したオブジェクトを返す
name 文字列値
[12][13][14][15]
[16][17][18][19]
itemByRange(from, to) Array( Spread )範囲で指定したオブジェクトを返す
from Spread, 数値, 文字列値範囲の開始
to Spread, 数値, 文字列値範囲の終了
[12][13][14][15]
[16][17][18][19]
lastItem() Spread最後のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
middleItem() Spread真ん中のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
nextItem(obj) Spread一つ後のオブジェクトを返す
obj Spread位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
previousItem(obj) Spread一つ前のオブジェクトを返す
obj Spread位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す

Spread

スプレッド(レイアウトの単位)

プロパティ(parentとその逆)

Ver.プロパティR/O
[12][13][14][15]
[16][17][18][19]
parent Document
[12][13][14][15]
[16][17][18][19]
buttons Buttons
[12][13][14][15]
[16][17][18][19]
checkBoxes CheckBoxes
[12][13][14][15]
[16][17][18][19]
comboBoxes ComboBoxes
[13][14][15]
[16][17][18][19]
endnoteTextFrames EndnoteTextFrames
[12][13][14][15]
[16][17][18][19]
epstexts EPSTexts
[12][13][14][15]
[16][17][18][19]
eventListeners EventListeners
[12][13][14][15]
[16][17][18][19]
events Events
[12][13][14][15]
[16][17][18][19]
flattenerPreferences FlattenerPreference
[12][13][14][15]
[16][17][18][19]
formFields FormFields
[12][13][14][15]
[16][17][18][19]
graphicLines GraphicLines
[12][13][14][15]
[16][17][18][19]
groups Groups
[12][13][14][15]
[16][17][18][19]
guides Guides
[12][13][14][15]
[16][17][18][19]
listBoxes ListBoxes
[12][13][14][15]
[16][17][18][19]
multiStateObjects MultiStateObjects
[12][13][14][15]
[16][17][18][19]
ovals Ovals
[12][13][14][15]
[16][17][18][19]
pageItems PageItems
[12][13][14][15]
[16][17][18][19]
pages Pages
[12][13][14][15]
[16][17][18][19]
polygons Polygons
[12][13][14][15]
[16][17][18][19]
preferences Preferences
[12][13][14][15]
[16][17][18][19]
radioButtons RadioButtons
[12][13][14][15]
[16][17][18][19]
rectangles Rectangles
[12][13][14][15]
[16][17][18][19]
signatureFields SignatureFields
[12][13][14][15]
[16][17][18][19]
splineItems SplineItems
[12][13][14][15]
[16][17][18][19]
textBoxes TextBoxes
[12][13][14][15]
[16][17][18][19]
textFrames TextFrames
[12][13][14][15]
[16][17][18][19]
timingSettings TimingSetting

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
allGraphics Array( Graphic )中にある画像(グループを無視)
[12][13][14][15]
[16][17][18][19]
allowPageShuffle 真偽値選択スプレッドの移動を許可
[12][13][14][15]
[16][17][18][19]
allPageItems Array( PageItem )中にあるPageItem(グループを無視)
[12][13][14][15]
[16][17][18][19]
appliedMaster MasterSpread, NothingEnum.NOTHING(1851876449/nada)適用されるマスターページ(親ページ)
[12][13][14][15]
[16][17][18][19]
flattenerOverride SpreadFlattenerLevel
SpreadFlattenerLevel
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
CUSTOM1131639917
Cstm
Uses the specified custom flattening level.
[12][13][14][15]
[16][17][18][19]
DEFAULT_VALUE1147563124
Dflt
Uses the default level.
[12][13][14][15]
[16][17][18][19]
NONE1852796517
none
Turns off flattening.
The transparency flattener preferences override for the spread.
[12][13][14][15]
[16][17][18][19]
id 数値オブジェクトのID
[12][13][14][15]
[16][17][18][19]
idmlComponentName 文字列値The IDML component name of the Spread.
[12][13][14][15]
[16][17][18][19]
index 数値インデックス
[12][13][14][15]
[16][17][18][19]
isValid 真偽値オブジェクトが有効かどうか
[12][13][14][15]
[16][17][18][19]
label 文字列値スクリプトラベル
[12][13][14][15]
[16][17][18][19]
name 文字列値オブジェクトの名前 - label のエイリアス
[12][13][14][15]
[16][17][18][19]
pageTransitionDirection PageTransitionDirectionOptionsThe direction of the page transition.
[12][13][14][15]
[16][17][18][19]
pageTransitionDuration PageTransitionDurationOptions
PageTransitionDurationOptions
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
FAST1180791668
Fast
Fast duration.
[12][13][14][15]
[16][17][18][19]
MEDIUM1701727588
enMd
Medium duration.
[12][13][14][15]
[16][17][18][19]
SLOW1886671692
ptSL
Slow duration.
The duration of the page transition.
[12][13][14][15]
[16][17][18][19]
pageTransitionType PageTransitionTypeOptionsThe type of page transition.
[12][13][14][15]
[16][17][18][19]
properties Object
[12][13][14][15]
[16][17][18][19]
showMasterItems 真偽値If true, displays master page items on document pages in the spread.

[19]
spreadHidden 真偽値スプレッドの非表示。trueで非表示

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[12][13][14][15]
[16][17][18][19]
contentPlace(pageItems, [linkPageItems], [linkStories], [mapStyles], [placePoint], [destinationLayer], [showingOptions]) Array( varies=any )リンクとして配置
pageItems Array( PageItem )配置するページアイテム
[linkPageItems] 真偽値Whether to link pageItems in content placer (if true it will override link stories value) (既定値=false)
[linkStories] 真偽値Whether to link stories in content placer (only applicable for single story, pageItem links will also be created in case of more than one item) (既定値=false)
[mapStyles] 真偽値Whether to map styles in content placer (既定値=false)
[placePoint] [ x, y ]配置先の座標。x, yは数値または長さ値
[destinationLayer] Layer配置するレイヤー
[showingOptions] 真偽値オプションのダイアログを表示させるか (既定値=false)
[12][13][14][15]
[16][17][18][19]
createGuides([numberOfRows], [numberOfColumns], [rowGutter], [columnGutter], [guideColor], [fitMargins], [removeExisting], [layer]) なしガイドを作成
[numberOfRows] 数値行数 (0 - 40, 既定値=0)
[numberOfColumns] 数値列数 (0 - 40, 既定値=0)
[rowGutter] 長さ値行の間隔 (0 - 1440 pt, 既定値=0)
[columnGutter] 長さ値列の間隔 (0 - 1440 pt, 既定値=0)
[guideColor] [ r, g, b ], UIColorsガイドのカラー R,G,Bは0-255
[fitMargins] 真偽値ページマージンに吸着させるか (既定値=false)
[removeExisting] 真偽値既存のガイドを削除するかどうか (既定値=false)
[layer] Layer作成するレイヤー
[12][13][14][15]
[16][17][18][19]
detach() なしオーバーライドされたマスターページアイテムをマスターから分離
[12][13][14][15]
[16][17][18][19]
duplicate([to], [reference]) Spread, MasterSpread複製。複製されたオブジェクトを返す
[to] LocationOptions
LocationOptions
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
AFTER1634104421
afte
[12][13][14][15]
[16][17][18][19]
AT_BEGINNING1650945639
bgng
先頭
[12][13][14][15]
[16][17][18][19]
AT_END1701733408
end
最後
[12][13][14][15]
[16][17][18][19]
BEFORE1650812527
befo
[12][13][14][15]
[16][17][18][19]
UNKNOWN1433299822
Unkn
No location
複製先 (既定値=LocationOptions.AT_END)
[reference] Spread, Document, MasterSpread位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[12][13][14][15]
[16][17][18][19]
getElements() Array( Spread )オブジェクト参照を返す
[12][13][14][15]
[16][17][18][19]
insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[12][13][14][15]
[16][17][18][19]
move([to], [reference]) Spread移動
[to] LocationOptions
LocationOptions
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
AFTER1634104421
afte
[12][13][14][15]
[16][17][18][19]
AT_BEGINNING1650945639
bgng
先頭
[12][13][14][15]
[16][17][18][19]
AT_END1701733408
end
最後
[12][13][14][15]
[16][17][18][19]
BEFORE1650812527
befo
[12][13][14][15]
[16][17][18][19]
UNKNOWN1433299822
Unkn
No location
移動先 (既定値=LocationOptions.AT_END)
[reference] Spread, Page, Document位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
place(fileName, [placePoint], [destinationLayer], [showingOptions], [autoflowing], [withProperties]) Array( varies=any )配置。配置されたオブジェクトを返す
fileName ファイルファイル名
[placePoint] [ x, y ]配置先の座標 x, yは数値または長さ値
[destinationLayer] Layer配置するレイヤー
[showingOptions] 真偽値オプションのダイアログを表示させるか (既定値=false)
[autoflowing] 真偽値自動流し込み (既定値=false)
[withProperties] Objectプロパティを設定
[12][13][14][15]
[16][17][18][19]
placeAndLink(parentStory, [placePoint], [destinationLayer], [showingOptions]) Storyリンクストーリーの配置
parentStory Story親のストーリー
[placePoint] [ x, y ]配置先の座標 x, yは数値または長さ値
[destinationLayer] Layer配置するレイヤー
[showingOptions] 真偽値オプションのダイアログを表示させるか (既定値=false)
[12][13][14][15]
[16][17][18][19]
placeXML(using, placePoint, [autoflowing]) PageItemPlaces the XML element onto a page. If the place point is above an existing page item, place the XML element into the page item.
using XMLElementThe XML element to place.
placePoint [ x, y ]The point at which to place the object.
[autoflowing] 真偽値自動流し込み (既定値=false)
[12][13][14][15]
[16][17][18][19]
remove() なし削除
[12][13][14][15]
[16][17][18][19]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[12][13][14][15]
[16][17][18][19]
removeOverride() なしオーバーライドを削除
[12][13][14][15]
[16][17][18][19]
resolve(location, in, [consideringRulerUnits]) varies=anyGet the coordinates of the given location in the specified coordinate system.
location varies=anyThe location requested. Can accept: Array of 2 Reals, AnchorPoint enumerator or Array of Arrays of 2 Reals, CoordinateSpaces enumerators, AnchorPoint enumerators, BoundingBoxLimits enumerators or Long Integers.
in CoordinateSpaces
CoordinateSpaces
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
INNER_COORDINATES2021222766
xyin
自身を基準とした座標空間
[12][13][14][15]
[16][17][18][19]
PAGE_COORDINATES2021224551
xypg
ページ基準の座標空間
[12][13][14][15]
[16][17][18][19]
PARENT_COORDINATES2021224545
xypa
親オブジェクト基準の座標空間
[12][13][14][15]
[16][17][18][19]
PASTEBOARD_COORDINATES2021224546
xypb
ペーストボード基準の座標空間
[12][13][14][15]
[16][17][18][19]
SPREAD_COORDINATES2021225328
xysp
スプレッド基準の座標空間
使用する座標空間
[consideringRulerUnits] 真偽値ルーラの単位を使うかどうか (既定値=false)
[12][13][14][15]
[16][17][18][19]
select([existingSelection]) なし選択状態にする
[existingSelection] SelectionOptions
SelectionOptions
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
ADD_TO1633969202
add2
追加選択する
[12][13][14][15]
[16][17][18][19]
REMOVE_FROM1919249734
remF
選択から削除する
[12][13][14][15]
[16][17][18][19]
REPLACE_WITH1919250519
repW
置き換える
[12][13][14][15]
[16][17][18][19]
SET_KEY1936028779
setk
整列のキーオブジェクトにする
既に選択されているものがあった場合 (既定値=SelectionOptions.REPLACE_WITH)
[12][13][14][15]
[16][17][18][19]
setContent(using, [relativeBasePath]) PageItemReplaces the content of XML element with content imported from a file.
using 文字列値フルパス名
[relativeBasePath] 文字列値Base path used to resolve relative paths.
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す
[12][13][14][15]
[16][17][18][19]
toSpecifier() 文字列値Retrieves the object specifier.
[12][13][14][15]
[16][17][18][19]
transform(in, from, withMatrix, [replacingCurrent], [consideringRulerUnits]) なし変形
in CoordinateSpaces
CoordinateSpaces
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
INNER_COORDINATES2021222766
xyin
自身を基準とした座標空間
[12][13][14][15]
[16][17][18][19]
PAGE_COORDINATES2021224551
xypg
ページ基準の座標空間
[12][13][14][15]
[16][17][18][19]
PARENT_COORDINATES2021224545
xypa
親オブジェクト基準の座標空間
[12][13][14][15]
[16][17][18][19]
PASTEBOARD_COORDINATES2021224546
xypb
ペーストボード基準の座標空間
[12][13][14][15]
[16][17][18][19]
SPREAD_COORDINATES2021225328
xysp
スプレッド基準の座標空間
使用する座標空間
from varies=anyThe temporary origin during the transformation. Can accept: Array of 2 Reals, AnchorPoint enumerator or Array of Arrays of 2 Reals, CoordinateSpaces enumerators, AnchorPoint enumerators, BoundingBoxLimits enumerators or Long Integers.
withMatrix varies=anyTransform matrix. Can accept: Array of 6 Reals or TransformationMatrix.
[replacingCurrent] MatrixContent, Array( MatrixContent ), 数値
MatrixContent
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
ROTATION_VALUE1936746862
spin
Rotation value
[12][13][14][15]
[16][17][18][19]
SCALE_VALUES1735552887
grow
Scale values
[12][13][14][15]
[16][17][18][19]
SHEAR_VALUE1936486004
slnt
Shear value
[12][13][14][15]
[16][17][18][19]
TRANSLATION_VALUES1936484720
slip
Translation values
Transform components to consider; providing this optional parameter causes the target's existing transform components to be replaced with new values. Without this parameter, the given matrix is concatenated onto the target's existing transform combining the effect of the two.
[consideringRulerUnits] 真偽値ルーラの単位を使うかどうか (既定値=false)
[12][13][14][15]
[16][17][18][19]
transformValuesOf(in) Array( TransformationMatrix )変形の値を取得
in CoordinateSpaces
CoordinateSpaces
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
INNER_COORDINATES2021222766
xyin
自身を基準とした座標空間
[12][13][14][15]
[16][17][18][19]
PAGE_COORDINATES2021224551
xypg
ページ基準の座標空間
[12][13][14][15]
[16][17][18][19]
PARENT_COORDINATES2021224545
xypa
親オブジェクト基準の座標空間
[12][13][14][15]
[16][17][18][19]
PASTEBOARD_COORDINATES2021224546
xypb
ペーストボード基準の座標空間
[12][13][14][15]
[16][17][18][19]
SPREAD_COORDINATES2021225328
xysp
スプレッド基準の座標空間
使用する座標空間