Adobe InDesign CS3 (5.0) Object Model JS: XMLExportPreference

InDesign CS3

Class

XMLExportPreference

 XML export preferences.

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document
XMLExportPreference

Properties

PropertyTypeAccessDescription
allowTransformbool r/wIf true, transforms the XML using an XSLT file.
characterReferencesbool r/wIf true, replaces special characters with character references.
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.
excludeDtdbool r/wIf true, excludes the DTD from the exported XML content.
exportFromSelectedbool r/wIf true, exports XML content from the selected XML element. If false, exports the entire document.
exportUntaggedTablesFormatXMLExportUntaggedTablesFormat:
XMLExportUntaggedTablesFormat.NONE
XMLExportUntaggedTablesFormat.CALS
r/wThe export format for untagged tables in tagged stories. (default: XMLExportUntaggedTablesFormat.CALS)
fileEncodingXMLFileEncoding:
XMLFileEncoding.UTF8
XMLFileEncoding.UTF16
XMLFileEncoding.SHIFT_JIS
r/wThe file encoding type for exporting XML content.
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.
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 XMLExportPreference (a Application or Document).
preferredBrowserFile
NothingEnum
r/wThe preferred browser for viewing XML. Can return: File or NothingEnum enumerator.
propertiesObject r/wA property that allows setting of several properties at the same time.
rubybool r/wIf true, includes Ruby text in the exported XML content.
transformFilenameFile
XMLTransformFile
r/wThe name of the XSLT file. Note: Valid when allow transform is true. Can return: File or XMLTransformFile enumerator.
viewAfterExportbool r/wIf true, displays exported XML content in a specified viewer.

Methods

Instances

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

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.xmlExportPreferences

Document.xmlExportPreferences

Return

Array of XMLExportPreference XMLExportPreference.getElements ()

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