XMLImportPreference

XML import preferences.

プロパティ(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]
allowTransform ブール型If true, transforms the XML using an XSLT file.
[7][7.5][8]
[9][10][11]
createLinkToXML ブール型If true, creates a link to the imported XML file. If false, embeds the file.
[7][7.5][8]
[9][10][11]
ignoreUnmatchedIncoming ブール型If true, ignores elements that do not match the existing structure. Note: Valid only when import style is merge.
[7][7.5][8]
[9][10][11]
ignoreWhitespace ブール型If true, leaves existing content in place if the matching XML content contains only whitespace characters such as a carriage return or a tab character. Note: Valid only when import style is merge.
[7][7.5][8]
[9][10][11]
importCALSTables ブール型If true, imports CALS tables as InDesign tables. (既定値=true)
[7][7.5][8]
[9][10][11]
importStyle XMLImportStyles
XMLImportStyles
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
APPEND_IMPORT1481466217
XMai
Appends the imported content.
[7][7.5][8]
[9][10][11]
MERGE_IMPORT1481469289
XMmi
Merges the imported content.
The style of incorporating imported XML content into the document.
[7][7.5][8]
[9][10][11]
importTextIntoTables ブール型If true, imports text into tables if tags match placeholder tables and their cells. Note: Valid only when import style is merge.
[7][7.5][8]
[9][10][11]
importToSelected ブール型If true, imports into the selected XML element. If false, imports at the root element.
[7][7.5][8]
[9][10][11]
isValid ブール型
[7][7.5][8]
[9][10][11]
properties Object
[7][7.5][8]
[9][10][11]
removeUnmatchedExisting ブール型If true, deletes existing elements or placeholders in the document that do not have matches in the XML file. Note: Valid only when import style is merge.
[7][7.5][8]
[9][10][11]
repeatTextElements ブール型If true, repeating text elements inherit the formatting applied to placeholder text. Note: Valid only when import style is merge.
[7][7.5][8]
[9][10][11]
transformFilename ファイル型, XMLTransformFile.STYLESHEET_IN_XML(1483961208/Xssx)The name of the XSLT file. Note: Valid when allow transform is true. Can return: File or XMLTransformFile.
[7][7.5][8]
[9][10][11]
transformParameters [[ name1, value1 ], [ name2, value2 ], ... ]name, valueは文字列型

メソッド

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( XMLImportPreference )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.