Text import preferences.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
Application, Boolean, EventListeners, Events, ImportPlatform, Number, Object, String, TextImportCharacterSet,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
characterSet |
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.GB18030 TextImportCharacterSet.KSC5601 TextImportCharacterSet.WINDOWS_BALTIC TextImportCharacterSet.WINDOWS_CE TextImportCharacterSet.MACINTOSH_ROMAN TextImportCharacterSet.MACINTOSH_CROATIAN TextImportCharacterSet.MACINTOSH_ICELANDIC TextImportCharacterSet.MACINTOSH_ROMANIAN TextImportCharacterSet.CYRILLIC_KOI8R TextImportCharacterSet.CYRILLIC_KOI8U TextImportCharacterSet.CYRILLIC_CP855 TextImportCharacterSet.DOS_LATIN_2 TextImportCharacterSet.CYRILLIC_ISO TextImportCharacterSet.GREEK_ISO TextImportCharacterSet.CENTRALEUROPEAN_ISO TextImportCharacterSet.TURKISH_ISO TextImportCharacterSet.MACINTOSH_GREEK_SHARED_CAPS TextImportCharacterSet.MACINTOSH_ARABIC TextImportCharacterSet.MACINTOSH_HEBREW TextImportCharacterSet.WINDOWS_ARABIC TextImportCharacterSet.WINDOWS_HEBREW TextImportCharacterSet.ARABIC_ASMO TextImportCharacterSet.ARABIC_ASMO_TRANSPARENT TextImportCharacterSet.UTF16 TextImportCharacterSet.UTF8 |
read/write |
The computer language character set used to create the text file. |
|
convertSpacesIntoTabs |
read/write |
If true, converts the specified number of spaces into a tab. For information on specifying the number of spaces, see spaces into tabs count. |
|
|
dictionary |
read/write |
The dictionary to use for the imported text. |
|
|
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 TextImportPreference (a Application). |
|
|
platform |
ImportPlatform.MACINTOSH ImportPlatform.PC |
read/write |
The platform used to create the imported text file. |
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
spacesIntoTabsCount |
read/write |
The number of spaces to convert to a tab. Note: Valid when convert spaces into tabs is true. |
|
|
stripReturnsBetweenLines |
read/write |
If true, the import filter removes extra carriage returns at the ends of lines. |
|
|
stripReturnsBetweenParagraphs |
read/write |
If true, the import filter removes extra carriage returns between paragraphs. |
|
|
useTypographersQuotes |
read/write |
If true, convert straight quotes and apostrophes in the imported text to typographic quotation marks and apostrophes. |
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) |
TextImportPreference 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 TextImportPreference.
String toSpecifier ()
Retrieves the object specifier.