HTML export preferences.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
Boolean, BulletListExportOption, Document, EventListeners, Events, ExportOrder, GIFOptionsPalette, ImageAlignmentType, ImageConversion, ImageExportOption, ImageResolution, ImageSizeOption, JPEGOptionsFormat, JPEGOptionsQuality, Number, NumberedListExportOption, Object, String, StyleSheetExportOption,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
applyImageAlignmentToAnchoredObjectSettings |
read/write |
apply image alignment to anchored object settings. |
|
|
bulletExportOption |
BulletListExportOption.UNORDERED_LIST BulletListExportOption.AS_TEXT |
read/write |
The bullet export option. |
|
cssExportOption |
StyleSheetExportOption.NONE StyleSheetExportOption.EMBEDDED_CSS |
read/write |
The cascading style sheet export option. |
|
customImageSizeOption |
ImageSizeOption.SIZE_FIXED ImageSizeOption.SIZE_RELATIVE_TO_PAGE_WIDTH |
read/write |
Allows user to select the image size option for conversion |
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
exportOrder |
ExportOrder.LAYOUT_ORDER ExportOrder.ARTICLE_PANEL_ORDER ExportOrder.XML_STRUCTURE_ORDER |
read/write |
The export order. |
|
exportSelection |
read/write |
If true and have selection, export selected content to HTML. |
|
|
externalStyleSheets |
read/write |
The file path of external cascading style sheets. |
|
|
gifOptionsInterlaced |
read/write |
If true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG. |
|
|
gifOptionsPalette |
GIFOptionsPalette.ADAPTIVE_PALETTE GIFOptionsPalette.MACINTOSH_PALETTE GIFOptionsPalette.WEB_PALETTE GIFOptionsPalette.WINDOWS_PALETTE |
read/write |
The color palette for GIF conversion. Note: Not valid when image conversion is JPEG. |
|
ignoreObjectConversionSettings |
read/write |
ignore object level image conversion settings. |
|
|
imageAlignment |
ImageAlignmentType.ALIGN_LEFT ImageAlignmentType.ALIGN_CENTER ImageAlignmentType.ALIGN_RIGHT |
read/write |
Alignment applied to images |
|
imageConversion |
ImageConversion.AUTOMATIC ImageConversion.JPEG ImageConversion.GIF ImageConversion.PNG |
read/write |
The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true. |
|
imageExportOption |
ImageExportOption.ORIGINAL_IMAGE ImageExportOption.OPTIMIZED_IMAGE ImageExportOption.LINK_TO_SERVER |
read/write |
The export order. |
|
imageExportResolution |
ImageResolution.PPI_72 ImageResolution.PPI_96 ImageResolution.PPI_150 ImageResolution.PPI_300 |
read/write |
The export resolution |
|
imageExtension |
read/write |
The image extension on server. |
|
|
imageSpaceAfter |
Number (range 0 - 8640) |
read/write |
Space After applied to images |
|
imageSpaceBefore |
Number (range 0 - 8640) |
read/write |
Space Before applied to images |
|
includeCSSDefinition |
read/write |
If true, include CSS definition. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
javascripts |
read/write |
The file path of external javascripts. |
|
|
jpegOptionsFormat |
JPEGOptionsFormat.BASELINE_ENCODING JPEGOptionsFormat.PROGRESSIVE_ENCODING |
read/write |
The formatting method for converted JPEG images. Note: Not valid when image conversion is GIF. |
|
jpegOptionsQuality |
JPEGOptionsQuality.LOW JPEGOptionsQuality.MEDIUM JPEGOptionsQuality.HIGH JPEGOptionsQuality.MAXIMUM |
read/write |
The quality of converted JPEG images. Note: Not valid when image conversion is GIF. |
|
level |
read/write |
The PNG compression level. |
|
|
numberedListExportOption |
NumberedListExportOption.ORDERED_LIST NumberedListExportOption.STATIC_ORDERED_LIST NumberedListExportOption.AS_TEXT |
read/write |
The numbered list export option. |
|
parent |
readonly |
The parent of the HTMLExportPreference (a Document). |
|
|
preserveLayoutAppearence |
read/write |
If true, format image based on layout appearence. |
|
|
preserveLocalOverride |
read/write |
If true, output local style override. |
|
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
serverPath |
read/write |
The server path for image . |
|
|
viewDocumentAfterExport |
read/write |
If true, open docuemnt in viewer after export. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
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, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
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.