摘要:
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 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.
摘要:
An XML schema is provided allowing data to be stored in a separate location from the presentation surface of an application. By way of the schema, users of the application can establish links (or bindings) between the contents of the data and the presentation surface as part of an XML document format. Methods, systems, and computer-readable medium are described implementing the schema.
摘要:
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.
摘要:
An extensible markup language (“XML”) schema is provided for defining a content region which displays specific types of content in an electronic document created in a word processing application program. The schema includes 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.
摘要:
One or more data stores are maintained separately from a primary presentation storage within a document for storing, relating and for allowing use of arbitrary data that is associated with a computer-generated document between multiple data consumers. The data store exposes application programming interfaces (APIs) to the various pieces of data in the data store for allowing different data consumers to access and operate on one or more of the data pieces in real time. Multiple data consumers may access and edit the same piece of data concurrently, and any conflicting changes to a given piece of data are resolved. Each data consumer may accept or reject the change as well as make additional side-effect changes as a result of the original change. In this way, the data may be synchronized in real time across the data consumers.
摘要:
An object model allows code to be developed using a programming environment to access the functionality of an application, in a word processing application, for example. The object model may be used to manipulate one or more data bindings in an application. Code may also be developed using a programming environment for reacting to changes, in either direction, of a content region or a node in XML data associated with one or more data bindings. Code may be developed to define data bindings between file content and content within data in a data store. Additionally, code may be developed that reacts to changes within a bound region of a file or within a data store, trapping or intercepting events, such as edits, additions, deletions, etc.
摘要:
A programmability mode for interacting with data stores within a document allows real time interaction. 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.
摘要:
A word processor application is provided for creating word processor documents wherein the data and presentation can be separated. Data can be stored in a separate location from the presentation surface of the word processor document. Users of the word processor application can establish links (or bindings) between the contents of the data and the presentation surface. A user can modify contents of a word processor document by directly changing the linked data without having to deal with the complexity of the presentation format, which can be constantly changing. A user can modify content of a word processor document, by editing a data store without any knowledge of the current layout of the presentation surface. A user can modify complex backing data through simple document edits, without exposure to the complexities of the data structure.