DocumentPresets

DocumentPreset(ドキュメントサイズの各設定値)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
add([withProperties]) DocumentPreset新しいオブジェクトを作成し、それを返す
[withProperties] Objectプロパティを設定
[7][7.5][8][9]
[10][11][12][13]
anyItem() DocumentPresetどれかのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
count() 数値要素数を返す
[7][7.5][8][9]
[10][11][12][13]
everyItem() Array( DocumentPreset )全てのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
firstItem() DocumentPreset最初のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
item(index) DocumentPresetインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[7][7.5][8][9]
[10][11][12][13]
itemByID(id) DocumentPresetIDで指定したオブジェクトを返す
id 数値
[7][7.5][8][9]
[10][11][12][13]
itemByName(name) DocumentPreset名前で指定したオブジェクトを返す
name 文字列値
[7][7.5][8][9]
[10][11][12][13]
itemByRange(from, to) Array( DocumentPreset )範囲で指定したオブジェクトを返す
from DocumentPreset, 数値, 文字列値範囲の開始
to DocumentPreset, 数値, 文字列値範囲の終了
[7][7.5][8][9]
[10][11][12][13]
lastItem() DocumentPreset最後のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
middleItem() DocumentPreset真ん中のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
nextItem(obj) DocumentPreset一つ後のオブジェクトを返す
obj DocumentPreset位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
previousItem(obj) DocumentPreset一つ前のオブジェクトを返す
obj DocumentPreset位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す

DocumentPreset

ドキュメントサイズの各設定値

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

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

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
bottom 長さ値下マージン
[7][7.5][8][9]
[10][11][12][13]
columnCount 数値段組の段数(1 - 216)
[7][7.5][8][9]
[10][11][12][13]
columnGutter 長さ値段組みの間隔 (0 - 1440 pt)
[8][9]
[10][11][12][13]
createPrimaryTextFrame 真偽値プライマリテキストフレーム
[7][7.5][8][9]
[10][11][12][13]
documentBleedBottomOffset 長さ値裁ち落とし(下)
[7][7.5][8][9]
[10][11][12][13]
documentBleedInsideOrLeftOffset 長さ値裁ち落とし(左)
[7][7.5][8][9]
[10][11][12][13]
documentBleedOutsideOrRightOffset 長さ値裁ち落とし(右)
[7][7.5][8][9]
[10][11][12][13]
documentBleedTopOffset 長さ値裁ち落とし(上)
[7][7.5][8][9]
[10][11][12][13]
documentBleedUniformSize 真偽値裁ち落としを同一値にするか
[7][7.5][8][9]
[10][11][12][13]
documentSlugUniformSize 真偽値印刷可能領域を同一値にするか
[7][7.5][8][9]
[10][11][12][13]
facingPages 真偽値trueなら見開き、falseなら単ページ
[7][7.5][8][9]
[10][11][12][13]
id 数値オブジェクトのID
[7][7.5][8][9]
[10][11][12][13]
index 数値インデックス
[7][7.5][8][9]
[10][11][12][13]
intent DocumentIntentOptions
DocumentIntentOptions
Ver.10進数/文字列説明
[8][9]
[10][11]
DPS_INTENT1768846436
intd
Intended purpose of document is for digital publishing.

[12][13]
MOBILE_INTENT1768846445
intm
Intended purpose of document is for publishing to mobiles.
[7][7.5][8][9]
[10][11][12][13]
PRINT_INTENT1768846448
intp
Intended purpose of document is for print output.
[7][7.5][8][9]
[10][11][12][13]
WEB_INTENT1768846455
intw
Intended purpose of document is for web output.
ドキュメントプロファイル
[7][7.5][8][9]
[10][11][12][13]
isValid 真偽値オブジェクトが有効かどうか
[7][7.5][8][9]
[10][11][12][13]
label 文字列値スクリプトラベル
[7][7.5][8][9]
[10][11][12][13]
left 長さ値左/ノドマージン
[7][7.5]
masterTextFrame 真偽値If true, the document A-master has auto textframes.
[7][7.5][8][9]
[10][11][12][13]
name 文字列値オブジェクトの名前
[7][7.5][8][9]
[10][11][12][13]
pageHeight 長さ値ページの高さ
[7][7.5][8][9]
[10][11][12][13]
pageOrientation PageOrientation
PageOrientation
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
LANDSCAPE2003395685
wide
横長
[7][7.5][8][9]
[10][11][12][13]
PORTRAIT1751738216
high
縦長
ページの向き
[7][7.5][8][9]
[10][11][12][13]
pageSize 文字列値ページサイズ(文字列)
[7][7.5][8][9]
[10][11][12][13]
pagesPerDocument 数値ページ数 ( 1 - 9999 )
[7][7.5][8][9]
[10][11][12][13]
pageWidth 長さ値ページの幅
[7][7.5][8][9]
[10][11][12][13]
properties Object
[7][7.5][8][9]
[10][11][12][13]
right 長さ値右/小口マージン
[7][7.5][8][9]
[10][11][12][13]
slugBottomOffset 長さ値印刷可能領域(下)
[7][7.5][8][9]
[10][11][12][13]
slugInsideOrLeftOffset 長さ値印刷可能領域(左)
[7][7.5][8][9]
[10][11][12][13]
slugRightOrOutsideOffset 長さ値印刷可能領域(右)
[7][7.5][8][9]
[10][11][12][13]
slugTopOffset 長さ値印刷可能領域(上)
[7][7.5][8][9]
[10][11][12][13]
startPageNumber 数値ページの開始番号 (1 - 999999 既定値=1)
[7][7.5][8][9]
[10][11][12][13]
top 長さ値上マージン

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
duplicate() DocumentPreset複製。複製されたオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[7][7.5][8][9]
[10][11][12][13]
getElements() Array( DocumentPreset )オブジェクト参照を返す
[7][7.5][8][9]
[10][11][12][13]
insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[7][7.5][8][9]
[10][11][12][13]
remove() なし削除
[7][7.5][8][9]
[10][11][12][13]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す
[7][7.5][8][9]
[10][11][12][13]
toSpecifier() 文字列値Retrieves the object specifier.