HTMLExportPreference
HTML export preferences.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Objects:
Boolean, BulletListExportOption, EventListeners, Events, ExportOrder, GIFOptionsPalette, ImageAlignmentType, ImageConversion, ImageExportOption, ImageResolution, ImageSizeOption, JPEGOptionsFormat, JPEGOptionsQuality, Number, NumberedListExportOption, Object, String, UseSVGAsEnum
Hierarchy:
Superclass: Preference
Class: HTMLExportPreference
Property Listing
| Property | Type | Access | Description | 
|---|---|---|---|
| read/write | The bullet export option. | ||
| read/write | Allows user to select the image size option for conversion | ||
| readonly | A collection of event listeners. | ||
| readonly | A collection of events. | ||
| read/write | The export order. | ||
| read/write | If true and have selection, export selected content to HTML. | ||
| read/write | The file path of external cascading style sheets. | ||
| read/write | If true, InDesign will generate cascade style sheet. | ||
| read/write | If true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG. | ||
| read/write | The color palette for GIF conversion. Note: Not valid when image conversion is JPEG. | ||
| read/write | ignore object level image conversion settings. | ||
| read/write | Alignment applied to images | ||
| read/write | The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true. | ||
| read/write | The export order. | ||
| read/write | The export resolution | ||
| read/write | The image extension on server. | ||
| Number (range 0 - 8640) | read/write | Space After applied to images | |
| Number (range 0 - 8640) | read/write | Space Before applied to images | |
| read/write | If true, InDesign will generate class attributes for elements in HTML, else will generate plain html without class attributes. | ||
| readonly | Returns true if the object specifier resolves to valid objects. | ||
| read/write | The file path of external javascripts. | ||
| read/write | The formatting method for converted JPEG images. Note: Not valid when image conversion is GIF. | ||
| read/write | The quality of converted JPEG images. Note: Not valid when image conversion is GIF. | ||
| read/write | The PNG compression level. | ||
| read/write | The numbered list export option. | ||
| readonly | The parent of the HTMLExportPreference (a Document). | ||
| read/write | If true, format image based on layout appearence. | ||
| read/write | If true, output local style override. | ||
| read/write | A property that allows setting of several properties at the same time. | ||
| read/write | The server path for image . | ||
| read/write | Use SVG As | ||
| read/write | If true, open docuemnt in viewer after export. | 
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
| Parameter | Type | Description | 
|---|---|---|
| eventType | The event type. | |
| handler | JavaScriptFunction | The event handler. Can accept: File or JavaScript Function. | 
| captures | This parameter is obsolete. (Optional) (default: false) | 
HTMLExportPreference getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
| Parameter | Type | Description | 
|---|---|---|
| eventType | The registered event type. | |
| handler | JavaScriptFunction | The registered event handler. Can accept: File or JavaScript Function. | 
| captures | This parameter is obsolete. (Optional) (default: false) | 
String toSource ()
Generates a string which, if executed, will return the HTMLExportPreference.
String toSpecifier ()
Retrieves the object specifier.
Object of
Document.htmlExportPreferences
Event.parent
EventListener.parent
MutationEvent.parent