Class SpellCheckingProblemInfoWithSuggestions

java.lang.Object
ro.sync.ecss.extensions.api.SpellCheckingProblemInfo
ro.sync.ecss.extensions.api.SpellCheckingProblemInfoWithSuggestions

@API(type=NOT_EXTENDABLE, src=PUBLIC) public class SpellCheckingProblemInfoWithSuggestions extends SpellCheckingProblemInfo
  • Constructor Details

    • SpellCheckingProblemInfoWithSuggestions

      public SpellCheckingProblemInfoWithSuggestions(int startOffset, int endOffset, String lang, String word, List<String> suggestions)
      Create spell checking result information for a word.
      Parameters:
      startOffset - The start offset of the word.
      endOffset - The end offset of the word.
      lang - ISO Name for the language of the word.
      word - The word found at the offsets.
      suggestions - List of suggestions, should not be null.
      Since:
      21
    • SpellCheckingProblemInfoWithSuggestions

      public SpellCheckingProblemInfoWithSuggestions(int startOffset, int endOffset, String lang, String word, List<String> suggestions, WebAuthorSpellcheckErrorTypes errorType, String errorMessage)
      Create spell checking result information for a word.
      Parameters:
      startOffset - The start offset of the word.
      endOffset - The end offset of the word.
      lang - ISO Name for the language of the word.
      word - The word found at the offsets.
      suggestions - List of suggestions, should not be null.
      errorType - The error type.
      errorMessage - Error message for the word.
      Since:
      28
      **************************************
      EXPERIMENTAL - Subject to change
      **************************************

      Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.