Property | Type | Description | |
---|---|---|---|
autoSwitchScanners | bool | ||
isWordInstalled | bool | ||
supportedFeatures | String[] |
Method | Description | |
---|---|---|
CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : void |
Invoked to set the 'enabled' state of a widget. This will depend on the current context.
|
|
MSWordAgentBase ( ) : System |
Initializes a new instance of the class.
|
|
OnContextMenuRequest ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void |
Displays the contextual menu
|
|
OnFocusChanged ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, bool &handled ) : void |
Invoked when the foreground window focus changes. Displays the scanner depending on the context. Also, if this is a new window that has come into focus, adds its contents to the word prediction temporary batch model for more contextual prediction of words
|
|
OnFocusLost ( ) : void |
Focus shifted to another app. This agent is getting deactivated.
|
|
OnRunCommand ( String command, object commandArg, bool &handled ) : void |
Executes the specified command
|
Method | Description | |
---|---|---|
OnDispose ( ) : void |
Dispose allocated resources
|
|
createMSWordTextInterface ( ) : void |
Creates the text control interface for MS Word
|
|
isRecentDocuments ( |
Returns if the currently focused element is the "Recent Documents" window
|
|
launchLectureManager ( String fileName, String text ) : void |
Launches lecture manager with text from the MS Word window. This function returns only after lecture manager has exited
|
Method | Description | |
---|---|---|
_textInterface_EvtTextChanged ( object sender, ACAT.Lib.Core.AgentManagement.TextInterface.TextChangedEventArgs e ) : void |
Event handler for when text or caret position in the MS Word window has changed
|
|
disposeTextInterface ( ) : void |
Disposes off the text interface
|
|
loadWordPredictionContext ( ) : void |
Loads the text from the active word document to the word prediction engine as temporary context for better word prediction results, that are more relevant to the active document
|
|
unloadWordPredictionContext ( ) : void |
Unloaded previously loaded context from the word predictor
|
public CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : void | ||
arg | ACAT.Lib.Core.AgentManagement.CheckEnabledArgs | contains info about the widget |
return | void |
public OnContextMenuRequest ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Foreground window info |
return | void |
public OnFocusChanged ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo, bool &handled ) : void | ||
monitorInfo | ACAT.Lib.Core.Utility.WindowActivityMonitorInfo | Foreground window info |
handled | bool | set to true if handled |
return | void |
public OnRunCommand ( String command, object commandArg, bool &handled ) : void | ||
command | String | The command to execute |
commandArg | object | Optional arguments for the command |
handled | bool | set this to true if handled |
return | void |
protected createMSWordTextInterface ( ) : void | ||
return | void |
protected isRecentDocuments ( |
||
focusedElement | focused element | |
return | bool |
protected launchLectureManager ( String fileName, String text ) : void | ||
fileName | String | |
text | String | |
return | void |