DocumentPreference

ドキュメント設定

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

Ver.プロパティR/O
[7][7.5][8]
[9][10][11]
parent Application, Document
[7][7.5][8]
[9][10][11]
eventListeners EventListeners
[7][7.5][8]
[9][10][11]
events Events

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8]
[9][10][11]
allowPageShuffle ブール型ドキュメントページの移動を許可
[7][7.5][8]
[9][10][11]
columnDirection HorizontalOrVertical
HorizontalOrVertical
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
HORIZONTAL1752134266
horz
横組み(横)
[7][7.5][8]
[9][10][11]
VERTICAL1986359924
vert
縦組み(縦)
The direction of text in the column.
[7][7.5][8]
[9][10][11]
columnGuideColor [ r, g, b ], UIColorsThe color of the column 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 return: [r, g, b] or UIColors.
[7][7.5][8]
[9][10][11]
columnGuideLocked ブール型If true, locks column guides.
[8]
[9][10][11]
createPrimaryTextFrame ブール型If true, the document A-master has primary text frames when a new document is created.
[7][7.5][8]
[9][10][11]
documentBleed InsideOrLeftOffset 長さThe amount to offset the inside or left document bleed. Note: To set the bleed inside or left offset, document bleed uniform size must be false.
[7][7.5][8]
[9][10][11]
documentBleed OutsideOrRightOffset 長さThe amount to offset the outside or right document bleed. Note: To set the bleed outside or right offset, document bleed uniform size must be false.
[7][7.5][8]
[9][10][11]
documentBleedBottomOffset 長さThe amount to offset the bottom document bleed. Note: To set the bleed bottom offset, document bleed uniform size must be false.
[7][7.5][8]
[9][10][11]
documentBleedTopOffset 長さThe amount to offset the top document bleed.
[7][7.5][8]
[9][10][11]
documentBleedUniformSize ブール型If true, uses the document bleed top offset value for bleed offset measurements on all sides of the document. The default setting is true.
[7][7.5][8]
[9][10][11]
documentSlugUniformSize ブール型If true, uses the slug top offset value for slug measurements on all sides of the document. The default value is false.
[7][7.5][8]
[9][10][11]
facingPages ブール型trueなら見開き、falseなら単ページ
[7][7.5][8]
[9][10][11]
intent DocumentIntentOptions
DocumentIntentOptions
Ver.10進数/文字列説明
[8]
[9][10][11]
DPS_INTENT1768846436
intd
Intended purpose of document is for digital publishing.
[7][7.5][8]
[9][10][11]
PRINT_INTENT1768846448
intp
Intended purpose of document is for print output.
[7][7.5][8]
[9][10][11]
WEB_INTENT1768846455
intw
Intended purpose of document is for web output.
The intent for a document.
[7][7.5][8]
[9][10][11]
isValid ブール型
[7][7.5][8]
[9][10][11]
marginGuideColor [ r, g, b ], UIColorsThe color of the margin guides, specified either as an array of three doubles, each in the range 0 to 255, representing R, G, and B values, or as a UI color. Can return: [r, g, b] or UIColors.
[7][7.5]
masterTextFrame ブール型If true, the document A-master has auto textframes.
[7][7.5][8]
[9][10][11]
overprintBlack ブール型黒のオーバープリント
[7][7.5][8]
[9][10][11]
pageBinding PageBindingOptions
PageBindingOptions
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
DEFAULT_VALUE1147563124
Dflt
デフォルトを使用
[7][7.5][8]
[9][10][11]
LEFT_TO_RIGHT1819570786
ltrb
左綴じ
[7][7.5][8]
[9][10][11]
RIGHT_TO_LEFT1920232546
rtlb
右綴じ
綴じ
[7][7.5][8]
[9][10][11]
pageHeight 長さページの高さ
[7][7.5][8]
[9][10][11]
pageOrientation PageOrientation
PageOrientation
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
LANDSCAPE2003395685
wide
横長
[7][7.5][8]
[9][10][11]
PORTRAIT1751738216
high
縦長
ページの向き
[7][7.5][8]
[9][10][11]
pageSize 文字列型ページサイズ(文字列)
[7][7.5][8]
[9][10][11]
pagesPerDocument 数値型ページ数 ( 1 - 9999 )
[7][7.5][8]
[9][10][11]
pageWidth 長さページの幅
[7][7.5][8]
[9][10][11]
preserveLayoutWhenShuffling ブール型If true, preserves the layout of spreads that contained more than two pages when allow page shuffle was turned on. If false, changes multi-page spreads to two-page spreads if the spreads were created or changed since allow page shuffle was turned on.
[7][7.5][8]
[9][10][11]
properties Object
[7][7.5][8]
[9][10][11]
slugBottomOffset 長さ印刷可能領域(下)
[7][7.5][8]
[9][10][11]
slugInsideOrLeftOffset 長さ印刷可能領域(左)
[7][7.5][8]
[9][10][11]
slugRightOrOutsideOffset 長さ印刷可能領域(右)
[7][7.5][8]
[9][10][11]
slugTopOffset 長さ印刷可能領域(上)
[7][7.5][8]
[9][10][11]
snippetImport UsesOriginalLocation ブール型If true, causes UI-based snippet import to use original location for page items.
[7][7.5][8]
[9][10][11]
startPageNumber 数値型ページの開始番号 (1 - 999999 既定値=1)

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8]
[9][10][11]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列型
handler ファイル型, JavaScript関数
[captures] ブール型このパラメータは旧式です
[7][7.5][8]
[9][10][11]
getElements() Array( DocumentPreference )Resolves the object specifier, creating an array of object references.
[7][7.5][8]
[9][10][11]
removeEventListener(eventType, handler, [captures]) ブール型EventListenerを削除
eventType 文字列型
handler ファイル型, JavaScript関数
[captures] ブール型このパラメータは旧式です
[7][7.5][8]
[9][10][11]
toSource() 文字列型ソースコードを表示
[7][7.5][8]
[9][10][11]
toSpecifier() 文字列型Retrieves the object specifier.