Ver. | プロパティ名 | R/O | 値 | 説明 |
  
   |
allGraphics | ○ |
Array( Graphic )
| 中にあるGraphicオブジェクト(EPS/Image/PDF/PICT/WMF/ImportedPage) |
  
   |
allPageItems | ○ |
Array( PageItem )
| 中にあるPageItemオブジェクト |
  
   |
appliedMaster | |
MasterSpread
| 適用されるマスターページ |
  
   |
appliedSection | ○ |
Section
| The section to which the page belongs. |
  
   |
appliedTrapPreset | |
TrapPreset
| The trap preset applied to the page. Can also accept: String. |
  
   |
bounds | ○ |
[y1, x1, y2, x2]
| ページサイズ |
  
   |
documentOffset | ○ |
数値型
| The sequential number of the page within the document. |
  
   |
gridData | ○ |
GridDataInformation
| Default grid properties. Note: Applies to named, layout, and frame (story) grids. |
  
   |
id | ○ |
数値型
| オブジェクトのID |
  
   |
index | ○ |
数値型
| インデックス |
  
   |
isValid | ○ |
ブール型
| |
  
   |
label | |
文字列型
| スクリプトラベル |
  
   |
masterPageItems | ○ |
Array( PageItem )
| オーバーライドされていないマスターページのオブジェクト |
  
   |
masterPageItems | ○ |
Array( PageItems, Guides, Graphics, Movies, Sounds )
| オーバーライドされていないマスターページのオブジェクト |
  
   |
masterPageTransform | |
TransformationMatrix
| The transform applied to the master page before it is applied to Page. |
  
   |
name | ○ |
文字列型
| 既定値。ページ番号 |
  
   |
pageColor | |
[r, g, b], InCopyUIColors, PageColorOptions
PageColorOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
NOTHING | 1851876449 | No color. |
  
   |
USE_MASTER_COLOR | 1346594413 | Uses the color label of the page's master page. |
| The color label of the Page |
  
   |
side | ○ |
PageSideOptions
PageSideOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
LEFT_HAND | 1818653800 | The page is on the left side of the binding spine in the spread. |
  
   |
RIGHT_HAND | 1919382632 | The page is on the right side of the binding spine in the spread. |
  
   |
SINGLE_SIDED | 1970496888 | The page is a single-sided page. |
| The side of the binding spine on which to place the page within the spread. |
  
   |
tabOrder | |
Array( FormField )
| The order in which the focus moves to different form fields in the PDF when the tab key is pressed. |
  
   |
tabOrder | |
Array( Button )
| The order in which the focus moves to different buttons in the PDF when the tab key is pressed. |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
detach() | なし | 選択部分をマスターから分離 |
  
   |
duplicate([to], [reference]) | Page | 複製。複製されたオブジェクトを返す |
| [to] |
LocationOptions(既定値=LocationOptions.AT_END)
LocationOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
AFTER | 1634104421 | 後 |
  
   |
AT_BEGINNING | 1650945639 | 先頭 |
  
   |
AT_END | 1701733408 | 最後 |
  
   |
BEFORE | 1650812527 | 前 |
  
   |
UNKNOWN | 1433299822 | No location |
| | 複写先 |
| [reference] |
Page, Spread
| | 位置の基準になるオブジェクト |
  
   |
extractLabel(key) | 文字列型 | キーに関連づけられたラベルを取得 |
| key |
文字列型
| | キー |
  
   |
getElements() | Page | |
  
   |
insertLabel(key, value) | なし | キーに関連づけられたラベルを設定 |
| key |
文字列型
| | キー |
| value |
文字列型
| | ラベルの値 |
  
   |
move([to], [reference], [binding]) | Page | 移動 |
| [to] |
LocationOptions(既定値=LocationOptions.AT_END)
LocationOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
AFTER | 1634104421 | 後 |
  
   |
AT_BEGINNING | 1650945639 | 先頭 |
  
   |
AT_END | 1701733408 | 最後 |
  
   |
BEFORE | 1650812527 | 前 |
  
   |
UNKNOWN | 1433299822 | No location |
| | 移動先 |
| [reference] |
Page, Spread
| | 位置の基準になるオブジェクト |
| [binding] |
BindingOptions(既定値=BindingOptions.DEFAULT_VALUE)
BindingOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
DEFAULT_VALUE | 1147563124 | デフォルト |
  
   |
LEFT_ALIGN | 1818584692 | 見開きの左サイド? |
  
   |
RIGHT_ALIGN | 1919379572 | 見開きの右サイド? |
| | くっつける位置 |
  
   |
place(fileName, [placePoint], [destinationLayer], [showingOptions], [autoflowing], [retainingFormatting], [convertingQuotes], [withProperties]) | varies=any | 配置。配置されたオブジェクトを返す |
| fileName |
File型
| | ファイル名 |
| [placePoint] |
[x, y]
| | 配置先の座標。x, yは数値型または文字列型 |
| [destinationLayer] |
Layer, Array( Layer )
| | 配置するレイヤー |
| [showingOptions] |
ブール型(既定値=false)
| | オプションのダイアログを表示するかどうか |
| [autoflowing] |
ブール型(既定値=false)
| | 自動流し込み |
| [retainingFormatting] |
ブール型(既定値=true)
| | フォーマットの保持 |
| [convertingQuotes] |
ブール型(既定値=true)
| | 英文引用符を使用 |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
place(fileName, [placePoint], [destinationLayer], [showingOptions], [autoflowing], [withProperties]) | varies=any | 配置。配置されたオブジェクトを返す |
| fileName |
File型
| | ファイル名 |
| [placePoint] |
[x, y]
| | 配置先の座標。x, yは数値型または文字列型 |
| [destinationLayer] |
Layer
| | 配置するレイヤー |
| [showingOptions] |
ブール型(既定値=false)
| | オプションのダイアログを表示するかどうか |
| [autoflowing] |
ブール型(既定値=false)
| | 自動流し込み |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
placeAndLink(parentStory, [placePoint], [destinationLayer], [showingOptions]) | Story | Create a linked story and place it into the target. |
| parentStory |
Story
| | 親のストーリー |
| [placePoint] |
[x, y]
| | 配置先の座標。x, yは数値型または文字列型 |
| [destinationLayer] |
Layer
| | 配置するレイヤー |
| [showingOptions] |
ブール型(既定値=false)
| | ダイアログを表示するかどうか |
  
   |
placeXML(using, placePoint, [autoflowing]) | PageItem | Places 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 |
XMLElement
| | |
| placePoint |
[x, y]
| | The point at which to place the object |
| [autoflowing] |
ブール型(既定値=false)
| | 自動流し込み |
  
   |
reframe(in, opposingCorners) | なし | Move the bounding box of the page item |
| in |
CoordinateSpaces, [CoordinateSpaces, BoundingBoxLimits]
CoordinateSpaces |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
INNER_COORDINATES | 2021222766 | Inner coordinates |
  
   |
PARENT_COORDINATES | 2021224545 | Parent coordinates |
  
   |
PASTEBOARD_COORDINATES | 2021224546 | Pasteboard coordinates |
  
   |
SPREAD_COORDINATES | 2021225328 | Spread coordinates. |
BoundingBoxLimits |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
GEOMETRIC_PATH_BOUNDS | 1768844080 | Geometric path bounds |
  
   |
OUTER_STROKE_BOUNDS | 1768844081 | Outer stroke bounds |
| | The bounding box to resize. |
| opposingCorners |
[[x1, y1], [x2, y2]]
| | 新しいバウンディングボックスの座標 |
  
   |
remove() | なし | 削除 |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
removeOverride() | なし | オーバーライドを削除 |
  
   |
resize(in, from, by, values, [resizeIndividually], [consideringRulerUnits]) | なし | 拡大/縮小 |
| in |
CoordinateSpaces, BoundingBoxLimits, [CoordinateSpaces, BoundingBoxLimits]
CoordinateSpaces |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
INNER_COORDINATES | 2021222766 | Inner coordinates |
  
   |
PARENT_COORDINATES | 2021224545 | Parent coordinates |
  
   |
PASTEBOARD_COORDINATES | 2021224546 | Pasteboard coordinates |
  
   |
SPREAD_COORDINATES | 2021225328 | Spread coordinates. |
BoundingBoxLimits |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
GEOMETRIC_PATH_BOUNDS | 1768844080 | Geometric path bounds |
  
   |
OUTER_STROKE_BOUNDS | 1768844081 | Outer stroke bounds |
| | The bounding box to resize. |
| from |
Array of 2 Reals, AnchorPoint, Array of Arrays of 2 Reals, CoordinateSpacess, AnchorPoints, BoundingBoxLimitss, Long Integers
AnchorPoint |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
BOTTOM_CENTER_ANCHOR | 1095656035 | 下辺の中央 |
  
   |
BOTTOM_LEFT_ANCHOR | 1095656044 | 左下角 |
  
   |
BOTTOM_RIGHT_ANCHOR | 1095656050 | 右下角 |
  
   |
CENTER_ANCHOR | 1095656308 | 中心 |
  
   |
LEFT_CENTER_ANCHOR | 1095658595 | 左辺の中央 |
  
   |
RIGHT_CENTER_ANCHOR | 1095660131 | 右辺の中央 |
  
   |
TOP_CENTER_ANCHOR | 1095660643 | 上辺の中央 |
  
   |
TOP_LEFT_ANCHOR | 1095660652 | 左上角 |
  
   |
TOP_RIGHT_ANCHOR | 1095660658 | 右上角 |
| | The transform origin. Legal specifications: relative to bounding box: anchor | {anchor | {x,y}, bounds kind [, coordinate space]}; relative to coordinate space: {x,y} | {{x,y}[, coordinate space]}; relative to layout window ruler: {{x,y}, page index | bounds kind}. |
| by |
ResizeMethods
ResizeMethods |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ADDING_CURRENT_DIMENSIONS_TO | 1215264592 | 現在の値から追加 |
  
   |
MULTIPLYING_CURRENT_DIMENSIONS_BY | 1215264589 | Multiply current width and height by the given factors |
  
   |
REPLACING_CURRENT_DIMENSIONS_WITH | 1215264581 | 新しい値で置き換える |
  
   |
RESHAPING_AREA_TO_RATIO | 1215264577 | Change width to height ratio keeping the current area |
  
   |
RESHAPING_BORDER_TO_RATIO | 1215264595 | Change width to height ratio keeping the current perimeter |
| | |
| values |
Array of Reals, ResizeConstraintss, CoordinateSpacess
| | The width and height values. Legal dimensions specifications: {x, y [, coordinate space]}, {x, resize constraint [, coordinate space]}, or {resize constraint, y [, coordinate space]}; where x and y are real numbers and coordinate space is used to determine _only_ the unit of length for x and y; coordinate space is ignored for the 'current dimensions times' resize method). |
| [resizeIndividually] |
ブール型(既定値=true)
| | If false and multiple page items are targeted, the new dimensions are attained only by moving the individual items rather than resizing them. |
| [consideringRulerUnits] |
ブール型(既定値=false)
| | ルーラの単位を使うかどうか |
  
   |
resolve(location, in, [consideringRulerUnits]) | varies=any | Get the coordinates of the given location in the specified coordinate system. |
| location |
Array of 2 Reals, AnchorPoint, Array of Arrays of 2 Reals, CoordinateSpacess, AnchorPoints, BoundingBoxLimitss, Long Integers
AnchorPoint |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
BOTTOM_CENTER_ANCHOR | 1095656035 | 下辺の中央 |
  
   |
BOTTOM_LEFT_ANCHOR | 1095656044 | 左下角 |
  
   |
BOTTOM_RIGHT_ANCHOR | 1095656050 | 右下角 |
  
   |
CENTER_ANCHOR | 1095656308 | 中心 |
  
   |
LEFT_CENTER_ANCHOR | 1095658595 | 左辺の中央 |
  
   |
RIGHT_CENTER_ANCHOR | 1095660131 | 右辺の中央 |
  
   |
TOP_CENTER_ANCHOR | 1095660643 | 上辺の中央 |
  
   |
TOP_LEFT_ANCHOR | 1095660652 | 左上角 |
  
   |
TOP_RIGHT_ANCHOR | 1095660658 | 右上角 |
| | The location requested. |
| in |
CoordinateSpaces
CoordinateSpaces |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
INNER_COORDINATES | 2021222766 | Inner coordinates |
  
   |
PARENT_COORDINATES | 2021224545 | Parent coordinates |
  
   |
PASTEBOARD_COORDINATES | 2021224546 | Pasteboard coordinates |
  
   |
SPREAD_COORDINATES | 2021225328 | Spread coordinates. |
| | |
| [consideringRulerUnits] |
ブール型(既定値=false)
| | ルーラの単位を使うかどうか |
  
   |
select([existingSelection]) | なし | 選択状態にする |
| [existingSelection] |
SelectionOptions(既定値=SelectionOptions.REPLACE_WITH)
SelectionOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ADD_TO | 1633969202 | 追加選択する |
  
   |
REMOVE_FROM | 1919249734 | 選択から削除する |
  
   |
REPLACE | 1701998700 | 置き換える |
  
   |
REPLACE_WITH | 1919250519 | 置き換える |
| | 既に選択されているものがあった場合 |
  
   |
setContent(using, [relativeBasePath]) | PageItem | Replaces the content of XML element with content imported from a file. |
| using |
文字列型
| | フルパス名 |
| [relativeBasePath] |
文字列型
| | Base path used to resolve relative paths. |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |
  
   |
transform(in, from, withMatrix, [replacingCurrent], [consideringRulerUnits]) | なし | Transform the page item. |
| in |
CoordinateSpaces
CoordinateSpaces |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
INNER_COORDINATES | 2021222766 | Inner coordinates |
  
   |
PARENT_COORDINATES | 2021224545 | Parent coordinates |
  
   |
PASTEBOARD_COORDINATES | 2021224546 | Pasteboard coordinates |
  
   |
SPREAD_COORDINATES | 2021225328 | Spread coordinates. |
| | |
| from |
Array of 2 Reals, AnchorPoint, Array of Arrays of 2 Reals, CoordinateSpacess, AnchorPoints, BoundingBoxLimitss, Long Integers
AnchorPoint |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
BOTTOM_CENTER_ANCHOR | 1095656035 | 下辺の中央 |
  
   |
BOTTOM_LEFT_ANCHOR | 1095656044 | 左下角 |
  
   |
BOTTOM_RIGHT_ANCHOR | 1095656050 | 右下角 |
  
   |
CENTER_ANCHOR | 1095656308 | 中心 |
  
   |
LEFT_CENTER_ANCHOR | 1095658595 | 左辺の中央 |
  
   |
RIGHT_CENTER_ANCHOR | 1095660131 | 右辺の中央 |
  
   |
TOP_CENTER_ANCHOR | 1095660643 | 上辺の中央 |
  
   |
TOP_LEFT_ANCHOR | 1095660652 | 左上角 |
  
   |
TOP_RIGHT_ANCHOR | 1095660658 | 右上角 |
| | The temporary origin during the transformation. |
| withMatrix |
Array of 6 Reals, TransformationMatrix
| | Transform matrix. |
| [replacingCurrent] |
MatrixContent, Array( MatrixContent ), 数値型
MatrixContent |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ROTATION_VALUE | 1936746862 | Rotation value |
  
   |
SCALE_VALUES | 1735552887 | Scale values |
  
   |
SHEAR_VALUE | 1936486004 | Shear value |
  
   |
TRANSLATION_VALUES | 1936484720 | 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)
| | ルーラの単位を使うかどうか |
  
   |
transformValuesOf(in) | TransformationMatrix | Get the transformation values of the page item. |
| in |
CoordinateSpaces
CoordinateSpaces |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
INNER_COORDINATES | 2021222766 | Inner coordinates |
  
   |
PARENT_COORDINATES | 2021224545 | Parent coordinates |
  
   |
PASTEBOARD_COORDINATES | 2021224546 | Pasteboard coordinates |
  
   |
SPREAD_COORDINATES | 2021225328 | Spread coordinates. |
| | |