XFLExportPreference

XFL export preferences.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

Boolean, DynamicDocumentsJPEGQualityOptions, DynamicDocumentsTextExportPolicy, DynamicMediaHandlingOptions, EventListeners, Events, FitDimension, FitMethodSettings, Number, Object, PageRange, Sampling, String, XFLRasterizeFormatOptions

Preferences:

DynamicDocumentsJPEGQualityOptions

Hierarchy:

Superclass: Preference

Class: XFLExportPreference

Property Listing

Property

Type

Access

Description

dynamicDocumentExportReaderSpreads

Boolean

read/write

If true, each spread in the exported document is combined into a single page that has spread's original width.

dynamicMediaHandling

DynamicMediaHandlingOptions

DynamicMediaHandlingOptions.APPEARANCE_ONLY

DynamicMediaHandlingOptions.INCLUDE_ALL_MEDIA

read/write

The dynamic media handling options.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

fitMethod

FitMethodSettings

FitMethodSettings.FIT_GIVEN_SCALE_PERCENTAGE

FitMethodSettings.FIT_GIVEN_WIDTH_AND_HEIGHT

FitMethodSettings.FIT_PREDEFINED_SETTINGS

read/write

The fitting method to use.

fitOption

FitDimension

FitDimension.FIT1024X768

FitDimension.FIT1240X620

FitDimension.FIT1280X800

FitDimension.FIT600X300

FitDimension.FIT640X480

FitDimension.FIT760X420

FitDimension.FIT800X600

FitDimension.FIT984X588

read/write

The options for fitting to predefined dimension.

fitScale

Number (range 1 - 1000)

read/write

The size fits to given scale percentage.

fitWidthAndHeight

Array of Number

read/write

The size fits to given width and height.

flattenTransparency

Boolean

read/write

Flatten transparency when exporting.

insertHyphens

Boolean

read/write

If true, discretionary hyphenation points are inserted when TLF text is used.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

jpegQualityOptions

DynamicDocumentsJPEGQualityOptions

DynamicDocumentsJPEGQualityOptions.HIGH

DynamicDocumentsJPEGQualityOptions.LOW

DynamicDocumentsJPEGQualityOptions.MAXIMUM

DynamicDocumentsJPEGQualityOptions.MEDIUM

DynamicDocumentsJPEGQualityOptions.MINIMUM

read/write

The JPEG quality options.

pageRange

PageRange

PageRange.ALL_PAGES

PageRange.SELECTED_ITEMS

String

read/write

The pages to print, specified either as an enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). Can return: PageRange enumerator or String.

parent

Application

readonly

The parent of the XFLExportPreference (a Application).

properties

Object

read/write

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

rasterFormat

XFLRasterizeFormatOptions

XFLRasterizeFormatOptions.AUTOMATIC

XFLRasterizeFormatOptions.GIF

XFLRasterizeFormatOptions.JPEG

XFLRasterizeFormatOptions.PNG

read/write

The raster format options.

rasterResolution

Number (range 72 - 2400)

read/write

The raster resolution.

rasterizePages

Boolean

read/write

If true, all the pages in the exported document will be rasterized.

resamplingThreshold

Number

read/write

The resampling threshold.

resamplingType

Sampling

Sampling.BICUBIC_DOWNSAMPLE

Sampling.DOWNSAMPLE

Sampling.NONE

Sampling.SUBSAMPLE

read/write

The resampling type.

textExportPolicy

DynamicDocumentsTextExportPolicy

DynamicDocumentsTextExportPolicy.LIVE

DynamicDocumentsTextExportPolicy.RASTERIZE

DynamicDocumentsTextExportPolicy.TLF

DynamicDocumentsTextExportPolicy.VECTORIZE

read/write

The text export policy.

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)

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

String toSpecifier ()

Retrieves the object specifier.

Object of

Event.parent

EventListener.parent

MutationEvent.parent

Application.xflExportPreferences

Return

XFLExportPreference.getElements()