EPubExportPreviewAppPreference

EPub export preview app preferences.

Methods:

addApplication, addEventListener, getApplicationAtIndex, getApplicationCount, getElements, removeApplication, removeEventListener, toSource, toSpecifier

Objects:

Boolean, EventListeners, Events, Object

Hierarchy:

Superclass: Preference

Class: EPubExportPreviewAppPreference

Property Listing

Property

Type

Access

Description

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

parent

Application

readonly

The parent of the EPubExportPreviewAppPreference (a Application).

properties

Object

read/write

A property that allows setting of several properties at the same time.

viewDocumentAfterExport

Boolean

read/write

If true, open docuemnt in viewer after export.

Method Listing

undefined addApplication (applicationPath:String, selectedForReflowableEpub:Boolean, selectedForFixedLayoutEpub:Boolean, withProperties:Object)

Add a new preview application preference

Parameter

Type

Description

applicationPath

String

The full path of the application to be added.

selectedForReflowableEpub

Boolean

Check if the app is selected in Reflowable ePub export.

selectedForFixedLayoutEpub

Boolean

Check if the app is selected in Fixed Layout ePub export.

withProperties

Object

Initial values for properties of the new EPubExportPreviewAppPreference (Optional)

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

Varies getApplicationAtIndex (indexOfApp:Boolean, withProperties:Object)

Get the application at index.

Parameter

Type

Description

indexOfApp

Boolean

The index of the application to get information for.

withProperties

Object

Initial values for properties of the new EPubExportPreviewAppPreference (Optional)

Number getApplicationCount ()

Number of applications added for ePub Preview.

EPubExportPreviewAppPreference getElements ()

Resolves the object specifier, creating an array of object references.

undefined removeApplication (indexOfApp:Number, withProperties:Object)

Remove an application at specified index.

Parameter

Type

Description

indexOfApp

Number

The index of the application to be removed.

withProperties

Object

Initial values for properties of the new EPubExportPreviewAppPreference (Optional)

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

String toSource ()

Generates a string which, if executed, will return the EPubExportPreviewAppPreference.

String toSpecifier ()

Retrieves the object specifier.

Object of

Application.epubViewingAppsPreferences

Event.parent

EventListener.parent

MutationEvent.parent

Return

EPubExportPreviewAppPreference.getElements()