<spellCheck> Element

This element defines the location of the JAR file to be used with the spell checker.  This enables the dictionary to be defined for Ephox EditLive! for Java.

Element Tree Structure

<editLiveForJava>
    <spellCheck>

<editLiveForJava>
     ...
     <spellCheck ... />
     ...
</editLiveForJava>

Optional Attributes

Attribute Description
jar The value for this attribute corresponds to the location of the JAR file to be used with EditLive! for Java for spell checking.

Note: The name of the JAR file for the spell checker dictionary must be in all lower case letters.

useNotModified This attribute is a boolean which designates whether EditLive! for Java should download a new version of the spell checker if it detects a newer version on the server.  When set to true EditLive! for Java will attempt to download the latest spell checker from the server.

Note: If your server does not support the Not Modified header you must set this attribute to false.

showOnDownload This attribute is a boolean which indicates if EditLive! for Java is to display the spell checker dialog once it has finished downloading.  When set to true the spell checker dialog will be displayed once it has finished downloading.

Example

The following example demonstrates how to define the location of the spell checker JAR file to be used with EditLive! for Java.

    <editLiveForJava>
        ...
        <spellCheck jar="../../redistributables/editlivejava/dictionaries/en_us_2_0.jar" />
        ...
    </editLiveForJava>

Remarks

The <spellCheck> element can appear only once within the <editLiveForJava> element.

The <spellCheck> element must be a complete tag, it cannot contain a tag body.  Therefore the tag must be closed in the same line.  See the example below:

    <spellCheck jar=... />

See Also