Adobe InDesign CS (3.0) Object Model JS: ExcelImportPreference

InDesign CS

Class

ExcelImportPreference

 Excel import preferences.

Hierarchy

Application
ExcelImportPreference

Properties

PropertyTypeAccessDescription
alignmentStyleAlignmentStyle:
AlignmentStyle.SPREADSHEET
AlignmentStyle.LEFT_ALIGN
AlignmentStyle.RIGHT_ALIGN
AlignmentStyle.CENTER_ALIGN
r/wThe cell alignment for the imported document.
decimalPlacesnumber r/wThe number of decimal places to include. Note: Valid only when alignment style is decimal.
errorCodenumber r/wThe import error code. (Key: 0=Success; 1=Empty Sheet; 2=Invalid sheet; 3=Invalid range; 4=Invalid View; 5=Misc. Error)
parentApplication readonlyThe parent of the ExcelImportPreference (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
rangeNamestring r/wThe range of cells to import. Note: Use a colon (:) to separate the start and end cell names in the range.
sheetIndexnumber r/wThe worksheet's index. For information, see sheet name.
sheetNamestring r/wThe worksheet to import.
showHiddenCellsbool r/wIf true, shows hidden cells.
tableFormattingTableFormatting:
TableFormatting.EXCEL_FORMATTED_TABLE
TableFormatting.EXCEL_UNFORMATTED_TABLE
TableFormatting.EXCEL_UNFORMATTED_TABBED_TEXT
r/wThe format for imported spreadsheets.
viewNamestring r/wThe stored custom or personal view(s) to import with the file.

Element of

Application.excelImportPreferences

Jongware, 27-Jun-2010 v3.0.3dContents :: Index