TextImportPreference
Text import preferences.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Objects:
Boolean, EventListeners, Events, ImportPlatform, Number, Object, String, TextImportCharacterSet
Hierarchy:
Superclass: Preference
Class: TextImportPreference
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The computer language character set used to create the text file. |
||
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. |
||
read/write |
The dictionary to use for the imported text. |
||
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 TextImportPreference (a Application). |
||
read/write |
The platform used to create the imported text file. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The number of spaces to convert to a tab. Note: Valid when convert spaces into tabs is true. |
||
read/write |
If true, the import filter removes extra carriage returns at the ends of lines. |
||
read/write |
If true, the import filter removes extra carriage returns between paragraphs. |
||
read/write |
If true, convert straight quotes and apostrophes in the imported text to typographic quotation marks and apostrophes. |
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) |
TextImportPreference 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 TextImportPreference.
String toSpecifier ()
Retrieves the object specifier.
Object of
Application.textImportPreferences
Event.parent
EventListener.parent
MutationEvent.parent