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