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.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method of an application program module for using a web page to provide a feature to a document running on the application program module comprising the steps of: hosting the web page in a dialog box of the application program module; receiving a request from the web page for access to an object model of the application program module; exposing the object model to the web page; and responding to a web page script running on the web page, wherein the web page script uses the object model of the application program module to implement the feature.
2. The method of claim 1 wherein the step of exposing the object model of the web page comprises sending to the web page a pointer to the object model of the application program module.
3. The method of claim 2 wherein the request from the web page comprises a window.external request.
4. The method of claim 2 wherein the pointer comprises an Iapplication request.
5. The method of claim 1 wherein the web page script is a Dynamic Hypertext Markup Language (DHTML) script.
6. The method of claim 5 wherein the object model of the application program module and the DHTML script are implemented according to the OLE Automation standard.
7. The method of claim 1 wherein the step of hosting the web page in a dialog box of the application program module comprises using an HTML rendering engine to open and render the web page in the dialog box of the application program module.
8. The method of claim 7 wherein the HTML rendering engine is a TRIDENT program module.
9. A computer-readable medium having computer-executable instructions for performing the steps recited in claim 1 .
10. The method of claim 1 further comprising the step of providing context information to the web page.
11. The method recited in claim 10 wherein the context information comprises a plurality of keywords describing the task being performed on the application program module immediately before hosting the web page in the dialog box of the application program module.
12. The method recited in claim 11 wherein a plurality of cookies are used to provide the context information to the web page.
13. A method for providing web-based services to a file of an application program module, comprising the steps of: at an application program module, hosting a web page comprising a web page script in a dialog box of the application program module; at the web page script, sending to the application program module a request for access to an object model of the application program module; at the application program module, receiving the request from the web page script for access to the object model of the application program module; exposing the object model to the web page script; at the web page script, using the object model to generate instructions to perform a web-based service; sending the instructions to the application program module; at the application program module, and responding to the instructions by manipulating the file in accordance with the web page script's instructions.
14. The method of claim 13 wherein the step of hosting a web page comprising a web page script in a dialog box of the application program module is performed in response to receiving a request for web-based services.
15. The method of claim 14 wherein the request comprises user input selecting an eServices tool from a tools menu.
16. The method of claim 13 wherein the step of hosting a web page comprising a web page script in a dialog box of the application program module is performed by the application program module using an HTML rendering engine.
17. The method of claim 13 wherein the step of sending to the application program module a request for access to an object model of the application program module is performed in response to the web page script receiving a request for a web-based service.
18. The method of claim 17 wherein the request for a web-based service comprises a user selecting a service from a plurality of services listed on the web page.
19. The method of claim 13 wherein the step of exposing the object model to the web page script comprises sending to the web page script a pointer to the object model.
20. The method of claim 16 wherein the step of receiving the request from the web page script for access to the object model of the application program module comprises the HTML rendering engine receiving the request from the web page script and requesting instructions from the application program module.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
January 16, 2001
October 14, 2003
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.