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

InDesign Server CS5.5

Class

SWFExportPreference

 SWF export settings for the application object. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
SWFExportPreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
curveQualitySWFCurveQualityValue:
SWFCurveQualityValue.MINIMUM
SWFCurveQualityValue.LOW
SWFCurveQualityValue.MEDIUM
SWFCurveQualityValue.HIGH
SWFCurveQualityValue.MAXIMUM
r/wThe SWF curve quality.
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.
frameRatenumber (range: 1 - 120) r/wThe frame rate in frames per second.
generateHTMLbool r/wFlag indicates whether to generate HTML.
includeInteractivePageCurlbool r/wFlag indicates whether to include interactive page curl when export to SWF.
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.
pageTransitionOverridePageTransitionOverrideOptions:
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/wThe name of the page transition to use for all pages.
parentApplication readonlyThe parent of the SWFExportPreference (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
rasterCompressionRasterCompressionOptions:
RasterCompressionOptions.JPEG_COMPRESSION
RasterCompressionOptions.LOSSLESS_COMPRESSION
RasterCompressionOptions.AUTOMATIC_COMPRESSION
r/wThe SWF raster compression 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.
swfBackgroundSWFBackgroundOptions:
SWFBackgroundOptions.TRANSPARENT_SWF_BACKGROUND
SWFBackgroundOptions.PAPER_COLOR
r/wSWF background setting
textExportPolicyDynamicDocumentsTextExportPolicy:
DynamicDocumentsTextExportPolicy.LIVE
DynamicDocumentsTextExportPolicy.RASTERIZE
DynamicDocumentsTextExportPolicy.VECTORIZE
DynamicDocumentsTextExportPolicy.TLF
r/wThe text export policy.
useNetworkAccessbool r/wFlag indicates whether to allow to use network access when export to SWF.

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

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.swfExportPreferences

Return

Array of SWFExportPreference SWFExportPreference.getElements ()

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