ICEpdf
  1. ICEpdf
  2. PDF-1210

Support JOrtho spellcheck library for JTextComponents

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.5
    • Fix Version/s: 6.3
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Viewer RI

      Description

      The JOrtho library allows for the easy wrapping of any JTextComponent with a pretty slick spell checking features. This features will be optionally configured by the end user and the languages dictionaries of choice will bed added.

      I've created a new class SpellCheckLoader that reflectively loads the classes in question. A typical configuration would look something like this:

      SpellCheckLoader.setUserDictionaryProvider(new com.inet.jortho.FileUserDictionary()); SpellCheckLoader.registerDictionaries(new URL("file:///D:/dev/libraries/JOrtho_1.0/"), null);

      An end user would make the following call before the the Viewer RI loads a file. The register dictionary is pretty flexible allowing for several options for loading a dictionary.

      The URL path should contain at least one dictionary_**.ortho dictionary as well as a dictionaries.cnf which has a list of the dictionaries available. More information on configuration can be found here, http://jortho.sourceforge.net/

        Activity

        Hide
        Patrick Corless added a comment -

        Spell check support works quite well for the popup annotation component but I need to flush out some focus issue when using spell check with the acroforms. Basically the right click causes focus to be lost and the word suggestion to be lost.

        I would also like to setup a simple exmaple for the wiki and svn folder.

        Show
        Patrick Corless added a comment - Spell check support works quite well for the popup annotation component but I need to flush out some focus issue when using spell check with the acroforms. Basically the right click causes focus to be lost and the word suggestion to be lost. I would also like to setup a simple exmaple for the wiki and svn folder.
        Hide
        Patrick Corless added a comment -

        Marking as complete.

        Show
        Patrick Corless added a comment - Marking as complete.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: