Indesign Scripting Reference
home | search | Links
JavaScript >> XMLPreference

XMLPreference

XML preferences.

XMLPreference Properties

Property Type Access Description
defaultCellTagColor Array of 3 Reals (0 - 255), UIColors enumeration (see table at end of chapter) r/w The color to give a new cell tag. This color will only be used if the tag needs to be created as Array of 3 Doubles (0 - 255) or idUIColors enumerator.
defaultCellTagName String r/w The name to give to new cell elements created automatically.
defaultStoryTagColor Array of 3 Reals (0 - 255), UIColors enumeration (see table at end of chapter) r/w The color to give a new story tag. This color will only be used if the tag needs to be created as Array of 3 Doubles (0 - 255) or idUIColors enumerator.
defaultStoryTagName String r/w The name to give to new story elements created automatically.
defaultTableTagColor Array of 3 Reals (0 - 255), UIColors enumeration (see table at end of chapter) r/w The color to give a new table tag. This color will only be used if the tag needs to be created as Array of 3 Doubles (0 - 255) or idUIColors enumerator.
defaultTableTagName String r/w The name to give to new table elements created automatically.
parent Object read The parent of the object.
properties An array of property names and values r/w Property that allows setting of several properties at the same time.

XMLPreference Methods

Method Returns Description
getElements Array of Objects Resolve the object specifier.
toSource String Generate JavaScript source that, if executed, will return the specified objects.
toSpecifier String Retrieve the object specifier.