Adobe InDesign CS2 (4.0) Object Model JS: XMLViewPreference

InDesign CS2

Class

XMLViewPreference

 XML view preferences

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document
XMLViewPreference

Properties

PropertyTypeAccessDescription
parentApplicationDocument readonlyThe parent of the XMLViewPreference (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
showAttributesbool r/wIf true, displays attributes as well as elements in the structure view. Note: Valid only when show structure is true.
showStructurebool r/wIf true, displays the structure view.
showTagMarkersbool r/wIf true, displays XML tags.
showTagOptionsbool readonlyIf true, displays the tag options dialog when tagging any item whose parent is not tagged.
showTaggedFramesbool r/wIf true, displays XML tags in tagged frames.
showTextSnippetsbool r/wIf true, the structure view displays text snippets of element content. Note: Valid only when show structure is true.

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 XMLViewPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.xmlViewPreferences

Document.xmlViewPreferences

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