摘要:
A method, apparatus, and computer-readable medium for editing an electronic document containing markup language tags are provided. According to the method, a computer application program for editing an electronic document operates in one of two editing modes. In a first editing mode, any markup language tags contained within the document are displayed. In a second editing mode, the markup language tags are not displayed. However, when operating in the second editing mode, a determination is made as to whether any of the markup language tags are empty. For each of the tags that are empty, a placeholder is displayed. The placeholder may comprise the name of the tag or a user-defined text string. The placeholder may be selected and utilized to insert data into the tag, delete the tag, or move the tag without viewing the tag itself.
摘要:
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.
摘要:
Methods and systems allow style and other formatting settings to remain latent until one or more particular style or formatting settings is instantiated by a user. Data representing each latent style or formatting object is persisted in a data structure apart from the user's document. Each potential style setting or formatting setting may be set as locked for use for a given document or locked for non-use for a given document. Upon saving the document, no data is saved for the numerous available style and formatting settings in the document. When a particular style is called upon by a subsequent consuming application, that application may then instantiate the particular style or formatting setting based on the properties of that style or formatting setting available from the subsequent consuming application.
摘要:
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.
摘要:
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 styles of data 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 styles in accordance to the degree to which they are aware of the unique properties of the application used to generate the document.
摘要:
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 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.
摘要:
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.
摘要:
The present invention represents header and footer structures in a markup language (ML) document. The ML document may be parsed by applications that understand ML other than the application that generated the ML document. The ML document may be manipulated on a server or anywhere even when the application creating the ML document is not present. The header or footer originally used in the ML document may be manipulated when the ML document is parsed by other applications. Header and footer information (i.e., properties) are saved in a markup language (ML) document without data loss, while allowing the header and footer structures to be parsed by ML-aware applications and to be read by ML programmers.
摘要:
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.