Class
SWF export settings for the application object. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
SWFExportPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
curveQuality | SWFCurveQualityValue: SWFCurveQualityValue.MINIMUM SWFCurveQualityValue.LOW SWFCurveQualityValue.MEDIUM SWFCurveQualityValue.HIGH SWFCurveQualityValue.MAXIMUM |
r/w | The SWF curve quality. |
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. |
frameRate | number (range: 1 - 120) | r/w | The frame rate in frames per second. |
generateHTML | bool | r/w | Flag indicates whether to generate HTML. |
includeInteractivePageCurl | bool | r/w | Flag indicates whether to include interactive page curl when export to SWF. |
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. |
pageTransitionOverride | PageTransitionOverrideOptions: PageTransitionOverrideOptions.FROM_DOCUMENT PageTransitionOverrideOptions.NONE PageTransitionOverrideOptions.BLINDS_TRANSITION PageTransitionOverrideOptions.BOX_TRANSITION PageTransitionOverrideOptions.COMB_TRANSITION PageTransitionOverrideOptions.COVER_TRANSITION PageTransitionOverrideOptions.DISSOLVE_TRANSITION PageTransitionOverrideOptions.FADE_TRANSITION PageTransitionOverrideOptions.PAGE_TURN_TRANSITION PageTransitionOverrideOptions.PUSH_TRANSITION PageTransitionOverrideOptions.SPLIT_TRANSITION PageTransitionOverrideOptions.UNCOVER_TRANSITION PageTransitionOverrideOptions.WIPE_TRANSITION PageTransitionOverrideOptions.ZOOM_IN_TRANSITION PageTransitionOverrideOptions.ZOOM_OUT_TRANSITION |
r/w | The name of the page transition to use for all pages. |
parent | Application | readonly | The parent of the SWFExportPreference (a Application). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
rasterCompression | RasterCompressionOptions: RasterCompressionOptions.JPEG_COMPRESSION RasterCompressionOptions.LOSSLESS_COMPRESSION RasterCompressionOptions.AUTOMATIC_COMPRESSION |
r/w | The SWF raster compression 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. |
swfBackground | SWFBackgroundOptions: SWFBackgroundOptions.TRANSPARENT_SWF_BACKGROUND SWFBackgroundOptions.PAPER_COLOR |
r/w | SWF background setting |
textExportPolicy | DynamicDocumentsTextExportPolicy: DynamicDocumentsTextExportPolicy.LIVE DynamicDocumentsTextExportPolicy.RASTERIZE DynamicDocumentsTextExportPolicy.VECTORIZE DynamicDocumentsTextExportPolicy.TLF |
r/w | The text export policy. |
useNetworkAccess | bool | r/w | Flag indicates whether to allow to use network access when export to SWF. |
viewSWFAfterExporting | bool | r/w | Flag indicates to whether to view the SWF after exporting. |
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 SWFExportPreference 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 SWFExportPreference.
Element of
Application.swfExportPreferences
Return
Array of SWFExportPreference SWFExportPreference.getElements ()
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |