Component Synchronizer is a special component that implements an automatic reaction to different events in the Visual Components. You can connect several Visual Components to the Synchronizer, and they will work as a single application. You do not need to use Component Synchronizer with the whole set of the components connected, but connect only those which you use. For example, you can connect to it only Image Viewer via the ImageViewer property and Text Editor via the TextEditor property. Component Synchronizer does not have a user interface. It does not use any internal features of the Visual Components, it uses only the COM API of the components. Component Synchronizer works as described below.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.
When a component is connected to the Synchronizer through the API
If a component or an object is connected to Component Synchronizer through:ImageViewer property
ImageViewer property
| The property | Is set to |
|---|---|
| IImageViewer::ZoomRectEnabled | True |
| IImageViewer::DocumentProcessingParams | IComponentSynchronizer::DocumentProcessingParams |
| IImageViewer::FRPage | The page in the IComponentSynchronizer::Document with the IComponentSynchronizer::PageIndex index |
ZoomViewer property
ZoomViewer property
| The property | Is set to |
|---|---|
| IZoomViewer::SymbolRectEnabled | True |
| IZoomViewer::DocumentProcessingParams | IComponentSynchronizer::DocumentProcessingParams |
| IZoomViewer::FRPage | The page in the IComponentSynchronizer::Document with the IComponentSynchronizer::PageIndex index |
TextEditor property
TextEditor property
| The property | Is set to |
|---|---|
| ITextEditor::SynthesisParamsForDocument | The value of the SynthesisParamsForDocument property of the IComponentSynchronizer::DocumentProcessingParams object |
| ITextEditor::FRPage | The page in the IComponentSynchronizer::Document with the IComponentSynchronizer::PageIndex index |
TextValidator property
TextValidator property
| The property | Is set to |
|---|---|
| ITextValidator::SynthesisParamsForDocument | The value of the SynthesisParamsForDocument property of the IComponentSynchronizer::DocumentProcessingParams object |
| ITextValidator::FRDocument | IComponentSynchronizer::Document |
DocumentViewer property
DocumentViewer property
| The property | Is set to |
|---|---|
| IDocumentViewer::FRDocument | IComponentSynchronizer::Document |
| IDocumentViewer::DocumentProcessingParams | IComponentSynchronizer::DocumentProcessingParams |
| IDocumentViewer::ActivePage | The page in the IComponentSynchronizer::Document with the IComponentSynchronizer::PageIndex index |
Document property
Document property
| The property | Is set to |
|---|---|
| IImageViewer::FRPage IZoomViewer::FRPage ITextEditor::FRPage IDocumentViewer::ActivePage | The first page in the IComponentSynchronizer::Document |
| IComponentSynchronizer::PageIndex | 0 |
| IDocumentViewer::FRDocument ITextValidator::FRDocument | IComponentSynchronizer::Document |
DocumentProcessingParams property
DocumentProcessingParams property
| The property | Is set to |
|---|---|
| IImageViewer::DocumentProcessingParams IZoomViewer::DocumentProcessingParams IDocumentViewer::DocumentProcessingParams | IComponentSynchronizer::DocumentProcessingParams |
| ITextEditor::SynthesisParamsForDocument ITextValidator::SynthesisParamsForDocument | The value of the SynthesisParamsForDocument property of the IComponentSynchronizer::DocumentProcessingParams object |
PageIndex property
PageIndex property
| The property | Is set to |
|---|---|
| IImageViewer::FRPage IZoomViewer::FRPage ITextEditor::FRPage IDocumentViewer::ActivePage | The page in the IComponentSynchronizer::Document with the IComponentSynchronizer::PageIndex index |
When a connected component generates an event
Events of the connected Image Viewer:OnMouseButtonUp event
OnMouseButtonUp event
OnBlockSelectionChanged event
OnBlockSelectionChanged event
OnTableSelected event
OnTableSelected event
OnAfterDblClick event
OnAfterDblClick event
OnActivePageChanged event
OnActivePageChanged event
OnSelectTool event
OnSelectTool event
OnOptionsChanged event
OnOptionsChanged event
OnVisibleDocumentAreaChanged event
OnVisibleDocumentAreaChanged event
OnBlockSelectionChanged event
OnBlockSelectionChanged event
OnTableCellsSelected event
OnTableCellsSelected event
OnAfterDblClick event
OnAfterDblClick event
OnActivePageChanged event
OnActivePageChanged event
OnSelectTool event
OnSelectTool event
OnOptionsChanged event
OnOptionsChanged event
OnActivePageChanged event
OnActivePageChanged event
OnDocumentChanged event
OnDocumentChanged event
- the FRDocument property of the TextValidator object is set to the new document
- the FRPage property of the ImageViewer, ZoomViewer, and TextEditor objects and the ActivePage property of the DocumentViewer object are set to the first page of the new document
OnOptionsChanged event
OnOptionsChanged event
OnEditorBlockChanged event
OnEditorBlockChanged event
- If the ImageViewer, ZoomViewer properties of the ComponentSynchronizer object have already been set, the SetSelectedBlocksIndices method of the ImageViewer and ZoomViewer object is called for the specified block.
- If it is a table block, the SetSelectedCells method of the ImageViewer and ZoomViewer object is called for the selected cell.
- Then the ShowDocumentArea method of the ImageViewer and ZoomViewer object is called.
OnSymbolSelected event
OnSymbolSelected event
OnActivePageChanged event
OnActivePageChanged event
OnOptionsChanged event
OnOptionsChanged event
OnSymbolSelected event
OnSymbolSelected event
OnSelectionChanged event
OnSelectionChanged event
OnActivePageChanged event
OnActivePageChanged event
OnDocumentChanged event
OnDocumentChanged event
- the FRDocument property of the DocumentViewer object is set to the new document
- the FRPage property of the ImageViewer, ZoomViewer, and TextEditor objects and the ActivePage property of the DocumentViewer object are set to the first page of the new document.
OnOptionsChanged event
OnOptionsChanged event
