Adobe InDesign CS2 (4.0) Object Model JS: TextImportPreference

InDesign CS2

Class

TextImportPreference

 Text import preferences.

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application
TextImportPreference

Properties

PropertyTypeAccessDescription
characterSetTextImportCharacterSet:
TextImportCharacterSet.ANSI
TextImportCharacterSet.RECOMMENDSHIFTJIS83PV
TextImportCharacterSet.SHIFTJIS90PV
TextImportCharacterSet.SHIFTJIS90MS
TextImportCharacterSet.GB2312
TextImportCharacterSet.CHINESE_BIG_5
TextImportCharacterSet.MACINTOSH_CE
TextImportCharacterSet.MACINTOSH_CYRILLIC
TextImportCharacterSet.MACINTOSH_GREEK
TextImportCharacterSet.MACINTOSH_TURKISH
TextImportCharacterSet.WINDOWS_CYRILLIC
TextImportCharacterSet.WINDOWS_EE
TextImportCharacterSet.WINDOWS_GREEK
TextImportCharacterSet.WINDOWS_TURKISH
TextImportCharacterSet.UNICODE
TextImportCharacterSet.GB18030
TextImportCharacterSet.KSC5601
TextImportCharacterSet.WINDOWS_BALTIC
TextImportCharacterSet.WINDOWS_CE
r/wThe computer language character set used to create the text file.
convertSpacesIntoTabsbool r/wIf true, converts the specified number of spaces into a tab. For information on specifying the number of spaces, see spaces into tabs count.
dictionarystring r/wThe dictionary to use for the imported text.
parentApplication readonlyThe parent of the TextImportPreference (a Application).
platformImportPlatform:
ImportPlatform.MACINTOSH
ImportPlatform.PC
r/wThe platform used to create the imported text file.
propertiesObject r/wA property that allows setting of several properties at the same time.
spacesIntoTabsCountnumber r/wThe number of spaces to convert to a tab. Note: Valid when convert spaces into tabs is true.
stripReturnsBetweenLinesbool r/wIf true, the import filter removes extra carriage returns at the ends of lines.
stripReturnsBetweenParagraphsbool r/wIf true, the import filter removes extra carriage returns between paragraphs.
useTypographersQuotesbool r/wIf true, convert straight quotes and apostrophes in the imported text to typographic quotation marks and apostrophes.

Methods

Instances

Array of Object getElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the TextImportPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.textImportPreferences

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