XMLExportPreference

XML export preferences.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

Boolean, EventListeners, Events, File, GIFOptionsPalette, ImageConversion, JPEGOptionsFormat, JPEGOptionsQuality, NothingEnum, Object, XMLExportUntaggedTablesFormat, XMLFileEncoding, XMLTransformFile

Hierarchy:

Superclass: Preference

Class: XMLExportPreference

Property Listing

Property

Type

Access

Description

allowTransform

Boolean

read/write

If true, transforms the XML using an XSLT file.

characterReferences

Boolean

read/write

If true, replaces special characters with character references.

copyFormattedImages

Boolean

read/write

If true, copies formatted images to the images subfolder.

copyOptimizedImages

Boolean

read/write

If true, copies optimized images to the images subfolder.

copyOriginalImages

Boolean

read/write

If true, copies original images to the images subfolder.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

excludeDtd

Boolean

read/write

If true, excludes the DTD from the exported XML content.

exportFromSelected

Boolean

read/write

If true, exports XML content from the selected XML element. If false, exports the entire document.

exportUntaggedTablesFormat

XMLExportUntaggedTablesFormat

XMLExportUntaggedTablesFormat.CALS

XMLExportUntaggedTablesFormat.NONE

read/write

The export format for untagged tables in tagged stories.

fileEncoding

XMLFileEncoding

XMLFileEncoding.SHIFT_JIS

XMLFileEncoding.UTF16

XMLFileEncoding.UTF8

read/write

The file encoding type for exporting XML content.

gifOptionsInterlaced

Boolean

read/write

If true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG.

gifOptionsPalette

GIFOptionsPalette

GIFOptionsPalette.ADAPTIVE_PALETTE

GIFOptionsPalette.MACINTOSH_PALETTE

GIFOptionsPalette.WEB_PALETTE

GIFOptionsPalette.WINDOWS_PALETTE

read/write

The color palette for GIF conversion. Note: Not valid when image conversion is JPEG.

imageConversion

ImageConversion

ImageConversion.AUTOMATIC

ImageConversion.GIF

ImageConversion.JPEG

ImageConversion.PNG

read/write

The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

jpegOptionsFormat

JPEGOptionsFormat

JPEGOptionsFormat.BASELINE_ENCODING

JPEGOptionsFormat.PROGRESSIVE_ENCODING

read/write

The formatting method for converted JPEG images. Note: Not valid when image conversion is GIF.

jpegOptionsQuality

JPEGOptionsQuality

JPEGOptionsQuality.HIGH

JPEGOptionsQuality.LOW

JPEGOptionsQuality.MAXIMUM

JPEGOptionsQuality.MEDIUM

read/write

The quality of converted JPEG images. Note: Not valid when image conversion is GIF.

parent

Application

Document

readonly

The parent of the XMLExportPreference (a Application or Document).

preferredBrowser

File

NothingEnum.NOTHING

read/write

The preferred browser for viewing XML. Can return: File or NothingEnum enumerator.

properties

Object

read/write

A property that allows setting of several properties at the same time.

ruby

Boolean

read/write

If true, includes Ruby text in the exported XML content.

transformFilename

File

XMLTransformFile

XMLTransformFile.STYLESHEET_IN_XML

read/write

The name of the XSLT file. Note: Valid when allow transform is true. Can return: File or XMLTransformFile enumerator.

viewAfterExport

Boolean

read/write

If true, displays exported XML content in a specified viewer.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

XMLExportPreference getElements ()

Resolves the object specifier, creating an array of object references.

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

String toSource ()

Generates a string which, if executed, will return the XMLExportPreference.

String toSpecifier ()

Retrieves the object specifier.

Object of

Event.parent

EventListener.parent

MutationEvent.parent

Application.xmlExportPreferences

Document.xmlExportPreferences

Return

XMLExportPreference.getElements()