Method and apparatus for utilizing an object model to manage document parts for use in an electronic document
First Claim
Patent Images
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; and
a 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; and
allowing 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 Assignments
0 Petitions
Accused Products
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.
290 Citations
19 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; and a 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; and allowing 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
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; and a 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; and allow 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; and allow 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. - View Dependent Claims (12, 13, 14, 15)
-
-
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; and a layout; and allow 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; and allow 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; and allow 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. - View Dependent Claims (17, 18, 19)
-
Specification