Adobe InDesign CS4 (6.0) Object Model JS: ExportForWebPreference

InDesign CS4

Class

ExportForWebPreference

 Export for web preferences. Base Class: Preference

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document
Preference
ExportForWebPreference

Properties

PropertyTypeAccessDescription
copyFormattedImagesbool r/wIf true, copies formatted images to the images subfolder.
copyOptimizedImagesbool r/wIf true, copies optimized images to the images subfolder.
copyOriginalImagesbool r/wIf true, copies original images to the images subfolder.
gifOptionsInterlacedbool r/wIf true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG.
gifOptionsPaletteGIFOptionsPalette:
GIFOptionsPalette.ADAPTIVE_PALETTE
GIFOptionsPalette.MACINTOSH_PALETTE
GIFOptionsPalette.WEB_PALETTE
GIFOptionsPalette.WINDOWS_PALETTE
r/wThe color palette for GIF conversion. Note: Not valid when image conversion is JPEG.
imageConversionImageConversion:
ImageConversion.AUTOMATIC
ImageConversion.JPEG
ImageConversion.GIF
r/wThe file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
jpegOptionsFormatJPEGOptionsFormat:
JPEGOptionsFormat.BASELINE_ENCODING
JPEGOptionsFormat.PROGRESSIVE_ENCODING
r/wThe formatting method for converted JPEG images. Note: Not valid when image conversion is GIF.
jpegOptionsQualityJPEGOptionsQuality:
JPEGOptionsQuality.LOW
JPEGOptionsQuality.MEDIUM
JPEGOptionsQuality.HIGH
JPEGOptionsQuality.MAXIMUM
r/wThe quality of converted JPEG images. Note: Not valid when image conversion is GIF.
parentApplication
Document
readonlyThe parent of the ExportForWebPreference (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

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

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.exportForWebPreferences

Document.exportForWebPreferences

Return

Array of ExportForWebPreference ExportForWebPreference.getElements ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index