Modern word processors enable a user to readily create and insert various types of content (e.g., text, pictures, etc.) in an electronic document. In addition, modern word processors enable a user to conform individual types of content to a variety of formats. For example, text may be inserted in a document in paragraph form or as word fragments with different individual formatting properties (e.g., bold, italic, underline, font color, font size) or with no formatting at all. The freeform entry of content allowed by modern word processors, however, suffers from several drawbacks.
One drawback associated with content entry with many modern word processors is that it is often difficult for a user to readily insert, identify, and manipulate regions of the document or template which require different types of content (e.g., a specific fragment of text or a picture) in a document without either manually typing the content in or scanning another document, finding and manually selecting the location for the desired content, and then creating or moving the desired content from another location in the document to the desired location. Even if a predefined set of document fragments (i.e., content blobs) are available for insertion into the document, the document cannot express which pieces of content are valid in any specific location, other than by including static informational text which the user must read, understand, and voluntarily adhere to. Since conventional word processors do not label the locations where the different types of content (predefined or not) may be inserted in an electronic document, they do not permit a user to quickly identify the locations of interest for the insertion of specific content.
It is with respect to these considerations and others that the various embodiments of the present invention have been made.
In accordance with the present invention, the above and other problems are solved by a providing an extensible markup language (“XML”) schema and a method for utilizing the schema, for defining a content region which displays specific types of content in an electronic document created in a word processing application program. According to one aspect of the invention, the schema comprises structural elements for defining the content region in the electronic document. The structural elements include a properties element for defining properties associated with the content to be displayed in the content region and a content element for receiving the content to be displayed according to the defined properties. The properties element and the content element define the content region in the electronic document.
In the schema, the properties element can include: a first property for defining a title associated with the content region, a second property for restricting or locking the content inserted in the content region, a third property for defining placeholder or insertion text to be associated with the content region, and a fourth property for defining the validity of a blank content region. The properties element also includes a set of mutually exclusive properties defining the allowable contents within the content region consisting of: a first property for defining the content region to display and receive content associated with a date, a second property for defining the content region to display and receive content associated with a picture, a third property for defining the content region to display and receive content associated with a dropdown list, a fourth property for defining the content region to display and receive content associated with a table, a fifth property for defining the content region to display and receive content associated with a document part, a sixth property for defining the content region to display and receive content associated with rich text, a seventh property for defining the content region to display and receive content associated with text comprising a single paragraph, and an eighth property for defining the content region to display and receive a plurality of content types. The properties element also includes a formatting attribute for defining a format of the above-described properties in the electronic document.
In the schema, the content element includes elements for receiving content in the content region in the electronic document. These elements can include any combination of: a paragraph element for receiving a paragraph of text in the electronic document, a run element for receiving a region of text, the region of text comprising a contiguous run of characters with identical formatting, a table element for receiving a table, a table row element for receiving a row of table cells, and a table cell element for receiving a single table cell.
According to another aspect of the invention, a method is provided for utilizing the structural elements in the schema to define a content region for displaying content in the electronic document. The method includes defining a properties element for receiving a properties associated with the content to be displayed and defining a content element for receiving the content to be displayed according to the defined properties.
In defining the properties element, the method includes assigning a name value for a label to be associated with the content region in a first property in the properties element, assigning a locking or restriction value for setting restrictions for content inserted in the content region in a second property in the properties element, inserting text for a placeholder to be associated with the content region in a third property in the properties element, and assigning a validity value for setting the validity of a blank content region in a fourth property in the properties element. The method further includes selecting a mutually exclusive property defining the type of content to be displayed in the content region.
The mutually exclusive properties include a first property for defining the content region to display and receive content associated with a date, a second property for defining the content region to display and receive content associated with a picture, a third property for defining the content region to display and receive content associated with a dropdown list, a fourth property for defining the content region to display and receive content associated with a table, a fifth property for defining the content region to display and receive content associated with a document part, a sixth property for defining the content region to display and receive content associated with rich text, a seventh property for defining the content region to display and receive content associated with text comprising a single paragraph, and an eighth property for defining the content region to display and receive a plurality of content types. In defining a content element for receiving the content to be displayed according to the defined properties, the method includes inserting a paragraph element for receiving a paragraph of text, inserting a run element for receiving a region of text, the region of text comprising a contiguous run of characters with identical formatting, inserting a table element for receiving a table, inserting a table row element for receiving a row of table cells, and inserting a table cell element for receiving a single table cell. The paragraph element, the run element, the table element, the table row element, and the table cell element may be inserted in any order.
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.
Referring now to the drawings, in which like numerals represent like elements, various aspects of the present invention will be described. In particular,
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
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
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 40. As known to those skilled in the art, the word processing application program 40 is operative to provide functionality for creating and editing electronic documents, such as document 48. According to one embodiment of the invention, the word processing application program 40 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 38 which are capable of processing various forms of content (e.g. text or pictures), such as spreadsheet application programs.
In conjunction with the editing of a word processing document, the word processing application program 40 provides functionality for allowing a user to insert specific types of content into various locations in the document 42, called “content regions.” For instance, according to embodiments of the invention, a user may utilize an interactive content pane generated by the word processing application program 40 which includes a content region and serves as a placeholder for inserting text such as a paragraph for the “Objective” section of a resume in the document 42. A user may utilize other interactive content panes generated by the word processing application program 40 for inserting text (which may be arbitrarily restricted by the document's author), a date 30, a table 32, or graphics data 34 (i.e., pictures) into content regions. Alternatively, a user may also define customized content as one of a set of “document parts” which may be inserted into the content region of an interactive content pane. As defined herein, document parts are preformatted structural elements or layouts which add structure to documents. Document parts may include 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, tables, and watermarks. Document parts are described in greater detail in U.S. patent application Ser. No. 10/955,622, entitled “Method, System, And Computer-Readable Medium For Creating, Inserting, And Reusing Document Parts In An Electronic Document,” the disclosure of which is incorporated herein, in its entirety, by reference.
It should be appreciated that the word processing application program 40 may utilize interactive content panes to restrict the specific types of content which may be entered into the document 42. According to various embodiments of the invention, the word processing application program 40 is also operative for generating interactive content panes which serve as bindings between areas of the document 42 and an external data source, such as Extensible Markup Language (“XML”) data 36. According to still other embodiments of the invention, the word processing application program 40 (or other text processing application program) may utilize an XML schema comprising structural elements for defining a content region for displaying content in the document 42.
As is understood by those skilled in the art, XML is a standard format for communicating data. In the XML data format, a schema is used to provide XML data with a set of grammatical and data type rules governing the types and structure of data that may be communicated. It will be appreciated that the schema utilized in the illustrative embodiments of the invention described herein may be correspond to a specified portion of the Wordprocessing ML (“WordML”) format developed by MICROSOFT CORPORATION. WordML is an XML schema for all of the possible contents of a word processing document saved by the WORD application program. A simple WordML document consists of five elements and a single namespace. The five elements are:
Referring now to
As shown in
The selection region 54 is a user interface for selecting specific types of content from similar content, for display in the content region 50. For instance, a selection region in an interactive content pane for inserting calendar data may include a user interface for selecting a date from a calendar for insertion in a document. The selection region 54 may also display a user with choices from a list of predefined items in a dropdown list, for example. It will be appreciated that in one illustrative embodiment, the user interface in the selection region 54 may automatically be generated when a user clicks in the content region of certain types of interactive content regions. For instance, a user clicking into an interactive content region defined for inserting calendar data may automatically generate a calendar user interface for a user to select a specific date.
The label 56 identifies the specific type of content (e.g., dates) which may be entered into the content region 50. The handle 58 is utilized to “drag” the interactive content region 48 to different areas of a displayed document. The notification region 59 is utilized to communicate messages to a user. It should be understood that the word processing application program 40 includes functionality for validating specific content entered into the content region 50. Thus, the notification region 59 may communicate error messages when content received in the content region does not correspond to the specific type of content for an interactive content pane or when the specific type of content received in the content region exceeds a predefined content restriction (e.g., the number of lines or characters in a paragraph).
Referring now to
The alias element 304 is utilized to provide a name to be displayed in the label 56 associated with a content region in an interactive content pane. The invalidIfBlank element 306 is utilized to specify whether an empty content region should be considered invalid for a content region. The invalidIfBlank element 306 may include the attribute values “On” or “Off” with the On value corresponding to an empty content region being specified as invalid. The lock element 308 is utilized to specify a locking state of a content region. In particular, the lock element 308 may set content in a content region to be undeletable and/or uneditable. The lock element 308 may include the attribute values “locked-content-block” (i.e., the content region is undeletable), “locked-text” (i.e., the content block is uneditable), “locked-content-block-and-text” (i.e., the content block is undeletable and uneditable), and “no-locking.” The placeholder element 310 is utilized to specify instructional text for a content region such as “Insert your photo here.” The dataBinding element 312 contains properties for binding data to a content region. This element is described in greater detail in co-pending U.S. patent application Ser. No. ______ entitled “XML Schema For Binding Data,” bearing attorney docket number 14917.0062USI1/MS310654.01 which is expressly incorporated herein, in its entirety, by reference.
The properties element 302 also includes a number of mutually exclusive child elements for defining properties associated with a content region. The properties are mutually exclusive in that only one of them may be defined for a particular content region. The mutually exclusive child elements include a comboBox element 314, a date element 316, a docPartList (i.e., “document part list”) element 318, a dropDownList element 320, a picture element 322, a richText element 324, a table element 326, and a text element 328.
The comboBox element 329 is utilized to specify that a content region may contain multiple content types (e.g., a picture and rich text). The date element 316 is utilized to specify that a content region must contain a date. The date element 316 includes a formatting attribute which allows the user to select a format in which the date is displayed in a content region (e.g., Year/Month/Day or Month/Day/Year). The docPartList element 318 is utilized to specify that a content region must contain a document part list (e.g., categories of document parts such as cover pages, header, footers, etc.). The dropDownList element 320 is utilized to specify that a content region must contain a “dropdown list.” The dropDownList element 320 may include the child element ListItem which contains the definition for a single entry in the dropdown list.
The ListItem element may contain the following attributes:
The picture element 322 is utilized to specify that a content region must contain a picture or graphic. The picture element 322 may include the child element PictureStorage for specifying the storage location of the picture to be displayed in the content region. The PictureStorage element includes the attributes linked-to-file and embedded-in-file which specify the storage format for the picture. It should be understood that the linked-to-file attribute specifies that the content region may contain an internal link referencing a picture file within the document itself or on a computer system while the embedded-in-file attribute specifies an object representing the picture which is embedded directly within the content region in an encoded format. The richText element 324 is utilized to specify that a content region must contain multiple paragraphs or “rich text” (i.e., text formatted to include features such as fonts and margins. The table element 326 is utilized to specify that a content region must contain a table (i.e., at least one row or column of cells). The text element 328 is utilized to specify that a content region must contain a single paragraph of text.
The schema 300 also includes a Content element 330 for defining properties of content which may be received in a content region. The Content element 330 may include a number of child elements. For instance, the Content element 330 may include a Run element 332 which specifies content comprising a contiguous run of characters with identical formatting. Other child elements within the Content element 330 may include a paragraph element which specifies a paragraph, a table element which specifies a table, a table row element which specifies a table row, and a table cell element which specifies single table cell. It will be appreciated that the paragraph element, the run element, the table element, the table row element, and the table cell element may be inserted in any order.
Referring now to
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
Referring now to
The routine 400 continues from operation 410 at operation 415, wherein the placeholder element 310 receives insertion text for a content region. In particular, a user may insert a text string within the placeholder element 310 to provide information on a document part which contains the placeholder text. For instance, in a resume the insertion text may read “Insert Objective here.” The routine 400 continues from operation 415 at operation 420 wherein the InvalidifBlank element 306 receives a value indicating whether an empty content region should be considered invalid. In particular, a user may set the InvalidifBlank element to “On” to prevent empty content regions in an electronic document. For instance, for a content region set to invalid if blank, a user navigating outside of a blank content region in an electronic document may cause the generation of an error message in a notification region (such the notification region 59 of
The routine 400 continues from operation 420 at operation 425 wherein a content type is selected in the schema for the content region. In particular, a user may select one of the mutually exclusive property elements 314 through 328 to define a content region to receive a specific type of content (e.g., a date or a picture). The routine 400 continues from operation 425 at operation 430 wherein the Content element 330 is defined for receiving content for display in a content region. In particular, a user may insert in the Content element 430 a paragraph element for receiving a paragraph of text, a run element for receiving a run of characters, or one or more table elements for receiving table data. The routine 400 then ends.
Turning now to
Turning now to
Based on the foregoing, it should be appreciated that the various embodiments of the invention include an XML schema and a method for utilizing the schema, for defining a content region which displays specific types of content in an electronic document created in a word processing application program. 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.
This patent application is a continuation-in-part application of U.S. patent application Ser. No. 10/955,612 entitled “Method, System, And Computer-Readable Medium For Managing Specific Types of Content In An Electronic Document,” the disclosure of which is expressly incorporated herein, in its entirety, by reference. This patent application is also related to and filed concurrently with U.S. patent application Ser. No. ______, entitled “XML Schema For Binding Data,” bearing attorney docket number 14917.0062USI1/MS310654.01 which is assigned to the same assignee as the present application and expressly incorporated herein, in its entirety, by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 11066058 | Feb 2005 | US |
Child | 14797274 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10955612 | Sep 2004 | US |
Child | 11066058 | US |