HyphenationException
A hyphenation exceptions list.
Go to Property Listing | Method Listing
Methods:
addEventListener, addException, getElements, removeEventListener, removeException, toSource, toSpecifier
Objects:
Preferences:
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
A list of words added to the hyphenation exceptions list. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The index of the HyphenationException within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The name of the HyphenationException. |
||
readonly |
The parent of the HyphenationException (a Document). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
A list of words removed from the hyphenation exceptions list. |
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) |
undefined addException (addedExceptions:Array of String, [removedList:Boolean=Boolean])
Adds the specified words to the hyphenation exceptions list.
Parameter |
Type |
Description |
---|---|---|
addedExceptions |
The list of words to add. |
|
removedList |
If true, adds the words to the removed exceptions list. If false or unspecified, adds the words to the added exceptions list. (Optional) (default: false) |
HyphenationException 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) |
undefined removeException (removedExceptions:Array of String, [removedList:Boolean=Boolean])
Removes the specified words from the hyphenation exceptions list.
Parameter |
Type |
Description |
---|---|---|
removedExceptions |
The list of words to remove. |
|
removedList |
If true, removes the words from the removed exceptions list. If false or unspecified, adds the words to the added exceptions list. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the HyphenationException.
String toSpecifier ()
Retrieves the object specifier.
Object of
Event.parent
EventListener.parent
MutationEvent.parent
Return
HyphenationException.getElements()
HyphenationExceptions.anyItem()
HyphenationExceptions.everyItem()
HyphenationExceptions.nextItem()
HyphenationExceptions.previousItem()
HyphenationExceptions.itemByName()
HyphenationExceptions.itemByRange()
HyphenationExceptions.firstItem()