Method and apparatus for utilizing an object model to manage document parts for use in an electronic document

Information

  • Patent Grant
  • 7673235
  • Patent Number
    7,673,235
  • Date Filed
    Friday, March 4, 2005
    19 years ago
  • Date Issued
    Tuesday, March 2, 2010
    14 years ago
Abstract
A method and apparatus are provided for utilizing a document object model to manage document parts for use in an electronic document. The document object model enables a user to retrieve, insert, add, and delete document parts to and from an electronic document using a programmable interface from within a word processing application program. A document part programming interface is exposed in the object model and methods associated with the object model are called which return objects enabling the location and management of document parts in a document parts collection.
Description
BACKGROUND OF THE INVENTION

Modern word processors enable a user to readily create electronic documents. Many modern word processors include templates to facilitate the insertion of “document parts” which are typical structural elements found in a variety of documents. These typical structural elements include such features as cover pages, headers and footers, and the like. A user of a word processing application program typically selects a desired document part from a template of similarly styled parts created by a template author and then inserts the selected document part in the document. Unfortunately, the creation and insertion of document parts in modern word processors presents a number of drawbacks to both the template author as well as the end user.


One drawback associated with the creation of document part templates for use in modern word processors is that the template author generally must undergo the time consuming task of creating each document part from scratch utilizing various graphical software tools to design and format each document part. One drawback associated with the insertion of document parts in a document by an end user is that the end user must depend on template authors to design suitable document parts for insertion (i.e., the typical end user lacks the design skill require to design or modify existing document parts). Another drawback associated with the insertion of document parts by an end user is that the end user must typically perform a series of steps so that the document part will fit the size and layout of the document in which it is inserted. For instance, to insert a cover page a user may perform one or more of the following time-consuming steps: 1. Insert a page break at the top of the document; 2. Center the test vertically in the page by using empty paragraph markers so that the title is displayed correctly; 3. Increase the font size of the title; 4. Add empty space to push text to the bottom of the page where the author's name and date will be displayed; 5. Right align the text and make it smaller.


It is with respect to these considerations and others that the various embodiments of the present invention have been made.


BRIEF SUMMARY OF THE INVENTION

In accordance with the present invention, the above and other problems are solved by a method and apparatus for utilizing a document object model to manage document parts for use in an electronic document. The document object model enables a user to retrieve, insert, add, and delete document parts to and from an electronic document using a programmable interface from within a word processing application program.


According to one aspect of the invention, a method is provided for utilizing an object model in a word processing application program for managing document parts for use in an electronic document. The method includes exposing a document part programming interface in the object model and calling a plurality of methods associated with the object model, wherein the called plurality of methods return objects enabling the location and management of document parts in a document parts collection. One of the called methods returns an object identifying a collection of categories in the document parts collection and adds a new category of document parts to the collection of categories. The new document part may be added based on a specified text range in the electronic document. Another called method returns an object identifying a specified category in the document parts collection and deletes one or more document parts contained within the specified category.


Another called method returns an object identifying one or more document parts in the document parts collection and add a new document part to the document parts collection. Another called method returns an object identifying a specified document part and deletes the specified document part from the document parts collection. Another called method returns an object identifying a specified document part and inserts the specified document part in the electronic document. The specified document part may be inserted in place of a specified range in the electronic document. Once the specified document part is inserted, an event is triggered notifying a calling application that the document part has been inserted in the electronic document. The object model may further include an InsertOptions property for setting insertion options for a document part in the electronic document.


The invention may be implemented as a computer process, a computing system, or as an article of manufacture such as a computer program product or computer readable media. The computer program product may be a computer storage media readable by a computer system and encoding a computer program of instructions for executing a computer process. The computer program product may also be a propagated signal on a carrier readable by a computing system and encoding a computer program of instructions for executing a computer process.


These and various other features, as well as advantages, which characterize the present invention, will be apparent from a reading of the following detailed description and a review of the associated drawings.





BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS


FIG. 1 is a computer system architecture diagram illustrating a computer system utilized in and provided by the various embodiments of the invention;



FIGS. 2A-2B is a diagram of an object model hierarchy showing the objects, properties, methods, and events which may be utilized in the object model to manage document parts for use in an electronic document, according to the various embodiments of the invention; and



FIG. 3 is an illustrative routine performed by a word processing application program in the computer system of FIG. 1 for utilizing an object model to manage document parts for use in an electronic document, according to an illustrative embodiment of the invention.





DETAILED DESCRIPTION OF THE INVENTION

Referring now to the drawings, in which like numerals represent like elements, various aspects of the present invention will be described. In particular, FIG. 1 and the corresponding discussion are intended to provide a brief, general description of a suitable computing environment in which embodiments of the invention may be implemented. While the invention will be described in the general context of program modules that execute in conjunction with program modules that run on an operating system on a personal computer, those skilled in the art will recognize that the invention may also be implemented in combination with other types of computer systems and program modules.


Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.


Referring now to FIG. 1, an illustrative computer architecture for a computer 2 utilized in the various embodiments of the invention will be described. The computer architecture shown in FIG. 1 illustrates a conventional desktop or laptop computer, including a central processing unit 5 (“CPU”), a system memory 7, including a random access memory 9 (“RAM”) and a read-only memory (“ROM”) 11, and a system bus 12 that couples the memory to the CPU 5. A basic input/output system containing the basic routines that help to transfer information between elements within the computer, such as during startup, is stored in the ROM 11. The computer 2 further includes a mass storage device 14 for storing an operating system 16, application programs, and other program modules, which will be described in greater detail below.


The mass storage device 14 is connected to the CPU 5 through a mass storage controller (not shown) connected to the bus 12. The mass storage device 14 and its associated computer-readable media provide non-volatile storage for the computer 2. Although the description of computer-readable media contained herein refers to a mass storage device, such as a hard disk or CD-ROM drive, it should be appreciated by those skilled in the art that computer-readable media can be any available media that can be accessed by the computer 2.


By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, digital versatile disks (“DVD”), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer 2.


According to various embodiments of the invention, the computer 2 may operate in a networked environment using logical connections to remote computers through a network 18, such as the Internet. The computer 2 may connect to the network 18 through a network interface unit 20 connected to the bus 12. It should be appreciated that the network interface unit 20 may also be utilized to connect to other types of networks and remote computer systems. The computer 2 may also include an input/output controller 22 for receiving and processing input from a number of other devices, including a keyboard, mouse, or electronic stylus (not shown in FIG. 1). Similarly, an input/output controller 22 may provide output to a display screen, a printer, or other type of output device.


As mentioned briefly above, a number of program modules and data files may be stored in the mass storage device 14 and RAM 9 of the computer 2, including an operating system 16 suitable for controlling the operation of a networked personal computer, such as the WINDOWS XP operating system from MICROSOFT CORPORATION of Redmond, Wash. The mass storage device 14 and RAM 9 may also store one or more program modules. In particular, the mass storage device 14 and the RAM 9 may store a word processing application program 10. As known to those skilled in the art, the word processing application program 10 is operative to provide functionality for creating and editing electronic documents, such as document 24.


In conjunction with the editing of a word processing document, the word processing application program 10 provides functionality for allowing a user to create, insert, and reuse “document parts” into various locations in the document 24. As defined herein, document parts are preformatted structural elements or layouts which add structure to documents including, but not limited to, the following types and categories: cover pages, mathematical equations, indexes and tables (e.g., Table of Contents, Table of Figures, and Table of Authorities), page headers and footers, pages and sections (e.g., blank pages and two-column pages), personal contact information (e.g., name and address information), images, textboxes, AutoText, and watermarks. The document parts utilized by the word processing application program 10 may be stored as categories in document part galleries 26 which may be stored in the mass storage device 14. It will be appreciated that in addition to the categories discussed above, various embodiments of the invention may also include a “general document parts” gallery including user created document parts as well as user modified document parts representing document parts from a combination of other galleries.


It will be appreciated that the document parts discussed with respect to the various embodiments of the invention may be designed by a professional template designer or created by an end user within the word processing application program 10. It will further be appreciated that each of the document part galleries 26 may have actions associated with them for modifying, inserting, formatting, and removing document parts from a document.


The word processing application program 10 also includes a programming interface 11 which provides an object model interface for providing all of the functionality of the word processor's user interface, via code. As is known to those skilled in the art, object models are used in software applications to provide a way for code to automate tasks that a user may perform through a user interface of an application, such as the word processing application program 10. The object model allows code to be written which, for example, automates repetitive tasks for the user and reacts to (e.g., validates, etc.) actions by the user. The programming interface 11 provides structures which provide code access to equivalents of all of the paradigms/user interfaces of the word processing application program 10. These structures are organized into four basic categories:

    • Objects: Structures which correspond to actionable objects within an application—for example, a document part is an object in the object model corresponding to a document part from the document part galleries 26 which may be inserted into an electronic document.
    • Methods: Actions that can be performed on an object (e.g., insert, add, or delete).
    • Properties: Things that can be set about an object (e.g., a description of a document part).
    • Events: Actions in response a user's (or code's) interaction with an application (e.g., in response to inserting a document part, an event notifies the word processing application program that the document part was inserted in the document).


It will be appreciated that any object within an object model can include methods, properties, and/or events which allow code to manipulate that object. According to one embodiment of the invention, the word processing application program 10 comprises the WORD word processing application program from MICROSOFT CORPORATION. It should be appreciated, however, that word processing application programs from other manufacturers may be utilized to embody the various aspects of the present invention. It should further be appreciated that the various aspects of the present invention are not limited to word processing application programs but may also utilize other application programs which are capable of processing text.


Referring now to FIGS. 2A and 2B, an object hierarchy or tree 200 will be described illustrating objects, method, properties, and events which may be manipulated by the programming interface 11 to provide access to document part functionality in the word processing application program 10. The tree 200 initially includes a Template/Document object 202. The Template object tree may be independent from the Document object tree with each tree comprising a hierarchy of child objects including document part types, document part categories, and individual document parts. Child objects under the Template object allow users to programmatically manage document part stores. Child objects under Document object allow users to track and manipulate document parts inserted into an electronic document.


The child object under the Template/Document object 202 is Types object 204. The Types object 204 is associated with a gallery or collection of the various types of document parts which may be inserted into a document such as, for example, Issues, Cover Pages, Headers/Footers, and Watermarks. The Types object 204 contains properties and methods including, but not limited to, standard properties 206 such as an Application property, Count property, Creator property, and Parent property. It will be appreciated by those skilled in the art that the standard properties 206 are commonly used properties included in the object model associated with word processing application programs such as the WORD word processing application program. The Types object 204 also includes an Item method 208 which returns an individual Type object in the collection of document part types. In particular, the Item method 208 returns an individual document type object such as a Cover Page object from the document part types collection. The Item method 208 may correspond to the following syntax: expression.Item(Index) where expression is an expression that returns a Types object and Index indicates the individual object to be returned. It will be appreciated that the Index may be a number (i.e., a “Long”) indicating the ordinal position of the requested Type object in the document parts collection or a string (i.e., a “Variant”) representing the name of the individual Type object.


The child object under the Types object 204 is Type object 210. The Type object 210 is associated with a document part type (e.g., a specific gallery or collection of document parts) which may be inserted into a document such as, for example, Letter AutoText. The Type object 210 contains the standard properties 206 (discussed above). The Type object 210 also includes a Name property 214 which is a read-only string representing the name of the document part type. If the document part type is a “built-in” type (i.e., a default document part type already included in the document part galleries 26), the property returns the name previously assigned to the document part type (e.g., Cover pages). The Type object 210 also includes an IsBuiltIn property 216 which returns a Boolean value (i.e., True or False) indicating whether the document part type is built-in. The Type object 210 also includes an Index property 218 which returns a number or “Long” representing the position of the Type object 210 in the document parts collection. The Type object 210 also includes a Categories property 220 which returns a Categories collection that contains all the categories and document parts under the specified document part type. For instance, for the Letter AutoText document part type, the Categories collection may include the following categories: Attention Line, Closing, Mailing Instructions, Reference Line, Salutation, Subject Line, and Address Placeholders.


The child object under the Type object 210 is Categories object 222. The Categories object 222 includes a collection of categories for a document part type. The Categories object 222 contains the standard properties 206 (discussed above). The Categories object 210 also includes an Item method 226 which returns an individual object in the collection of document part types. For instance, the Item method 208 may be used to return a Salutation object from the collection of categories for the Letter AutoText document type. The Item method 226 may correspond to the following syntax: expression.Item(Index) where expression is an expression that returns a Categories object and Index indicates the individual object to be returned. It will be appreciated that the Index may be a number (i.e., a “Long”) indicating the ordinal position of the requested Category object in the document parts collection or a string (i.e., a “Variant”) representing the name of the individual Category object. It will further be appreciated that built-in categories may take up the first indexes in a collection. Thus, if a document part type has X built-in categories, indexes 1-X are used by the built-in document part types. The Categories object 222 also include an Add method 228 which may be utilized to add a new Category object to the collection of categories in the Categories object 222. The Add method 228 may correspond to the following syntax: expression.Add(Name) where expression is an expression that returns a Categories object and Name indicates the user-provided name for the new category to be added to the collection.


The child object under Categories object 222 is Category object 230. The Category object 230 represents a specific category in the Categories object 222. The Category object 230 contains the standard properties 206 (discussed above). The Category object 230 also includes a Name property 234 which is a read-only string representing the name of the specific category. If the category is built-in, the property returns the default name assigned to the category. The Category object 230 also includes an IsBuiltIn property 236 which returns a Boolean value (i.e., True or False) indicating whether the category is built-in. The Category object 230 also includes an Index property 238 which returns a number or “Long” representing the position of the Category object 230 in the document parts collection. The Category object 230 also includes a DocumentParts property 240 which returns a DocumentParts collection that contains all the document parts in the specified category. For instance, for the DocumentParts collection for cover pages may include a basic cover pages, academic cover pages, a cover page with picture, and a cover page abstract. The Category object 230 also includes a Type property 242 which returns the Type object that contains the specified category. For instance, for the Salutation category, the Type property 242 would return the Letter AutoText document part type. The Category object 230 also includes a Delete method 244 which may utilized to delete a category and all of the document parts within the category (in a given template). It will be appreciated that for built-in categories, the method may delete the document parts but not delete the category. The Delete method 244 may correspond to the following syntax: expression.Delete where expression is an expression that returns a Category object for deletion.


The child object under the Category object 230 is DocumentParts object 246. The DocumentParts object 246 includes a collection of document parts. The DocumentParts object 246 contains the standard properties 206 (discussed above). The DocumentParts object 246 also includes an Item method 250 which returns an individual object in the collection of document parts. For instance, the Item method 250 may be used to return an academic cover page object from a collection of cover pages. The Item method 226 may correspond to the following syntax: expression.Item(Index) where expression is an expression that returns a DocumentPart object (representing an individual document part) and Index indicates the individual object to be returned. It will be appreciated that the Index may be a number (i.e., a “Long”) indicating the ordinal position of the requested DocumentPart object in the document parts collection or a string (i.e., a “Variant”) representing the name of the individual DocumentPart object. The DocumentParts object 246 also includes an Add method 252 which may be utilized to add a new DocumentPart object to the collection of document parts in the DocumentParts object 246, based on a specific text range. The Add method 252 may correspond to the following syntax: expression.Add(Name, Range, Description) where expression is an expression that returns a DocumentParts object, Name indicates the user-provided name for the DocumentPart object to be added, Range may be used to highlight the content in the electronic document to be stored in the DocumentPart object to be added, and Description is a string used to enter a description for the new DocumentPart object. It will be appreciated that the Range and Description parameters may be optional. Furthermore, if a Range is not specified, the currently selected text or other data will be stored in the DocumentPart object.


The child object under DocumentParts object 246 is DocumentPart object 254. The DocumentPart object 254 represents a specific document part in the DocumentParts object 246. The DocumentPart object 254 contains the standard properties 206 (discussed above). The DocumentPart object 254 also includes an Index property 258 which returns a number or “Long” representing the position of the DocumentPart object 254 in the document parts collection. The DocumentPart object 254 also includes an ID property 260 which returns a unique identification for the document part. It will be appreciated that the identification may be generated dynamically each time a document part type is created or changed. The DocumentPart object 254 also includes a Name property 262 which is a read-only string representing the name of the specific document part. The DocumentPart object 254 also includes a Description property 264 which returns string or enables a user to enter a string to set the description of the DocumentPart object 254. The DocumentPart object 254 also includes a Value property 266 which returns or sets the value of the document part represented by the DocumentPart object 254. The DocumentPart object 254 also includes an InsertOptions property 268 which returns or sets special insertion options for inserting the document part in a document. The insertion options may include allowing only content, paragraphs, pages, or sections to be inserted in the document part. The DocumentPart object 254 also includes a Type property 270 which returns the Type object that contains the document part represented by the DocumentPart object 254. The DocumentPart object 254 also includes a Category property 272 which returns the Category object that contains the document part represented by the DocumentPart object 254. The DocumentPart object 254 also includes a Delete method 274 which may be utilized to delete a document part. The Delete method 274 may correspond to the following syntax: expression.Delete where expression is an expression that returns a DocumentPart object for deletion. The DocumentPart object 254 also includes an Insert method 276 which may be utilized to insert a document part in place of a specified range in a document. The Insert method 276 may correspond to the following syntax: expression.Insert(Where) where expression is an expression that returns a DocumentPart object for insertion in a document. The Where parameter represents an optional Range object for indicating the location in the document to insert the document part.


It will be appreciated that if a Range object is not specified, the object may be inserted at the current insertion point in the document. It will also be appreciated that built-in document part types may have a predefined insertion point which supersedes the Where parameter. It should be understood that upon the insertion of a document part using the Insert method 276, an OnDocumentPartInsert event 278 is triggered to notify the word processing application program 10 that a document part has been inserted. The OnDocumentPartInsert event 278 may correspond to the following syntax: object_DocumentPartInsert (documentPart, range) where the documentPart parameter is the object representing the document part that was just inserted and the range parameter is the range of the document part in the document.


Referring now to FIG. 3, an illustrative routine 300 will be described illustrating a process performed by the word processing application program 10 for using an object model to manage document parts for use in an electronic document. It should be appreciated that although the embodiments of the invention described herein are presented in the context of the word processing application program 10, the invention may be utilized in other types of application programs that support text processing.


When reading the discussion of the routines presented herein, it should be appreciated that the logical operations of various embodiments of the present invention are implemented (1) as a sequence of computer implemented acts or program modules running on a computing system and/or (2) as interconnected machine logic circuits or circuit modules within the computing system. The implementation is a matter of choice dependent on the performance requirements of the computing system implementing the invention. Accordingly, the logical operations illustrated in FIG. 3, and making up the embodiments of the present invention described herein are referred to variously as operations, structural devices, acts or modules. It will be recognized by one skilled in the art that these operations, structural devices, acts and modules may be implemented in software, in firmware, in special purpose digital logic, and any combination thereof without deviating from the spirit and scope of the present invention as recited within the claims set forth herein.


Referring now to FIG. 3, the routine 300 begins at operation 310, wherein the word processing application program 10 exposes the document part programming interface 11 which allows a user to manage objects corresponding to document parts by calling the properties and methods discussed above with respect to FIG. 2. The routine 300 continues from operation 310 at operation 320 where the programming interface 11 receives, from a user, a call for a method to return an object for adding a new category to a document parts collection such as the document part galleries 26. In particular, the programming interface 11 may receive a call for the Add method 228 to return the Categories object 222 to add a new document part category using the syntax: expression.Add(Name).


The routine 300 then continues from operation 320 at operation 330 where the programming interface 11 receives a call for a method to return an object to delete document parts from specified category. In particular, the programming interface 11 may receive a call for the Delete method 244 to return the Category object 230 to delete all of the document parts for the category represented by the Category object 230 using the syntax: expression.Delete.


The routine 300 then continues from operation 330 at operation 340 where the programming interface 11 receives a call for a method to return an object to add a new document part based on specified text range in the electronic document 24. In particular, the programming interface 11 may receive a call for the Add method 252 to return the DocumentParts object 246 to add a new document part using the syntax: expression.Add(Name, Range, Description).


The routine 300 then continues from operation 340 at operation 350 where the programming interface 11 receives a call for a method to return an object to delete a specified document part. In particular, the programming interface 11 may receive a call for the Delete method 274 to return the DocumentPart object 254 to delete a specified document part using the syntax: expression.Delete.


The routine 300 then continues from operation 350 at operation 360 where the programming interface 11 receives a call for a property to return an object to set insert options for inserting a specified document part. In particular, the programming interface 11 may receive a call for the InsertOptions property 268 to return the DocumentPart object 254 to set insertion options such as content only, paragraphs only, pages only, or sections only, for content to be inserted in a specified document part in the electronic document 24.


The routine 300 then continues from operation 360 at operation 370 where the programming interface 11 receives a call for a method to return an object to insert a document part in a specified range in the electronic document 24. In particular, the programming interface 11 may receive a call for the Insert method 276 to return the DocumentPart object 254 to insert a specified document part using the syntax: expression.Insert(Where).


The routine 300 then continues from operation 370 at operation 380 where the word processing application program 10 receives an event confirming the insertion of a specified document part in the electronic document 24. In particular, after a document part is inserted, the OnDocumentPartInsert event 278 is triggered to notify the word processing application program 10 of the identity of the document part and the range of the document part in the electronic document 24 using the syntax: object_DocumentPartInsert (documentPart, range). The routine 300 then ends.


Based on the foregoing, it should be appreciated that the various embodiments of the invention include a method and apparatus for utilizing a document object model to manage document parts for use in an electronic document. The document object model enables a user to retrieve, insert, add, and delete document parts to and from an electronic document using a programmable interface from within a word processing application program. It will be appreciated that by using the object model disclosed herein has a number of advantages over a user interface for inserting document parts in an electronic document. One advantage is that the object model enables the creation of custom document parts not exposed in the user interface which may be used to create custom documents. Another advantage of the object model is that it enables users to define custom processes which occur after a document part has been inserted into an electronic document. For instance, a user may create a document in which the answers to specific questions trigger the insertion of predefined document parts in the document.


The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.

Claims
  • 1. A computer-implemented method for inserting documents parts into an electronic document, comprising: exposing a document part interface to a user of an application program configured to create and edit the electronic document;presenting within the document part interface a document parts collection including a plurality of document parts configured to add structure to the electronic document, wherein the plurality of document parts comprise user created document parts and user modified document parts representing document parts from a combination of other document parts collections, wherein each of the document parts includes one of: a preformatted structural element; anda layout;allowing the user to specify a document part to be inserted in the electronic document;inserting the specified document part to add the structure associated with the specified document part to the electronic document, wherein the specified document part comprises an object in an object model which corresponds to a document part from the document parts collection, wherein the object model is utilized to programmatically automate user repetitive tasks and validate user actions, wherein the object includes a template/document object, wherein the template/document object comprises a template object tree and a document object tree which is independent from the template object tree, wherein each of the template object and document object trees comprises a plurality of hierarchical child objects, the hierarchical child objects comprising a types object and a document part object, wherein the types object is associated with a plurality of document part types including issues, cover pages, headers, footers, and watermarks, wherein the document part object comprises an ID property and a Name property, wherein the ID property returns a unique identification for the document part, wherein the unique identification is generated dynamically each time a document part type is at least one of created and changed, wherein the Name property comprises a read-only string representing the name of the specified document part, wherein the hierarchical child objects are utilized to programmatically manage stored document parts and track and manipulate document parts inserted in the electronic document; andallowing the user to specify a range parameter to highlight content in the electronic document to be stored in a document part object to be added to the document parts collection.
  • 2. The computer-implemented method of claim 1, wherein the application includes a word processing program.
  • 3. The computer-implemented method of claim 1, wherein document programming interface is invoked from within the application.
  • 4. The computer-implemented method of claim 1, wherein each of the preformatted structural elements includes: a cover page;a mathematical equation;an index;a table, including one of: a table of contents;a table of figures; anda table of authorities;a page header;a page footer;personal contact information;an image;a textbox; anda watermark.
  • 5. The computer-implemented method of claim 1, further comprising allowing the user to one of: add a new document part to the document parts collection; anddelete an existing document part from the document parts collection.
  • 6. The computer-implemented method of claim 1, further comprising allowing the user to specify a collection of one or more categories in the document parts collection.
  • 7. The computer-implemented method of claim 6, further comprising allowing the user to one of: add a new category to the document parts collection; anddelete an existing category from the document parts collection.
  • 8. The computer-implemented method of claim 1, wherein inserting the specified document part includes inserting the specified document part in place of a specified range in the electronic document.
  • 9. The computer-implemented method of claim 1, wherein inserting the specified document part further comprises triggering an event notifying the application that the document part has been inserted in the electronic document.
  • 10. The computer-implemented method of claim 1, further comprising receiving and responding to a call for setting insertion options for inserting the specified document part in the electronic document.
  • 11. A computer-readable storage medium storing instructions for inserting documents parts into an electronic document to add structure to the electronic document, comprising instructions to: allow an application configured to one or more of create and modify the electronic document to call the instructions for inserting the document parts into the electronic document;expose a document part interface to a user of an application program configured to create and edit the electronic document;present within the document part interface a document parts collection including: one or more categories of document parts; anda plurality of document parts wherein the plurality of document parts comprise user created document parts and user modified document parts representing document parts from a combination of other document parts collections; andallow the user to: specify a document part to be inserted in the electronic document to add the structure associated with the specified document part to the electronic document, wherein the specified document part comprises an object in an object model which corresponds to a document part from the document parts collection, wherein the object model is utilized to programmatically automate user repetitive tasks and validate user actions, wherein the object includes a template/document object, wherein the template/document object comprises a template object tree and a document object tree which is independent from the template object tree, wherein each of the template object and document object trees comprises a plurality of hierarchical child objects, the hierarchical child objects comprising a types object and a document part object, wherein the types object is associated with a plurality of document part types including issues, cover pages, headers, footers, and watermarks, wherein the document part object comprises an ID property and a Name property, wherein the ID property returns a unique identification for the document part, wherein the unique identification is generated dynamically each time a document part type is at least one of created and changed, wherein the Name property comprises a read-only string representing the name of the specified document part, wherein the hierarchical child objects are utilized to programmatically manage stored document parts and track and manipulate document parts inserted in the electronic document; andallow the user to specify a range parameter to highlight content in the electronic document to be stored in a document part object to be added to the document parts collection.
  • 12. The computer-readable storage medium of claim 11, wherein the application includes a word processing program.
  • 13. The computer-readable storage medium of claim 11, wherein each of the document parts includes one of: a preformatted structural element; anda layout.
  • 14. The computer-readable storage medium of claim 13, wherein each of the preformatted structural elements includes: a cover page;a mathematical equation;an index;a table:a page header;a page footer;personal contact information;an image;a textbox; anda watermark.
  • 15. The computer-readable storage medium of claim 11, further comprising receiving and responding to an insert options call for setting insertion options for inserting the specified document part in the electronic document.
  • 16. A computer-readable storage medium storing instructions for inserting documents parts into an electronic document, comprising instructions to: expose a document part interface to a user of an application program configured to create and edit the electronic document;present within the document part interface a document parts collection comprising a plurality of document parts, the plurality of document parts comprising user created document parts and user modified document parts representing document parts from a combination of other document parts collections, the document parts collection further including: a preformatted structural element, including: a cover page;a mathematical equation;an index;a table;a page header;a page footer;an image;a textbox;a watermark; anda layout; andallow the user to specify a document part to be inserted in the electronic document, wherein the specified document part comprises an object in an object model which corresponds to a document part from the document parts collection, wherein the object model is utilized to programmatically automate user repetitive tasks and validate user actions, wherein the object includes a template/document object, wherein the template/document object comprises a template object tree and a document object tree which is independent from the template object tree, wherein each of the template object and document object trees comprises a plurality of hierarchical child objects, the hierarchical child objects comprising a types object and a document part object, wherein the types object is associated with a plurality of document part types including issues, cover pages, headers, footers, and watermarks, wherein the document part object comprises an ID property and a Name property, wherein the ID property returns a unique identification for the document part, wherein the unique identification is generated dynamically each time a document part type is at least one of created and changed, wherein the Name property comprises a read-only string representing the name of the specified document part, wherein the hierarchical child objects are utilized to programmatically manage stored document parts and track and manipulate document parts inserted in the electronic document; andallow the user to specify insertion options for inserting the specified document part, wherein specifying insertion options comprises receiving a call from a property to return an object to set the insertion options, the insertion options comprising pages only to be inserted into the specified document part; andallow the user to specify a range parameter to highlight content in the electronic document to be stored in a document part object to be added to the document parts collection.
  • 17. The computer-readable storage medium of claim 16, wherein the application includes a word processing program.
  • 18. The computer-readable storage medium of claim 16, wherein the document part interface is invoked from within the application.
  • 19. The computer-readable storage medium of claim 16, further comprising instructions to: present the document parts in one or more categories of document parts; andallow the user to one of: add to or delete from the categories of document parts;add to or delete from the document parts within the one or more categories.
CROSS-REFERENCE TO RELATED APPLICATIONS

This patent application is a continuation-in-part application of U.S. patent application Ser. No. 10/955,622 filed Sep. 30, 2004, now U.S. Pat. No. 7,617,450 entitled “Method, System, And Computer-Readable Medium For Creating, Inserting, And Reusing Complex Document Parts In An Electronic Document,” the disclosure of which is expressly incorporated herein, in its entirety, by reference.

US Referenced Citations (285)
Number Name Date Kind
4410286 Ko et al. Oct 1983 A
4594674 Boulia et al. Jun 1986 A
4649513 Martin et al. Mar 1987 A
4870611 Martin et al. Sep 1989 A
5222205 Larson et al. Jun 1993 A
5267155 Buchanan et al. Nov 1993 A
5469533 Dennis Nov 1995 A
5487138 Rust et al. Jan 1996 A
5537526 Anderson et al. Jul 1996 A
5579466 Habib et al. Nov 1996 A
5579519 Pelletier Nov 1996 A
5613124 Atkinson et al. Mar 1997 A
5655130 Dodge et al. Aug 1997 A
5675788 Husick et al. Oct 1997 A
5701342 Anderson et al. Dec 1997 A
5745910 Piersol et al. Apr 1998 A
5752055 Redpath et al. May 1998 A
5752056 Celik May 1998 A
5819295 Nakagawa et al. Oct 1998 A
5845058 Shaw et al. Dec 1998 A
5893109 DeRose et al. Apr 1999 A
5903903 Kennedy May 1999 A
5903905 Andersen et al. May 1999 A
5905504 Barkans et al. May 1999 A
5911776 Guck Jun 1999 A
5950215 Tabuchi Sep 1999 A
5960168 Shaw et al. Sep 1999 A
5993088 Nogay et al. Nov 1999 A
6023714 Hill et al. Feb 2000 A
6026416 Kanerva et al. Feb 2000 A
6067531 Hoyt et al. May 2000 A
6094665 Lyons et al. Jul 2000 A
6134552 Fritz et al. Oct 2000 A
6144974 Gartland Nov 2000 A
6175845 Smith et al. Jan 2001 B1
6182080 Clements Jan 2001 B1
6182096 Mastie et al. Jan 2001 B1
6199082 Ferrel et al. Mar 2001 B1
6212530 Kadlec Apr 2001 B1
6247018 Rheaume Jun 2001 B1
6247066 Tanaka Jun 2001 B1
6269403 Anders et al. Jul 2001 B1
6342904 Vasudevan et al. Jan 2002 B1
6362870 Mui et al. Mar 2002 B2
6393441 Kanerva et al. May 2002 B1
6407821 Hohensee et al. Jun 2002 B1
6418448 Sarkar Jul 2002 B1
6449653 Klemets et al. Sep 2002 B2
6457017 Watkins et al. Sep 2002 B2
6480206 Prinzing Nov 2002 B2
6484189 Gerlach et al. Nov 2002 B1
6496206 Mernyk et al. Dec 2002 B1
6507858 Kanerva et al. Jan 2003 B1
6509974 Hansen Jan 2003 B1
6538760 deBry et al. Mar 2003 B1
6549918 Probert, Jr. et al. Apr 2003 B1
6583789 Carlson et al. Jun 2003 B1
6591278 Ernst Jul 2003 B1
6604144 Anders Aug 2003 B1
6608693 Loyd et al. Aug 2003 B1
6609200 Anderson et al. Aug 2003 B2
6654737 Nunez Nov 2003 B1
6657647 Bright Dec 2003 B1
6658477 Lisitsa et al. Dec 2003 B1
6674540 Wiechers et al. Jan 2004 B1
6675353 Friedman Jan 2004 B1
6675356 Adler et al. Jan 2004 B1
6681223 Sundaresan Jan 2004 B1
6694485 Kelley et al. Feb 2004 B1
6715126 Chang et al. Mar 2004 B1
6763343 Brooke et al. Jul 2004 B1
6771291 DiStefano, III Aug 2004 B1
6781609 Barker et al. Aug 2004 B1
6785673 Fernandez Aug 2004 B1
6789229 Dunietz et al. Sep 2004 B1
6812941 Brown et al. Nov 2004 B1
6871321 Wakayama Mar 2005 B2
6910843 Saw et al. Jun 2005 B2
6912555 Lemon et al. Jun 2005 B2
6918082 Gross et al. Jul 2005 B1
6925597 Anwar Aug 2005 B2
6925631 Golden Aug 2005 B2
6931590 Kanie et al. Aug 2005 B2
6938203 Dimarco et al. Aug 2005 B1
6941510 Ozzie et al. Sep 2005 B1
6952801 Warmus et al. Oct 2005 B2
6961902 Anecki et al. Nov 2005 B2
6981207 Bakman et al. Dec 2005 B1
6993527 Raman et al. Jan 2006 B1
7036076 Anwar Apr 2006 B2
7051276 Mogilevsky et al. May 2006 B1
7054841 Tenorio May 2006 B1
7080083 Kim et al. Jul 2006 B2
7134071 Ohwada et al. Nov 2006 B2
7168035 Bell et al. Jan 2007 B1
7171618 Harrington et al. Jan 2007 B2
7290205 Monocsko et al. Oct 2007 B2
7301544 Yuan Nov 2007 B2
7412649 Emek et al. Aug 2008 B2
7418652 Ornstein et al. Aug 2008 B2
7487448 Emerson et al. Feb 2009 B2
7549118 Shur et al. Jun 2009 B2
20010003828 Peterson et al. Jun 2001 A1
20010013043 Wagner Aug 2001 A1
20010016842 Umen et al. Aug 2001 A1
20010018697 Kunitake et al. Aug 2001 A1
20010034739 Anecki et al. Oct 2001 A1
20010039552 Killi et al. Nov 2001 A1
20010044809 Parasnis et al. Nov 2001 A1
20010044813 Frank Nov 2001 A1
20010051962 Piotkin Dec 2001 A1
20010054042 Watkins et al. Dec 2001 A1
20020004805 Nojima et al. Jan 2002 A1
20020016800 Spivak et al. Feb 2002 A1
20020038348 Malone et al. Mar 2002 A1
20020049790 Ricker et al. Apr 2002 A1
20020059265 Valorose May 2002 A1
20020059337 Takaoka et al. May 2002 A1
20020065848 Walker et al. May 2002 A1
20020065857 Michalewicz May 2002 A1
20021005933 Takaoka et al. May 2002
20020073236 Helgeson et al. Jun 2002 A1
20020087602 Masuda et al. Jul 2002 A1
20020099797 Merrell et al. Jul 2002 A1
20020103835 Kearney Aug 2002 A1
20020107886 Gentner et al. Aug 2002 A1
20020111133 Wittkotter Aug 2002 A1
20020116416 Tesch et al. Aug 2002 A1
20020116421 Fox et al. Aug 2002 A1
20020120647 Amano Aug 2002 A1
20020129058 Story et al. Sep 2002 A1
20020174145 Duga et al. Nov 2002 A1
20020184263 Perinet et al. Dec 2002 A1
20020188638 Hamscher Dec 2002 A1
20020194220 Sluiman Dec 2002 A1
20030004957 Broman et al. Jan 2003 A1
20030023637 Halahmi Jan 2003 A1
20030028560 Kudrolli et al. Feb 2003 A1
20030033287 Shanahan et al. Feb 2003 A1
20030046317 Cseri et al. Mar 2003 A1
20030065946 Holliday et al. Apr 2003 A1
20030074633 Boulmakoul et al. Apr 2003 A1
20030079181 Schumacher et al. Apr 2003 A1
20030093520 Beesley May 2003 A1
20030115547 Ohwada et al. Jun 2003 A1
20030120671 Kim et al. Jun 2003 A1
20030126136 Omoigui Jul 2003 A1
20030126260 Husain et al. Jul 2003 A1
20030137539 Dees Jul 2003 A1
20030137691 Tanaka Jul 2003 A1
20030142128 Reulein et al. Jul 2003 A1
20030145134 Wehage et al. Jul 2003 A1
20030149934 Worden Aug 2003 A1
20030149935 Takizawa et al. Aug 2003 A1
20030158851 Britton et al. Aug 2003 A1
20030163552 Savitzky et al. Aug 2003 A1
20030167446 Thomas Sep 2003 A1
20030172168 Mak et al. Sep 2003 A1
20030172343 Leymaster et al. Sep 2003 A1
20030177446 Gropper et al. Sep 2003 A1
20030177449 Rose Sep 2003 A1
20030182450 Ong et al. Sep 2003 A1
20030182656 Leathers et al. Sep 2003 A1
20030195784 Smith Oct 2003 A1
20030196176 Abu-Ghazalah et al. Oct 2003 A1
20030221167 Goldstein et al. Nov 2003 A1
20030222890 Salesin et al. Dec 2003 A1
20030229845 Salesin et al. Dec 2003 A1
20030233420 Stark et al. Dec 2003 A1
20030237048 Jones et al. Dec 2003 A1
20030237049 Sawicki et al. Dec 2003 A1
20040002937 Jones et al. Jan 2004 A1
20040003343 Liao et al. Jan 2004 A1
20040003388 Jacquemot et al. Jan 2004 A1
20040003389 Reynar et al. Jan 2004 A1
20040015782 Day et al. Jan 2004 A1
20040015890 Wong et al. Jan 2004 A1
20040015908 Giel et al. Jan 2004 A1
20040019853 Takizawa et al. Jan 2004 A1
20040030711 Roudot Feb 2004 A1
20040030987 Manelli Feb 2004 A1
20040034848 Moore et al. Feb 2004 A1
20040049737 Simon et al. Mar 2004 A1
20040054669 Seyrat et al. Mar 2004 A1
20040054967 Brandenberger Mar 2004 A1
20040066527 Kloosterman et al. Apr 2004 A1
20040078755 Shinjo et al. Apr 2004 A1
20040088332 Lee et al. May 2004 A1
20040103073 Blake et al. May 2004 A1
20040117733 Moreau et al. Jun 2004 A1
20040128535 Cheng Jul 2004 A1
20040128623 Hudson Jul 2004 A1
20040139049 Hancock et al. Jul 2004 A1
20040148278 Milo et al. Jul 2004 A1
20040148567 Jeon et al. Jul 2004 A1
20040153467 Conover et al. Aug 2004 A1
20040172584 Jones et al. Sep 2004 A1
20040172592 Collie et al. Sep 2004 A1
20040181753 Michaelides Sep 2004 A1
20040183837 Watanabe et al. Sep 2004 A1
20040194025 Hubert et al. Sep 2004 A1
20040205470 Jones et al. Oct 2004 A1
20040205533 Lopata et al. Oct 2004 A1
20040205539 Mak et al. Oct 2004 A1
20040205580 De Angelis et al. Oct 2004 A1
20040205623 Weil et al. Oct 2004 A1
20040205653 Hadfield et al. Oct 2004 A1
20040205656 Reulein et al. Oct 2004 A1
20040210818 Jones et al. Oct 2004 A1
20040216048 Brown et al. Oct 2004 A1
20040221233 Thielen Nov 2004 A1
20040225957 Egilsson Nov 2004 A1
20040226012 Awada et al. Nov 2004 A1
20040230894 Elza et al. Nov 2004 A1
20040243551 Boone et al. Dec 2004 A1
20040267553 Brunton Dec 2004 A1
20040268304 Kuo et al. Dec 2004 A1
20050005233 Kays et al. Jan 2005 A1
20050022113 Hanlon Jan 2005 A1
20050063010 Giannetti Mar 2005 A1
20050066335 Aarts Mar 2005 A1
20050071385 Rao Mar 2005 A1
20050071755 Harrington et al. Mar 2005 A1
20050091574 Maaniitty et al. Apr 2005 A1
20050091575 Relyea et al. Apr 2005 A1
20050099398 Garside et al. May 2005 A1
20050105116 Kobashi May 2005 A1
20050108001 Aarskog May 2005 A1
20050108212 Karimisetty et al. May 2005 A1
20050108278 Jones et al. May 2005 A1
20050120061 Kraft Jun 2005 A1
20050125720 Little et al. Jun 2005 A1
20050125728 Peiro et al. Jun 2005 A1
20050132279 Relyea et al. Jun 2005 A1
20050144556 Petersen et al. Jun 2005 A1
20050149861 Bishop et al. Jul 2005 A1
20050177784 Andrews et al. Aug 2005 A1
20050192813 Richard Sep 2005 A1
20050198561 McAuley Sep 2005 A1
20050204016 McAuley Sep 2005 A1
20050210026 Wood Sep 2005 A1
20050223312 Erdtmann et al. Oct 2005 A1
20050246724 Foehr et al. Nov 2005 A1
20050248790 Ornstein et al. Nov 2005 A1
20050249536 Sedky et al. Nov 2005 A1
20050251739 Shur et al. Nov 2005 A1
20050251740 Shur et al. Nov 2005 A1
20050251742 Mogilevsky et al. Nov 2005 A1
20050268221 Shur et al. Dec 2005 A1
20050278616 Eller Dec 2005 A1
20050278626 Malik Dec 2005 A1
20060010371 Shur et al. Jan 2006 A1
20060025091 Buford Feb 2006 A1
20060026585 Haselden et al. Feb 2006 A1
20060031749 Schramm et al. Feb 2006 A1
20060031758 Shur et al. Feb 2006 A1
20060041838 Khan Feb 2006 A1
20060047743 Yuan et al. Mar 2006 A1
20060056334 Yuan et al. Mar 2006 A1
20060069983 Bailey et al. Mar 2006 A1
20060075337 Jones et al. Apr 2006 A1
20060080314 Hubert et al. Apr 2006 A1
20060080316 Gilmore et al. Apr 2006 A1
20060080603 Bailey et al. Apr 2006 A1
20060095834 Jeon et al. May 2006 A1
20060117019 Sylthe et al. Jun 2006 A1
20060136433 Rothschiller et al. Jun 2006 A1
20060136477 Bishop et al. Jun 2006 A1
20060136553 Villaron et al. Jun 2006 A1
20060136809 Fernstrom Jun 2006 A1
20060136812 Jones et al. Jun 2006 A1
20060136816 Jones et al. Jun 2006 A1
20060136827 Villaron et al. Jun 2006 A1
20060155529 Ludviksson et al. Jul 2006 A1
20060168562 Emek et al. Jul 2006 A1
20060190815 Jones et al. Aug 2006 A1
20060206794 Ornstein et al. Sep 2006 A1
20060227150 Yuan Oct 2006 A1
20060259854 Walker et al. Nov 2006 A1
20060271574 Villaron et al. Nov 2006 A1
20060277452 Villaron et al. Dec 2006 A1
20070022128 Rothschiller et al. Jan 2007 A1
20070061384 Harrington et al. Mar 2007 A1
20070136443 Sah et al. Jun 2007 A1
20070136662 Khaba Jun 2007 A1
Foreign Referenced Citations (15)
Number Date Country
1 376 387 Jan 2004 EP
1 452 966 Nov 2004 EP
1 672 543 Nov 2005 EP
1 672 528 Dec 2005 EP
2003288334 Oct 2003 JP
20030048630 Jun 2003 KR
2202825 Apr 2003 RU
WO 9901802 Jan 1999 WO
WO 0144932 Jun 2001 WO
WO 0180044 Oct 2001 WO
WO 0221339 Mar 2002 WO
WO 03009517 Jan 2003 WO
WO 03021537 Mar 2003 WO
WO 2006133053 Dec 2006 WO
200509350 Apr 2008 ZA
Related Publications (1)
Number Date Country
20060080603 A1 Apr 2006 US
Continuation in Parts (1)
Number Date Country
Parent 10955622 Sep 2004 US
Child 11072188 US