TypefiApplicationSettings

Typefi settings on the application level

Methods:

addEventListener, getElements, removeEventListener, resetAllToDefaults, setInlineResizing, toSource, toSpecifier

Hierarchy:

Superclass: Preference

Class: TypefiApplicationSettings

Property Listing

Property

Type

Access

Description

anchorAppearance

TypefiAnchorPreferences

readonly

Anchor appearance

counterFormatLanguage

TypefiCounterFormatLanguagePreferences

readonly

Counter format language

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

frameAppearance

TypefiFramePreferences

readonly

Frame appearance

groupElementsAutomatically

Boolean

read/write

Group elements automatically

hyperlinkAppearance

TypefiHyperlinkPreferences

readonly

Hyperlink appearance

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

markerAppearance

TypefiMarkerPreferences

readonly

Marker appearance

paginationPreferences

TypefiPaginationPreferences

readonly

Pagination preferences

parent

Application

readonly

The parent of the TypefiApplicationSettings (a Application).

preferences

Preferences Preference

readonly

A collection of preferences objects.

properties

Object

read/write

A property that allows setting of several properties at the same time.

version

String

readonly

Version

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

TypefiApplicationSettings 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

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

undefined resetAllToDefaults ()

Reset the Typefi specific data of TypefiApplicationSettings to the default values

undefined setInlineResizing (setInlineResizing:Boolean)

Set the Inline auto resizing information, i.e. the page item is no longer a Typefi Element

Parameter

Type

Description

setInlineResizing

Boolean

Sets the inline resizing on story editing

String toSource ()

Generates a string which, if executed, will return the TypefiApplicationSettings.

String toSpecifier ()

Retrieves the object specifier.

Object of

Event.parent

EventListener.parent

MutationEvent.parent

Preference.parent

TypefiAnchorPreferences.parent

TypefiCounterFormatLanguagePreferences.parent

TypefiFramePreferences.parent

TypefiHyperlinkPreferences.parent

TypefiMarkerPreferences.parent

TypefiPaginationPreferences.parent

Application.typefiSettings

Return

TypefiApplicationSettings.getElements()