摘要:
A commanding system and method for a computer including at least one control element at the control level having commanding information. An input sequence can be received from an input device, and the commanding information provided by the control element can be used to connect the input to an associated action. Control elements and the application elements can be arranged as nodes in an tree, each node having one or more children and/or one or more parents. A table of bindings can be associated with each node, the table of bindings including a plurality of binding entries, each including a command binding and a command handler. The input sequence can be passed from node to node in the tree to find a command binding that matches the input sequence. When a matching command binding is found, the command handler associated with the matching command binding can be used to invoke the action that is to be performed based on the input sequence.
摘要:
A commanding system for a computer. The system includes an input module that accepts a plurality of input sequences across multiple input device categories, and a commanding element having a binding table that connects input sequences to associated action. One or more of the binding entries in the binding table includes a command binding with a plurality of sub-command bindings associated with the plurality of input sequences across multiple input device categories. A processor receives the input at the input module and passes the input to the command element, the command element looking up a matching command binding associated with the input in the binding table. In addition, the processor invokes action associated with the input if the matching binding is found in the binding table. The system can also report the commands a particular application can understand upon request.
摘要:
A multi-modal text editing correction environment is disclosed. An application program owns a document, while each of a number of handlers has a corresponding input device and is capable of entering text into the document. Each handler has a method callable by the program to request: that the handler return correction content for display by the application; and/or that the handler display a correction interface. A common text framework includes a mechanism to track entry of text into the document by handler, and a correction interface callable by the application program to determine the handler responsible for entering a particular range of text into the document.
摘要:
A commanding system for a computer. The system includes a memory storing a binding table that connects input to associated action, at least one binding in the binding table including an interface binding. The system also includes a processor in data communication with the memory, the processor programmed to query each binding in the binding table, receive the interface binding associated with the binding; and generate a command interface based on the interface binding. The command interface is dynamically generated based on the information provided by the interface binding. Examples of command interfaces include toolbars and menus.
摘要:
A method for recognizing data, including strings and media objects, and annotating, or labeling, the data with a type label. After the data is annotated with a type label, application program modules may use the type label to provide users with a choice of actions. If the user's computer does not have any actions associated with a type label, the user may be provided with the option to surf to a download Uniform Resource Locator (URL) and download action plug-ins for that type label. One or more recognizer plug-ins perform the recognition of particular strings or media objects in an electronic document. The recognizer plug-ins may be packaged with an application program module or they may be written by third parties to recognize particular data that is of interest. One or more action plug-ins provide possible actions to be presented to the user based upon the type label associated with the data in an electronic document.
摘要:
Embodiments provide for systems, methods, and computer program products for optimizing content rendered at a display unit by dynamically formatting the content layout based on a display unit's parameters. For example, content is received from a server. The content is capable of being rendered at a number of remote display devices with various display parameters. In addition, a number of display rules are also received. The display rules specify how content should be rendered in terms of content layout and properties by the remote display devices based on the parameters of the display devices. The display rules are compared with the parameters of a display device that is used to render the content. Based on the comparison, at least one of the display rules is applied such that the layout of the content on the display device is optimized for the particular parameters of the display device.
摘要:
The sharing of language models is disclosed. In one embodiment, a language model service is provided that is shareable among handlers for input devices. The service includes a pre-processing mode of operation, and a correction mode of operation. In the former mode, the language model service is designed to receive a range within a document from a handler for an input device, and in response provide advice regarding text under consideration by the handler to insert within the document at the range, based on the context of the document within the range. In the latter mode, the language model service is designed to supervise correction over a range of text within a document, in which a number of different handlers for a number of different input devices were initially responsible for insertion of the text, such that the service solicits suggestions from the handlers, and based thereon determines text corrections. The corrections can then be made by the handlers, or by the service.
摘要:
A common text framework for application programs having documents of primarily text and input devices for entering and editing text of such documents is disclosed. The framework provides for the interaction of applications and handlers for input devices, and includes a text store interface and a text input processor interface. The former interface permits an application having a document of primarily text to expose the document as an abstraction. The latter interface permits a handler for an input device to access the abstraction of the document and to insert additional text into the document.
摘要:
Elements of a graphical user interface that are switchably translucent and opaque are disclosed. In one embodiment, such an element is initially set to a default, first mode in which the element is translucent when the pointer is not positioned over the element. When the pointer has been moved such that it is positioned over the element, the element becomes opaque. Various heuristics are also disclosed that are applicable to the opaque-to-translucent and the translucent-to-opaque transformations. For example, when the pointer is moved over the element, there may be a delay prior to the element becoming opaque. As another example, when the pointer remains over the element for a predetermined amount of time, the element may revert back to translucency from opacity.
摘要:
The sharing of language models is disclosed. In one embodiment, a language model service is provided that is shareable among handlers for input devices. The service includes a pre-processing mode of operation, and a correction mode of operation. In the former mode, the language model service is designed to receive a range within a document from a handler for an input device, and in response provide advice regarding text under consideration by the handler to insert within the document at the range, based on the context of the document within the range. In the latter mode, the language model service is designed to supervise correction over a range of text within a document, in which a number of different handlers for a number of different input devices were initially responsible for insertion of the text, such that the service solicits suggestions from the handlers, and based thereon determines text corrections. The corrections can then be made by the handlers, or by the service.