Extends
Instance Properties
Name | Description | Access |
---|---|---|
eventListeners | EventListeners A collection of event listeners. | read-only |
events | Events A collection of events. | read-only |
isValid | bool Returns true if the object specifier resolves to valid objects. | read-only |
parent | Application The parent of the EPubExportPreviewAppPreference (a Application). | read-only |
properties | Object A property that allows setting of several properties at the same time. | read-write |
viewDocumentAfterExport | bool If true, open docuemnt in viewer after export. | read-write |
Methods
addApplication( | applicationPath, selectedForReflowableEpub, selectedForFixedLayoutEpub [, withProperties]) |
addEventListener( | eventType, handler [, captures]) |
→ EventListener |
getApplicationAtIndex( | indexOfApp [, withProperties]) |
getApplicationCount( | ) |
→ number |
removeApplication( | indexOfApp [, withProperties]) |
removeEventListener( | eventType, handler [, captures]) |
→ bool |
toSource( | ) |
→ string |
toSpecifier( | ) |
→ string |
-
addApplication( applicationPath, selectedForReflowableEpub, selectedForFixedLayoutEpub [, withProperties]) -
Add a new preview application preference
applicationPath
string The full path of the application to be added. selectedForReflowableEpub
bool Check if the app is selected in Reflowable ePub export. selectedForFixedLayoutEpub
bool Check if the app is selected in Fixed Layout ePub export. withProperties
Object Initial values for properties of the new EPubExportPreviewAppPreference (Optional) -
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) -
getApplicationAtIndex( indexOfApp [, withProperties]) -
Get the application at index.
indexOfApp
bool The index of the application to get information for. withProperties
Object Initial values for properties of the new EPubExportPreviewAppPreference (Optional) -
getApplicationCount( )→ number -
Number of applications added for ePub Preview.
-
getElements( )→ EPubExportPreviewAppPreference -
Resolves the object specifier, creating an array of object references.
-
removeApplication( indexOfApp [, withProperties]) -
Remove an application at specified index.
indexOfApp
number The index of the application to be removed. withProperties
Object Initial values for properties of the new EPubExportPreviewAppPreference (Optional) -
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 EPubExportPreviewAppPreference.
-
toSpecifier( )→ string -
Retrieves the object specifier.