PreferencesHTMLExportPreference

HTML export preferences.

Extends

Instance Properties

Name Description Access
bulletExportOption BulletListExportOption The bullet export option. read-write
customImageSizeOption ImageSizeOption Allows user to select the image size option for conversion read-write
eventListeners EventListeners A collection of event listeners. read-only
events Events A collection of events. read-only
exportOrder ExportOrder The export order. read-write
exportSelection bool If true and have selection, export selected content to HTML. read-write
externalStyleSheets string The file path of external cascading style sheets. read-write
generateCascadeStyleSheet bool If true, InDesign will generate cascade style sheet. read-write
gifOptionsInterlaced bool If true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG. read-write
gifOptionsPalette GIFOptionsPalette The color palette for GIF conversion. Note: Not valid when image conversion is JPEG. read-write
ignoreObjectConversionSettings bool ignore object level image conversion settings. read-write
imageAlignment ImageAlignmentType Alignment applied to images read-write
imageConversion ImageConversion The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true. read-write
imageExportOption ImageExportOption The export order. read-write
imageExportResolution ImageResolution The export resolution read-write
imageExtension string The image extension on server. read-write
imageSpaceAfter number Space After applied to images read-write
imageSpaceBefore number Space Before applied to images read-write
includeClassesInHTML bool If true, InDesign will generate class attributes for elements in HTML, else will generate plain html without class attributes. read-write
isValid bool Returns true if the object specifier resolves to valid objects. read-only
javascripts string The file path of external javascripts. read-write
jpegOptionsFormat JPEGOptionsFormat The formatting method for converted JPEG images. Note: Not valid when image conversion is GIF. read-write
jpegOptionsQuality JPEGOptionsQuality The quality of converted JPEG images. Note: Not valid when image conversion is GIF. read-write
level number The PNG compression level. read-write
numberedListExportOption NumberedListExportOption The numbered list export option. read-write
parent Document The parent of the HTMLExportPreference (a Document). read-only
preserveLayoutAppearence bool If true, format image based on layout appearence. read-write
preserveLocalOverride bool If true, output local style override. read-write
properties Object A property that allows setting of several properties at the same time. read-write
serverPath string The server path for image . read-write
viewDocumentAfterExport bool If true, open docuemnt in viewer after export. read-write

Methods

addEventListener(
eventType, handler ​[, captures])
 → EventListener
removeEventListener(
eventType, handler ​[, captures])
 → bool
toSource(
)
 → string
toSpecifier(
)
 → string
addEventListener(
eventType, handler ​[, captures=false])
 → EventListener
Adds an event listener.
eventType string The event type.
handler The event handler. Can accept: File or JavaScript Function.
captures bool This parameter is obsolete. (Optional)
getElements(
)
 → HTMLExportPreference
Resolves the object specifier, creating an array of object references.
removeEventListener(
eventType, handler ​[, captures=false])
 → bool
Removes the event listener.
eventType string The registered event type.
handler The registered event handler. Can accept: File or JavaScript Function.
captures bool This parameter is obsolete. (Optional)
toSource(
)
 → string
Generates a string which, if executed, will return the HTMLExportPreference.
toSpecifier(
)
 → string
Retrieves the object specifier.