摘要:
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 are provided for restricting the application of formatting to the contents of an electronic document. According to the method, a request may be received to perform a formatting operation on a portion of the contents of an electronic document. In response to the request, a determination is made as to whether the requested operation should be permitted. If the requested operation is a direct formatting operation, the request may be denied. If the request operation is the application of a style to a portion of the electronic document, the request may be granted if the style is permitted to be applied to the contents of the electronic 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 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.
摘要:
A method and apparatus are provided for utilizing a document object model to manage content regions for use in an electronic document. A content region is a predefined area which may be inserted in an electronic document and which serves as a placeholder for receiving and displaying specific types of content such as text, graphics data, calendar data, or tabular data. The document object model enables a user to create, modify, and delete content regions from an electronic document using an application programming interface from within a computer application program.
摘要:
A data store is provided for storing, relating and for allowing use of data associated with a computer-generated document. Data for structuring information associated with a document, such as document metadata, is maintained in the data store where relationships between different pieces of data are maintained in a location distinct from the surface level view of a document. The data store exposes interfaces to the various pieces of data in the data store for allowing different applications to access and operate on one or more of the data pieces. The pieces of data may be structured according to a markup language such as the Extensible Markup Language (XML), and XML schemas may be associated with each piece of data for allowing the data store to validate the structure applied to the data based on an XML schema associated with a given piece of data.