摘要 |
A method for using a web page to perform web-based services on a document of an application program module is provided by one embodiment of the invention. A user editing a document running on an application program module selects to view web-based services that may be performed on the user's document. In response to the user's selection, the application program module hosts a services web page in a dialog box of the application program module using an HTML rendering engine. The services web page may list a number of services or features that may be performed on a user's document. The services may be listed as a number of links. In response to the user selecting one of the services, the HTML rendering engine is directed to the selected web page. The web page script of the selected web page requests that the application program module expose its object model to the web page script. After verifying any security issues, the application program module sends to the web page script a pointer to its object model. The web page script is then able to use the application's object model to perform the selected feature.</PTEXT>
|