Assignments

Assignment(InCopy-アサイン)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] add(filePath, [versionComments], [forceSave], [withProperties]) Assignment新しいオブジェクトを作成し、それを返す
filePath ファイルフルパス名
[versionComments] 文字列値バージョンコメント
[forceSave] 真偽値強制的にバージョンを保存 (既定値=false)
[withProperties] Objectプロパティを設定
[18][19][20][21] anyItem() Assignmentどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() Assignment (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() Assignment最初のオブジェクトを返す
[18][19][20][21] item(index) Assignmentインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByID(id) AssignmentIDで指定したオブジェクトを返す
id 数値
[18][19][20][21] itemByName(name) Assignment名前で指定したオブジェクトを返す
name 文字列値
[18][19][20][21] itemByRange(from, to) Assignment (Array)範囲で指定したオブジェクトを返す
from Assignment, 数値, 文字列値範囲の開始
to Assignment, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() Assignment最後のオブジェクトを返す
[18][19][20][21] middleItem() Assignment真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) Assignment一つ後のオブジェクトを返す
obj Assignment位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) Assignment一つ前のオブジェクトを返す
obj Assignment位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

Assignment

InCopy-アサイン

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

Ver.プロパティR/O
[18][19][20][21] parent Document
[18][19][20][21] assignedStories AssignedStories
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] assignmentFileStatus AssignmentStatus
AssignmentStatus
Ver.プロパティ値/管理用文字説明
[18][19][20][21]ASSIGNMENT_FILE_MISSING1095126387
AFMs
The assignment file is missing.
[18][19][20][21]ASSIGNMENT_OUT_OF_DATE1095724868
AOoD
The assignment has been modified.
[18][19][20][21]ASSIGNMENT_UP_TO_DATE1096119364
AUtD
The assignment has not been modified.
アサインファイルの状態
[18][19][20][21] documentPath ファイルThe path to the document that the hyperlink destination points to.
[18][19][20][21] exportOptions AssignmentExportOptions
AssignmentExportOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]ASSIGNED_SPREADS1098073459
AsEs
アサインされたスプレッド
[18][19][20][21]EMPTY_FRAMES1098073446
AsEf
プレースホルダーフレーム
[18][19][20][21]EVERYTHING1098073441
AsEa
すべてのスプレッド
The content to export in the assignment.
[18][19][20][21] filePath 文字列値, ファイルファイルパス
[18][19][20][21] frameColor [ r, g, b ], UIColors, NothingEnum.NOTHING(1851876449/nada)The color of the assignment's frames.
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] includeLinksWhenPackage 真偽値If true, includes linked files when packaging the assignment.
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] label 文字列値スクリプトラベル
[18][19][20][21] name 文字列値オブジェクトの名前
[18][19][20][21] packaged 真偽値If true, the assignment is packaged.
[18][19][20][21] packageUpToDate 真偽値If true, the assignment package is up to date.
[18][19][20][21] properties Object
[18][19][20][21] userName 文字列値The user name to assign to tracked changes and notes.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] cancelPackage() なしCancels the package for an assignment.
[18][19][20][21] createPackage(filePath, [submit], [withProperties]) ファイルCreates an assignment package.
filePath ファイルフルパス名
[submit] 真偽値If true, submits assigned stories before packaging the assignment.(既定値=true)
[withProperties] Objectプロパティを設定
[18][19][20][21] extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[18][19][20][21] getElements() Array( Assignment )オブジェクト参照を返す
[18][19][20][21] insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[18][19][20][21] remove() なし削除
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.
[18][19][20][21] update([versionComments], [forceSave]) なしUpdates the assignment file.
[versionComments] 文字列値バージョンコメント
[forceSave] 真偽値強制的にバージョンを保存 (既定値=false)