摘要:
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.
摘要:
A system and method for validating an extensible markup language (XML) document and reporting schema violations in real time. A parallel tree is maintained that includes nodes corresponding to non-native XML elements of the XML document. When changes occur to the XML document, the non-native XML elements corresponding to the changes are marked. The nodes corresponding the marked non-native XML elements are validated against an XML schema that corresponds to the non-native XML markup. The elements and nodes corresponding to errors in the non-native XML markup are then reported to the user according to display indicators in the XML document and the parallel tree.
摘要:
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 programming object can comprise an executable method for loading a state of the object and an executable method for saving the object's state. The programming object can be an instance of a programmer-defined class. The executable method of the object for loading the state of the object can load the object's state as markup language text, and the executable method of the object for saving the object's state can save the object's state as markup language text.
摘要:
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.
摘要:
Alignment and positioning of tabs in text-based applications is provided by dynamically positioning the tabs based on content, margins, page size, and indents. Tab positions are aligned relative to a size, at least one margin, or content of a document or text-containing object such as a text box. Tab positions may also be aligned relative to an indent of a paragraph or of multiple columns on the same page. Alignment properties of tab positions are carried over when text is moved to table columns or other text-containing objects. Column-like grouping of text of varying size and alignments is enabled by using multiple tabs in a single line.
摘要:
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 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.