ExcelImportPreference
Excel import preferences.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Objects:
AlignmentStyleOptions, Boolean, EventListeners, Events, Number, Object, String, TableFormattingOptions
Hierarchy:
Superclass: Preference
Class: ExcelImportPreference
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The cell alignment for the imported document. |
||
read/write |
The number of decimal places to include. Note: Valid only when alignment style is decimal. |
||
read/write |
The import error code. (Key: 0=Success; 1=Empty Sheet; 2=Invalid sheet; 3=Invalid range; 4=Invalid View; 5=Misc. Error) |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The parent of the ExcelImportPreference (a Application). |
||
read/write |
If true, preserves inline graphics. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The range of cells to import. Note: Use a colon (:) to separate the start and end cell names in the range. |
||
read/write |
The worksheet's index. For information, see sheet name. |
||
read/write |
The worksheet to import. |
||
read/write |
If true, shows hidden cells. |
||
read/write |
The format for imported spreadsheets. |
||
read/write |
If true, convert straight quotes and apostrophes in the imported text to typographic quotation marks and apostrophes. |
||
read/write |
The stored custom or personal view(s) to import with the file. |
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) |
ExcelImportPreference 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 ExcelImportPreference.
String toSpecifier ()
Retrieves the object specifier.
Object of
Application.excelImportPreferences
Event.parent
EventListener.parent
MutationEvent.parent