Download f PUBLISHER \
Transcript
US 6,632,249 B2 1 2 METHOD FOR PROVIDING WEB-BASED SERVICES TO AN APPLICATION PROGRAM MODULE Generally described, in one embodiment, the invention alloWs a Web page script to manipulate a document running on an application program module by using the application’s object model. The Web page script may use the application’s REFERENCE TO RELATED APPLICATIONS object model to implement features or services on the This is a continuation-in-part of US. application Ser. No. 09/602,124, entitled “METHOD FOR INSERTING INTER document running on the application program module. The ACTIVE HTML OBJECTS INTO AN ELECTRONIC invention may be launched When the user selects a tool entitled “eServices” or “Tools on the Web” While editing a FILE”, ?led Jun. 23, 2000 now US. Pat. No. 6,493,733 B1, document in an application program module, such as the commonly assigned and incorporated by reference herein 10 TECHNICAL FIELD The invention generally relates to providing Web-based services to an application program module. BACKGROUND already been shipped to the client. For example, developers may Want to add a neW feature to the application or ?ne tune 20 is to send out a neW release of the softWare application to customers either by shipping a neW disc or by having users 25 updating an application With neW or edited features is expensive and burdensome for both the softWare manufac turer and the user. Also, With regard to doWnloading neW or 30 application that is easily discoverable, inexpensive and capable of being easily updated. Users of softWare applications desire more advanced features than users did in the past. SoftWare manufacturers 35 prises an application program module creating a dialog box and launching an HTML rendering engine in the dialog box. The HTML rendering engine opens a services Web page in the dialog box. The services Web page comprises at least one selecting one of the links, the Web page script associated With the selected link requests access to the object model of the application program module. The application program module sends a pointer to its object model to the Web page script. The Web page script is then able to use the applica tion’s object model to perform the selected service or feature on the user’s document (running in the application program module). cannot compete in the marketplace by simply providing the That the invention improves over the draWbacks same features as they once did. NeW features must be added and updated at a rapid pace. For example, some users of Word processors may ?nd helpful a language translation page script performs the selected function on the user’s document. The Web page’s script uses the object model of the application program module to perform the selected link for a service or feature that the user may select. After edited features, there is a discoverability issue because many users Will not knoW that a neW feature exists and, thus, Will not knoW to doWnload the neW feature. There is a need for a method and system for providing features of a softWare there may be a translation feature to translate the user’s document into another language. Of course, there are numer ous other features that may be listed on the Web page. When the user selects one of the features from the Web page, a Web function on the document in accordance With OLE Auto mation. More speci?cally, in one embodiment, the invention com doWnload the neW feature. Although these approaches Work fairly Well for editing or adding features, each neW edited or added feature may require another update. Periodically selection of the “eServices” tool causes the application program module to host a services Web page in a dialog box. The Web page may display a number of features or services that may be performed on the user’s document. For example, 15 Oftentimes, softWare developers Want to update a soft Ware application program module after the application has an existing feature. One Way of editing or adding a feature “PUBLISHER” desktop publishing program module. The 40 described in the Background section and accomplishes the advantages described above Will become apparent from the folloWing detailed description of the exemplary embodi engine. Even though third parties may provide translation ments and the appended draWings and claims. services via the Internet, these services are not easily dis coverable. Moreover, even if a user discovers these language BRIEF DESCRIPTION OF THE FIGURES translation services, the translation services may require the FIG. 1 is a block diagram of a personal computer that user to exit their Word processor and send their Word 45 provides the operating environment for an embodiment of processing document over the Internet to the translation the present invention. service. This process can be time-consuming and burden some. One solution is to include the advanced features, such as the translation softWare, With the application program mod 50 ule. HoWever, some users may not use the advanced fea tures. It is difficult to predict Which features may be needed in the future and Which features Will be popular With users. Moreover, application softWare developers may not be skilled in developing these advanced features. Apartnership 55 screen display in Microsoft’s “PUBLISHER” desktop pub lishing program. FIG. 5 is an illustration of a typical screen display in 60 Microsoft’s “PUBLISHER” desktop publishing program illustrating the selection of the command to use the “eSer vices” tool Which implements an embodiment of the present invention. Moreover, these features should be highly discoverable, editable, and seamless to the user. SUMMARY OF THE INVENTION The present invention meets the above-described needs With a method and system for providing Web-based services to an application program module. present invention. FIG. 4 is an illustration of a WindoW shoWing a typical betWeen an application program manufacturer and a skilled feature developer could prove bene?cial. Thus, there is a need for a method and system for providing advanced features in a softWare application program module that facilitates partnerships betWeen softWare manufacturers. FIG. 2 is a logic ?oW diagram illustrating a method for providing Web-based services to an application program module in accordance With an embodiment of the present invention. FIG. 3 is a logic ?oW diagram illustrating a method for providing Web-based services to an application program module in accordance With a preferred embodiment of the FIG. 6 is an illustration of a WindoW displaying an 65 electronic ?le and a dialog box displaying the services Web page in accordance With an embodiment of the present invention.