Adobe InDesign CS2 (4.0) Object Model JS: XMLImportPreference

InDesign CS2

Class

XMLImportPreference

 XML import preferences.

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document
XMLImportPreference

Properties

PropertyTypeAccessDescription
createLinkToXMLbool r/wIf true, creates a link to the imported XML file. If false, embeds the file.
ignoreUnmatchedIncomingbool r/wIf true, ignores elements that do not match the existing structure. Note: Valid only when import style is merge.
ignoreWhitespacebool r/wIf 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.
importStyleXMLImportStyles:
XMLImportStyles.APPEND_IMPORT
XMLImportStyles.MERGE_IMPORT
r/wThe style of incorporating imported XML content into the document.
importTextIntoTablesbool r/wIf true, imports text into tables if tags match placeholder tables and their cells. Note: Valid only when import style is merge.
importToSelectedbool r/wIf true, imports into the selected XML element. If false, imports at the root element.
parentApplication
Document
readonlyThe parent of the XMLImportPreference (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
removeUnmatchedExistingbool r/wIf 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.
repeatTextElementsbool r/wIf true, repeating text elements inherit the formatting applied to placeholder text. Note: Valid only when import style is merge.

Methods

Instances

Array of Object getElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the XMLImportPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.xmlImportPreferences

Document.xmlImportPreferences

Jongware, 27-Jun-2010 v3.0.3dContents :: Index