> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ITextValidatorEvents インターフェイス

> Windows 上の ABBYY FineReader Engine Visual Components における ITextValidatorEvents インターフェイス — TextValidator オブジェクトからリスナーにイベントを通知するために使用される Callback インターフェイスです。

<Warning>
  Visual Components は Windows 用 FRE で実装されています。
</Warning>

これは、[TextValidator](/ja/fine-reader/engine/visual-components-reference/textvalidator) オブジェクトからリスナーにイベントを通知するための Callback インターフェイスです。このインターフェイスはクライアント側で実装されます。使用している開発ツール向けの実装に関する詳細なガイダンスについては、[Working with Connectable Objects](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-connectable-objects) を参照してください。

このインターフェイスは [IInputEvents](/ja/fine-reader/engine/visual-components-reference/iinputevents) インターフェイスから派生しており、そのメソッドを継承します。Text Validator のマウスおよびキーボード入力イベントは、実際には Text Validator に組み込まれている Text Editor のイベントです。これらは、Text Validator でのユーザー入力を監視し、必要に応じて応答するために使用されます。なお、Text Editor の \[Check Spelling] ボタンを使用して開いた Text Validator の入力イベントは、Text Validator ではなく Text Editor に転送されます。

このインターフェイスのメソッドを通じて通知を受け取るオブジェクトは、メソッドの実装内で次のことを実行できます。

* スペルチェックに関する情報を通知し、一部の編集操作をキャンセルする。
* 長時間の処理中にアプリケーションが応答していないように見えるのを防ぐために、システムメッセージを処理する。これは、ユーザーインターフェイスを備えたアプリケーションで役立つ場合があります。
* マウスの移動やクリック、キー押下、文字の選択に関する情報を通知する。

<div id="methods">
  ## メソッド
</div>

| 名前                                                                                                                        | 説明                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| [OnActivePageChanged](/ja/fine-reader/engine/visual-components-reference/itextvalidatorevents/onactivepagechanged-method) | Text Validator でアクティブ ページが変更された後に呼び出されます。新しいアクティブ ページへの参照をクライアントに渡します。                                        |
| [OnDocumentChanged](/ja/fine-reader/engine/visual-components-reference/itextvalidatorevents/ondocumentchanged-method)     | Text Validator でアクティブ ドキュメントが変更された後に呼び出されます。新しいドキュメントへの参照をクライアントに渡します。                                        |
| [OnLocked](/ja/fine-reader/engine/visual-components-reference/itextvalidatorevents/onlocked-method)                       | Text Validator がロックまたはロック解除された後に呼び出されます。Text Validator コンポーネントがロック状態かどうかに関する情報をクライアントに渡します。                   |
| [OnOptionsChanged](/ja/fine-reader/engine/visual-components-reference/itextvalidatorevents/onoptionschanged-method)       | Text Validator でオプションが変更された後に呼び出されます。オプションは Options ダイアログで指定します (Text Validator で Settings > Options をクリック) 。 |
| [OnSelectionChanged](/ja/fine-reader/engine/visual-components-reference/itextvalidatorevents/onselectionchanged-method)   | Text Validator でテキストの選択範囲が変更された後に呼び出されます。選択範囲の先頭のカーソル位置と、その長さをクライアントに渡します。                                    |
| [OnSpellingCompleted](/ja/fine-reader/engine/visual-components-reference/itextvalidatorevents/onspellingcompleted-method) | Text Validator でスペルチェックが完了した後に呼び出されます。                                                                        |
| [OnSymbolSelected](/ja/fine-reader/engine/visual-components-reference/itextvalidatorevents/onsymbolselected-method)       | Text Validator で文字が選択された後に呼び出されます。選択された文字を囲む矩形に関する情報をクライアントに渡します。                                             |
| [OnValidationEvent](/ja/fine-reader/engine/visual-components-reference/itextvalidatorevents/onvalidationevent-method)     | Text Validator がスペルチェック中にエラーを検出したときに呼び出されます。エラーに対して実行する操作 (無視、置換、または認識結果が不確かな単語を辞書に追加) をクライアントが選択できるようにします。   |

<div id="see-also">
  ## 関連項目
</div>

[Working with Connectable Objects](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-connectable-objects)

[TextValidator](/ja/fine-reader/engine/visual-components-reference/textvalidator)
