The HTML page "hosts" an RC-WinTrans
ActiveX control which represents RC-WinTrans inside of the HTML page.
The ActiveX
control automatically makes a connection to the running RC-WinTrans application
and routes events from RC-WinTrans to the HTML page. The
HTML page implements two event handlers catching two specific events fired
by RC-WinTrans: "OnSelectTransUnit"
and OnEditTargetText." These
events inform the HTML page if the active translation unit changes and/or
The programming code used to create the HTML page is Visual Basic (VB) script.
The RC-WinTrans ActiveX control permits access to the interface (object model) of RC-WinTrans. This functionality has been tested for use by scripting languages such as VB script and Java script and for use in HTML documents.
The HTML page acts as a COM client using RC-WinTrans as an automation server. In principle, the capabilies for using an HTML page as a client and RC-WinTrans as the server application are the same as for a COM client coded in C#, or Win32 C++, for example.
To activate the HTML view, start RC-WinTrans and place the HTML page in the Tools bar. This is the area in RC-WinTrans where HTML views can be placed/displayed.
|
^ Top ^
Figure: The RC-WinTrans application with a sample HTML page opened in the Tools bar (right). The HTML page shows the source and target text of the item selected in the Project window's Text Table view (left). |
^ Top ^