Adobe InDesign CS5.5 (7.5) Object Model JS: XFLExportPreference

InDesign CS5.5

Class

XFLExportPreference

 XFL export preferences. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
XFLExportPreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
dynamicDocumentExportReaderSpreadsbool r/wIf true, each spread in the exported document is combined into a single page that has spread's original width.
dynamicMediaHandlingDynamicMediaHandlingOptions:
DynamicMediaHandlingOptions.INCLUDE_ALL_MEDIA
DynamicMediaHandlingOptions.APPEARANCE_ONLY
r/wThe dynamic media handling options.
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
fitMethodFitMethodSettings:
FitMethodSettings.FIT_PREDEFINED_SETTINGS
FitMethodSettings.FIT_GIVEN_WIDTH_AND_HEIGHT
FitMethodSettings.FIT_GIVEN_SCALE_PERCENTAGE
r/wThe fitting method to use.
fitOptionFitDimension:
FitDimension.FIT1280X800
FitDimension.FIT1240X620
FitDimension.FIT1024X768
FitDimension.FIT984X588
FitDimension.FIT800X600
FitDimension.FIT760X420
FitDimension.FIT640X480
FitDimension.FIT600X300
r/wThe options for fitting to predefined dimension.
fitScalenumber (range: 1 - 1000) r/wThe size fits to given scale percentage. (default: 100)
fitWidthAndHeightArray of number r/wThe size fits to given width and height.
flattenTransparencybool r/wFlatten transparency when exporting.
insertHyphensbool r/wIf true, discretionary hyphenation points are inserted when TLF text is used.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
jpegQualityOptionsDynamicDocumentsJPEGQualityOptions:
DynamicDocumentsJPEGQualityOptions.MINIMUM
DynamicDocumentsJPEGQualityOptions.LOW
DynamicDocumentsJPEGQualityOptions.MEDIUM
DynamicDocumentsJPEGQualityOptions.HIGH
DynamicDocumentsJPEGQualityOptions.MAXIMUM
r/wThe JPEG quality options.
pageRangePageRange
String
r/wThe 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.
parentApplication readonlyThe parent of the XFLExportPreference (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
rasterFormatXFLRasterizeFormatOptions:
XFLRasterizeFormatOptions.JPEG
XFLRasterizeFormatOptions.GIF
XFLRasterizeFormatOptions.PNG
XFLRasterizeFormatOptions.AUTOMATIC
r/wThe raster format options.
rasterResolutionnumber (range: 72 - 2400) r/wThe raster resolution.
rasterizePagesbool r/wIf true, all the pages in the exported document will be rasterized.
resamplingThresholdnumber r/wThe resampling threshold.
resamplingTypeSampling:
Sampling.NONE
Sampling.DOWNSAMPLE
Sampling.SUBSAMPLE
Sampling.BICUBIC_DOWNSAMPLE
r/wThe resampling type.
textExportPolicyDynamicDocumentsTextExportPolicy:
DynamicDocumentsTextExportPolicy.LIVE
DynamicDocumentsTextExportPolicy.RASTERIZE
DynamicDocumentsTextExportPolicy.VECTORIZE
DynamicDocumentsTextExportPolicy.TLF
r/wThe text export policy.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

Array of XFLExportPreference getElements ()
Resolves the object specifier, creating an array of object references.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the XFLExportPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.xflExportPreferences

Return

Array of XFLExportPreference XFLExportPreference.getElements ()

Jongware, 28-Apr-2012 v3.0.3iContents :: Index