Class
XFL export preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
XFLExportPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
dynamicDocumentExportReaderSpreads | bool | r/w | 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 |
r/w | The dynamic media handling options. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
fitMethod | FitMethodSettings: FitMethodSettings.FIT_PREDEFINED_SETTINGS FitMethodSettings.FIT_GIVEN_WIDTH_AND_HEIGHT FitMethodSettings.FIT_GIVEN_SCALE_PERCENTAGE |
r/w | The fitting method to use. |
fitOption | FitDimension: FitDimension.FIT1280X800 FitDimension.FIT1240X620 FitDimension.FIT1024X768 FitDimension.FIT984X588 FitDimension.FIT800X600 FitDimension.FIT760X420 FitDimension.FIT640X480 FitDimension.FIT600X300 |
r/w | The options for fitting to predefined dimension. |
fitScale | number (range: 1 - 1000) | r/w | The size fits to given scale percentage. (default: 100) |
fitWidthAndHeight | Array of number | r/w | The size fits to given width and height. |
flattenTransparency | bool | r/w | Flatten transparency when exporting. |
insertHyphens | bool | r/w | If true, discretionary hyphenation points are inserted when TLF text is used. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
jpegQualityOptions | DynamicDocumentsJPEGQualityOptions: DynamicDocumentsJPEGQualityOptions.MINIMUM DynamicDocumentsJPEGQualityOptions.LOW DynamicDocumentsJPEGQualityOptions.MEDIUM DynamicDocumentsJPEGQualityOptions.HIGH DynamicDocumentsJPEGQualityOptions.MAXIMUM |
r/w | The JPEG quality options. |
pageRange | PageRange String |
r/w | 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 | r/w | A property that allows setting of several properties at the same time. |
rasterFormat | XFLRasterizeFormatOptions: XFLRasterizeFormatOptions.JPEG XFLRasterizeFormatOptions.GIF XFLRasterizeFormatOptions.PNG XFLRasterizeFormatOptions.AUTOMATIC |
r/w | The raster format options. |
rasterResolution | number (range: 72 - 2400) | r/w | The raster resolution. |
rasterizePages | bool | r/w | If true, all the pages in the exported document will be rasterized. |
resamplingThreshold | number | r/w | The resampling threshold. |
resamplingType | Sampling: Sampling.NONE Sampling.DOWNSAMPLE Sampling.SUBSAMPLE Sampling.BICUBIC_DOWNSAMPLE |
r/w | The resampling type. |
textExportPolicy | DynamicDocumentsTextExportPolicy: DynamicDocumentsTextExportPolicy.LIVE DynamicDocumentsTextExportPolicy.RASTERIZE DynamicDocumentsTextExportPolicy.VECTORIZE DynamicDocumentsTextExportPolicy.TLF |
r/w | The text export policy. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This 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.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the XFLExportPreference.
Element of
Application.xflExportPreferences
Return
Array of XFLExportPreference XFLExportPreference.getElements ()
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |