摘要 |
A method and system are provided for associating actions with semantic labels in an electronic document. The document is created or edited in an application program module and sections of the electronic document are annotated with semantic labels. The application program module passes the semantic labels to an action DLL. The action DLL is responsible for communicating with the application program module, transmitting the labels to action plug-ins, and receiving, from the action plug-ins, the actions to be associated with the labels. The application program module communicates with the action DLL to retrieve the actions associated with the semantic labels and displays them to a user. The document may be created in eXtensible Markup Language (XML) and may be annotated using XML tags. The semantic labels may be associated with strings of text or graphical objects.
|