XMLExportPreference
XML export preferences.
XMLExportPreference Properties
| Property |
Type |
Access |
Description |
| copyFormattedImages |
Boolean |
r/w |
Whether to copy formatted images to images sub folder. |
| copyOptimizedImages |
Boolean |
r/w |
Whether to copy optimized images to images sub folder. |
| copyOriginalImages |
Boolean |
r/w |
Whether to copy original images to images sub folder. |
| excludeDtd |
Boolean |
r/w |
Whether to exclude the DTD from the exported XML. |
| exportFromSelected |
Boolean |
r/w |
Whether to export from a selected element (otherwise export the entire document). |
| fileEncoding |
XMLFileEncoding enumeration |
r/w |
File encoding to be used when exporting. |
| gifOptionsInterlaced |
Boolean |
r/w |
Generate interlaced GIFs. |
| gifOptionsPalette |
GIFOptionsPalette enumeration |
r/w |
Color palette to use for GIF conversion. |
| imageConversion |
ImageConversion enumeration |
r/w |
Type of image to generate for optimized and formatted images. |
| jpegOptionsFormat |
JPEGOptionsFormat enumeration |
r/w |
Format of converted JPEG image. |
| jpegOptionsQuality |
JPEGOptionsQuality enumeration |
r/w |
Quality of converted JPEG image. |
| parent |
Object |
read |
The parent of the object. |
| preferredBrowser |
File |
r/w |
The preferred browser for viewing XML. |
| properties |
An array of property names and values |
r/w |
Property that allows setting of several properties at the same time. |
| ruby |
Boolean |
r/w |
Whether to include Ruby in the exported XML. |
| viewAfterExport |
Boolean |
r/w |
Whether to view exported XML in a default viewer. |
XMLExportPreference Methods
| Method |
Returns |
Description |
| getElements |
Array of Objects |
Resolve the object specifier. |
| toSource |
String |
Generate JavaScript source that, if executed, will return the specified objects. |
| toSpecifier |
String |
Retrieve the object specifier. |
Previous post: XMLImportMap
Next post: XMLExportMaps