Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
close([saving], [savingIn]) | なし | 閉じる |
| [saving] |
SaveOptions(既定値=SaveOptions.ASK)
SaveOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ASK | 1634954016 | 問い合わせる |
  
   |
NO | 1852776480 | 保存しない |
  
   |
YES | 2036691744 | 保存する |
| | 保存するか |
| [savingIn] |
File型
| | ファイル名 |
  
   |
close([saving], [savingIn], [versionComments], [forceSave]) | なし | 閉じる |
| [saving] |
SaveOptions(既定値=SaveOptions.ASK)
SaveOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ASK | 1634954016 | 問い合わせる |
  
   |
NO | 1852776480 | 保存しない |
  
   |
YES | 2036691744 | 保存する |
| | 保存するか |
| [savingIn] |
File型
| | ファイル名 |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
exportFile([to]) | なし | PDFに書き出し |
| [to] |
File型
| | ファイル名 |
  
   |
exportFile([to], [showingOptions], [using], [whichDocuments], [versionComments], [forceSave]) | なし | PDFに書き出し |
| [to] |
File型
| | ファイル名 |
| [showingOptions] |
ブール型(既定値=false)
| | オプションのダイアログを表示するかどうか |
| [using] |
PDFExportPreset
| | |
| [whichDocuments] |
BookContent
| | 書き出すドキュメント |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
exportFile(format, [to], [showingOptions], [using], [whichDocuments], [versionComments], [forceSave]) | なし | 書き出し |
| format |
ExportFormat, 文字列型
| | |
| [to] |
File型
| | ファイル名 |
| [showingOptions] |
ブール型(既定値=false)
| | オプションのダイアログを表示するかどうか |
| [using] |
PDFExportPreset
| | |
| [whichDocuments] |
BookContent
| | 書き出すドキュメント |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
extractLabel(key) | 文字列型 | キーに関連づけられたラベルを取得 |
| key |
文字列型
| | キー |
  
   |
getElements() | Book | |
  
   |
insertLabel(key, value) | なし | キーに関連づけられたラベルを設定 |
| key |
文字列型
| | キー |
| value |
文字列型
| | ラベルの値 |
  
   |
packageForGoLive(location) | ブール型 | GoLiveパッケージ。成功したかどうかを返す |
| location |
File型
| | File location for package |
  
   |
packageForGoLive(location, [objects]) | ブール型 | GoLiveパッケージ。成功したかどうかを返す |
| location |
File型
| | File location for package |
| [objects] |
Array( Page, PageItem, Text )
| | Objects location for package. |
  
   |
packageForPrint(to, copyingFonts, copyingLinkedGraphics, copyingProfiles, updatingGraphics, includingHiddenLayers, ignorePreflightErrors, creatingReport) | ブール型 | パッケージ。成功したかどうかを返す |
| to |
File型
| | フォルダ名(エイリアス、パス名) |
| copyingFonts |
ブール型
| | フォントのコピー |
| copyingLinkedGraphics |
ブール型
| | リンク画像のコピー |
| copyingProfiles |
ブール型
| | カラープロファイルのコピー |
| updatingGraphics |
ブール型
| | リンクの更新をするか |
| includingHiddenLayers |
ブール型
| | 非表示レイヤーを含める |
| ignorePreflightErrors |
ブール型
| | プリフライトのエラーを無視する |
| creatingReport |
ブール型
| | レポートの作成 |
  
   |
packageForPrint(to, copyingFonts, copyingLinkedGraphics, copyingProfiles, updatingGraphics, ignorePreflightErrors, creatingReport, [versionComments], [forceSave]) | ブール型 | パッケージ。成功したかどうかを返す |
| to |
File型
| | フォルダ名(エイリアス、パス名) |
| copyingFonts |
ブール型
| | フォントのコピー |
| copyingLinkedGraphics |
ブール型
| | リンク画像のコピー |
| copyingProfiles |
ブール型
| | カラープロファイルのコピー |
| updatingGraphics |
ブール型
| | リンクの更新をするか |
| ignorePreflightErrors |
ブール型
| | プリフライトのエラーを無視する |
| creatingReport |
ブール型
| | レポートの作成 |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
packageForPrint(to, copyingFonts, copyingLinkedGraphics, copyingProfiles, updatingGraphics, includingHiddenLayers, ignorePreflightErrors, creatingReport, [versionComments], [forceSave]) | ブール型 | パッケージ。成功したかどうかを返す |
| to |
File型
| | フォルダ名(エイリアス、パス名) |
| copyingFonts |
ブール型
| | フォントのコピー |
| copyingLinkedGraphics |
ブール型
| | リンク画像のコピー |
| copyingProfiles |
ブール型
| | カラープロファイルのコピー |
| updatingGraphics |
ブール型
| | リンクの更新をするか |
| includingHiddenLayers |
ブール型
| | 非表示レイヤーを含む |
| ignorePreflightErrors |
ブール型
| | プリフライトのエラーを無視する |
| creatingReport |
ブール型
| | レポートの作成 |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
preflight([to], [autoOpen]) | なし | プリフライトを実行 |
| [to] |
File型
| | レポートファイルの保存ファイル名 |
| [autoOpen] |
ブール型(既定値=false)
| | 実行後にレポートファイルを開くか |
  
   |
print([printDialog], [using], [withGrids]) | なし | プリント |
| [printDialog] |
ブール型
| | Whether to invoke the print dialog |
| [using] |
PrinterPresetTypes, PrinterPreset
PrinterPresetTypes |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
CUSTOM | 1131639917 | [カスタム] |
  
   |
DEFAULT_VALUE | 1147563124 | [デフォルト] |
| | |
| [withGrids] |
ブール型(既定値=false)
| | グリッドを含むか |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
repaginate() | なし | Repaginates the book. |
  
   |
save([to]) | なし | 保存 |
| [to] |
File型
| | ファイル名 |
  
   |
save([to], [versionComments], [forceSave]) | なし | 保存 |
| [to] |
File型
| | ファイル名 |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
synchronize() | なし | ブックを同期 |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |
  
   |
updateAllCrossReferences() | なし | Updates the cross references in the entire book. |
  
   |
updateAllNumbers() | なし | 番号を更新 (e.g. Page numbers, chapter numbers and paragraph numbers) |
  
   |
updateChapterAndParagraphNumbers() | なし | Updates chapter numbers and paragraph numbers throughout the book. |