摘要:
A word processor including a native XML file format is provided. The well formed XML file fully represents the word-processor document, and fully supports 100% of word-processor's rich formatting. There are no feature losses when saving the word-processor documents as XML. A published XSD file defines all the rules behind the word-processor's XML file format. Hints may be provided within the XML associated files providing applications that understand XML a shortcut to understanding some of the features provided by the word-processor. The word-processing document is stored in a single XML file. Additionally, manipulation of word-processing documents may be done on computing devices that do not include the word-processor itself.
摘要:
A word-processor that provides a freestyle-editing environment for editing an XML document while monitoring the XML document for well-formedness. The word processor monitors the XML document to determine if the XML document is well-formed and to automatically correct the XML document to maintain well-formedness.
摘要:
A system and method for enabling validation of an extensible markup language (XML) document having elements associated with two or more schemata where elements of each schema may be arbitrarily nested within elements from the other schema and each set of elements remains valid within it's own schema. Elements of the second schema are transparent to the elements of the first schema when the word-processor validates the elements of the first schema. The elements of the second schema are separately validated, such that the elements of the first schema are transparent for the validation of the elements corresponding to the second schema.
摘要:
A method and computer-readable medium are provided for interacting with a portion of an electronic document. According to the method, a UI control is displayed that includes a border surrounding the portion of the electronic document and one or more UI items that allow actions to be performed on the portion of the electronic document. The UI control may be displayed continually or displayed when user input is received within the portion of the electronic document. The border of the UI control may form a bounded region that is displayed transparently over the display of the portion of the electronic document. The transparency of the bounded region may be increased gradually when user input is received in the portion of the electronic document and removed gradually when user input is subsequently received outside the portion. A selectable region may be provided within the UI control for selecting and moving the portion of the electronic document to another location within the document.
摘要:
A method and computer-readable medium are provided for interacting with a portion of an electronic document. According to the method, a UI control is displayed that includes a border surrounding the portion of the electronic document and one or more UI items that allow actions to be performed on the portion of the electronic document. The UI control may be displayed continually or displayed when user input is received within the portion of the electronic document. The border of the UI control may form a bounded region that is displayed transparently over the display of the portion of the electronic document. The transparency of the bounded region may be increased gradually when user input is received in the portion of the electronic document and removed gradually when user input is subsequently received outside the portion. A selectable region may be provided within the UI control for selecting and moving the portion of the electronic document to another location within the document.
摘要:
Methods and systems are provided for mapping and linking elements in a document to corresponding fields or queries in a database. A document is annotated with structural elements of a markup language, such as Extensible Markup Language (XML), in order to map portions of the document to the corresponding database. Once individual elements within the document are mapped and linked to corresponding data fields or queries within a selected database, changes made to individual elements within the document automatically cause updates to corresponding data in the database to which those elements are mapped and linked. Conversely, changes made to individual data fields within the selected database automatically update corresponding elements within the document.
摘要:
A method and apparatus for protecting regions of an electronic document are provided. According to the method, the entire electronic document is protected. The selection of a region within the electronic document is received along with identity of one or more users authorized to freely edit the selected region. The identified users are authorized to freely edit only the selected region of the electronic document. A request is then received to edit a region of the electronic document from a current user. In response to the request, a determination is made as to whether the current user is authorized to edit the region. If the user is not authorized to edit the region, the request is denied.
摘要:
A method and apparatus for protecting regions of an electronic document are provided. According to the method, the entire electronic document is protected. The selection of a region within the electronic document is received along with identity of one or more users authorized to freely edit the selected region. The identified users are authorized to freely edit only the selected region of the electronic document. A request is then received to edit a region of the electronic document from a current user. In response to the request, a determination is made as to whether the current user is authorized to edit the region. If the user is not authorized to edit the region, the request is denied.
摘要:
A method and apparatus are provided for merging two electronic documents, one or both of which contain markup language. The source document and the destination document are compared to identify the matching blocks and the difference blocks. Each of the matching blocks containing a markup language tag for which only a start tag or an end tag has been matched are identified. The identified blocks are then split so that the matched markup language tags are no longer matched. All matching blocks are also split that contain a markup language tag for which either the start tag or the end tag has been matched to a different tag in the other document. Any matching blocks containing markup language tags that would create overlapping tags when merged are then split. The matching and difference blocks are then merged into a merged document in an order that ensures that all markup language tags contained in the merged document are well formed.
摘要:
A method, system, and computer-readable medium are provided for creating, inserting, and reusing document parts in an electronic document. According to a system, a word processing application program receives a selection of a document part category. In response to the selection of the document part category, a gallery of document parts is displayed in a user interface. A selection of a document part from the gallery is received and inserted in the electronic document without the need for additional formatting. The gallery of document parts defines a page layout for the electronic document. Document parts may be created within the user interface by modifying pre-built document parts.