XFLExportPreference

XFL export preferences.

Methods:

toSource, getElements, toSpecifier, addEventListener, removeEventListener

Objects:

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

Superclass:

Preference

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

DynamicMediaHandlingOptions.APPEARANCE_ONLY

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_PREDEFINED_SETTINGS

FitMethodSettings.FIT_GIVEN_WIDTH_AND_HEIGHT

FitMethodSettings.FIT_GIVEN_SCALE_PERCENTAGE

read/write

The fitting method to use.

fitOption

FitDimension

FitDimension.FIT1280X800

FitDimension.FIT1240X620

FitDimension.FIT1024X768

FitDimension.FIT984X588

FitDimension.FIT800X600

FitDimension.FIT760X420

FitDimension.FIT640X480

FitDimension.FIT600X300

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

DynamicDocumentsJPEGQualityOptions.LOW

DynamicDocumentsJPEGQualityOptions.MEDIUM

DynamicDocumentsJPEGQualityOptions.HIGH

DynamicDocumentsJPEGQualityOptions.MAXIMUM

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

XFLRasterizeFormatOptions.GIF

XFLRasterizeFormatOptions.PNG

XFLRasterizeFormatOptions.AUTOMATIC

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

Sampling.DOWNSAMPLE

Sampling.SUBSAMPLE

Sampling.BICUBIC_DOWNSAMPLE

read/write

The resampling type.

textExportPolicy

DynamicDocumentsTextExportPolicy

DynamicDocumentsTextExportPolicy.LIVE

DynamicDocumentsTextExportPolicy.RASTERIZE

DynamicDocumentsTextExportPolicy.VECTORIZE

DynamicDocumentsTextExportPolicy.TLF

read/write

The text export policy.

Method Listing

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

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

Varies

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, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

Varies

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()