Ver. | プロパティ名 | R/O | 値 | 説明 |
  
   |
assignmentFileStatus | ○ |
AssignmentStatus
AssignmentStatus |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ASSIGNMENT_FILE_MISSING | 1095126387 | 見つからない? |
  
   |
ASSIGNMENT_OUT_OF_DATE | 1095724868 | 変更されている? |
  
   |
ASSIGNMENT_UP_TO_DATE | 1096119364 | 変更されていない? |
| アサインファイルの状態 |
  
   |
documentPath | ○ |
文字列型
| The file path to the document that contains the page that the hyperlink jumps to. |
  
   |
documentPath | ○ |
ファイル型
| The path to the document that the hyperlink destination points to. |
  
   |
exportOptions | |
AssignmentExportOptions
AssignmentExportOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ASSIGNED_SPREADS | 1098073459 | アサインされたスプレッド |
  
   |
EMPTY_FRAMES | 1098073446 | プレースホルダーフレーム |
  
   |
EVERYTHING | 1098073441 | すべてのスプレッド |
| |
  
   |
filePath | ○ |
ファイル型
| ファイルパス |
  
   |
filePath | ○ |
文字列型
| ファイルパス |
  
   |
frameColor | |
[r, g, b], UIColors
| The color of the frames in the assignment |
  
   |
id | ○ |
数値型
| オブジェクトのID |
  
   |
includeLinksWhenPackage | |
ブール型
| If true, includes linked files when packaging the assignment. |
  
   |
index | ○ |
数値型
| インデックス |
  
   |
isValid | ○ |
ブール型
| |
  
   |
label | |
文字列型
| スクリプトラベル |
  
   |
name | |
文字列型
| オブジェクトの名前 |
  
   |
packaged | ○ |
ブール型
| If true, the assignment is packaged. |
  
   |
packageUpToDate | ○ |
ブール型
| If true, the assignment package is up to date. |
  
   |
userName | |
文字列型
| The user name to assign to tracked changes and notes. |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
cancelPackage() | なし | Cancels the package for an assignment. |
  
   |
createPackage(filePath, [submit], [withProperties]) | File | Creates an assignment package. |
| filePath |
File型
| | フルパス名 |
| [submit] |
ブール型(既定値=true)
| | If true, submits assigned stories before packaging the assignment. |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
extractLabel(key) | 文字列型 | キーに関連づけられたラベルを取得 |
| key |
文字列型
| | キー |
  
   |
getElements() | Assignment | |
  
   |
insertLabel(key, value) | なし | キーに関連づけられたラベルを設定 |
| key |
文字列型
| | キー |
| value |
文字列型
| | ラベルの値 |
  
   |
remove() | Assignment | 削除 |
  
   |
remove() | なし | 削除 |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |
  
   |
update() | なし | Updates the assignment file. |
  
   |
update([versionComments], [forceSave]) | なし | Updates the assignment file. |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |