摘要:
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.
摘要:
A programmable object model allows a user/programmer to programmatically access the Extensible Markup Language (XML) functionality of a software application. The programmable object model is comprised of a plurality of object-oriented message calls or application programming interfaces for allowing a user to access the XML functionality of an application by sending one or more object-oriented message calls or application programming interfaces to the XML functionality of a given application along with any required parameters for customizing or otherwise manipulating XML markup applied to a document.
摘要:
Methods and systems provide a tree view showing unannotated text nodes in a corresponding data formatted document. When the user begins to annotate the document with a desired data format structure, such as a markup language like XML, a tree view pane is displayed to the user to provide the user with an outline of the data structure presently applied to the document or to provide the user with an outline of the data structure applied to the document as the user annotates the document with data structure. In the tree view, an indicator is displayed in the location of any unannotated text nodes relative to their sibling data elements. If the user focuses on a given unannotated text node indicator in the tree view, the corresponding text node in the corresponding document is highlighted to the user to show the user the location of the text node that has not been annotated with data structure.
摘要:
A method and system are provided for using icons to show the validity of markup language elements applicable to a computer-generated document. A user of a computer-generated document such as a word processing document attaches a schema to the document setting out the rules and procedures with which the document may be annotated with markup language elements for structuring portions of the document. According to one aspect of the invention, the user attaches an Extensible Markup Language (XML) schema to the document for setting the data types, data structures and XML elements rules for the document so that the user may annotate the document with XML structure. When the user begins to annotate the document with a desired markup language structure, such as XML structure, an application pane is displayed to the user to provide the user with assistance in applying allowable XML elements at allowable locations and in allowable order and number. A series of icons are presented alongside the presented elements in the application pane to indicate the level of validity of a given element based on the editing context and location in the document.
摘要:
A programmable object model includes a plurality of object-oriented message calls for application programming interfaces allowing a user to programmatically access the schema validation model of an application by sending message calls and required parameters to the schema validation model to customize or otherwise modify the operation of the schema validation model as desired by the user. Once the user has access to the schema validation model of an application, the user may attach Extensible Markup Language (XML) schema files to a document and control definitions, grammatical rules, and other settings dictated by the attached XML schema file. The user also is allowed to customize the application's native schema validation functionality with user-defined rules and error text. The XML schema validation model of an application may be accessed from a user-created program written according to a variety of different languages such as C, C++, C#, and Visual Basic.
摘要:
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 programmable object model allows a user to programmatically access and utilize a Namespace or schema library containing XML schema files and related XML-based resources for associating the schema files and XML-based resources with one or more documents and for customizing the functionality associated with the schema files and XML-based resources. The programmable object model also allows the user/programmer to remove schema files and other XML-based resources from association with previously associated documents.
摘要:
A programmable object model allows a user to programmatically access and utilize a Namespace or schema library containing XML schema files and related XML-based resources for associating the schema files and XML-based resources with one or more documents and for customizing the functionality associated with the schema files and XML-based resources. The programmable object model also allows the user/programmer to remove schema files and other XML-based resources from association with previously associated documents.
摘要:
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.
摘要:
An application has its own namespace or namespaces and a schema, or a set of schemas, which can be used by applications to generate and/or validate documents in a unique format. The application can uniquely define the format (and properties) of content in a document such that the document is represented in a native format. The document can be stored externally as a markup language file in accordance with the schema of the application. When the format is stored in a markup language, other applications can validate the document stored in accordance with the native format. The other applications can represent the lists in accordance to the degree to which they are aware of the unique properties of the application used to generate the document.