摘要:
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, apparatus, and computer-readable medium are provided for managing specific types of content in an electronic document. A user interface is provided for displaying a specific type of content in a predefined area of and electronic document. The user interface includes a content region for receiving the specific type of content and displaying the specific type of content within a predefined boundary. The user interface also includes a selection region for receiving a selection of content for insertion into the content region. The user interface validates the content received in the content region based on the specific type of content defined for the content region and based on a predefined content limit. The specific type of content received in the content region may be formatted according to a predetermined format and may also be bound to a data source external to the electronic document.
摘要:
Portions of an Extensible Markup Language document, such as individual paragraphs or groups of paragraphs or fragments of text, are provided self-describing properties such as styles, fonts, list types, and the like. If such a portion of a document is subsequently copied or moved to a second document or to a different location in the first document, the self-describing properties provided for the portion travel with the portion to the second document or to the different location in the first document.
摘要:
Methods and systems are provided for allowing software applications capable of reading and saving Extensible Markup Language (XML) representations of documents to quickly and efficiently detect the presence of executable code contained in a given document being read or saved by the software applications. Examples of executable code include, but are not limited to macros, VBA macros, OLE code, OCX or ActiveX controls, embedded executable objects, and the like.
摘要:
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.
摘要:
Methods and systems are provided for automatically replicating table rows and cells marked up with Extensible Markup Language (XML) data (markup) to create new table rows and cells containing the same XML markup as a selected row and cells from which the new row and cells are replicated. A table row with one or more cells may be selected for replication. The selected row (source row) is parsed to determine XML markup (XML elements (tags)) applied to the row or cells contained therein. A new row(s) and corresponding cell(s) is created. XML markup applied to the source row and its cells is automatically applied to the new row and cells contained therein.
摘要:
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.
摘要:
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.
摘要:
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.