In typical spreadsheet applications, a block of source data in a document may be employed to generate a chart (or graph) in the same document or in a different document. The chart may be cut or copied and pasted within the same document or to another document. The chart and any copies of the chart each includes a reference to the block of source data in an associated source data field. Dependencies between the block of source data and the chart and any copies of the chart are maintained. Such dependencies are used to ensure that the source data and the chart and any copies of the chart are synchronized. For example, if one or more values in the block of source data are modified, the chart and any copies of the chart are automatically updated. If the block of source data is moved to a different location within the same document or to a different document, e.g., using cut and paste operations, source data fields associated with the chart and any copies of the chart are automatically updated. Although a copy of the block of source data may be created and pasted within the same document or in a different document, the chart and any copies of the chart are bound to the block of source data and not to any of its copies. Changes to any copies of the block of source data do not affect the chart or any copies of the chart. Thus, in typical spreadsheet applications, a chart and any copies of the chart are bound to the block of source data from which the chart was originally created. If a different block of source data is desired to be associated with the chart or a copy of the chart, the source data field of the chart or copy of the chart has to be manually modified.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process, an apparatus, a system, a composition of matter, a computer readable medium such as a computer readable storage medium or a computer network wherein program instructions are sent over optical or communication links. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. A component such as a processor or a memory described as being configured to perform a task includes both a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. In general, the order of the steps of disclosed processes may be altered within the scope of the invention.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
Associating an object with a relevant data source is disclosed. In some embodiments, an object pasted into a destination document is associated with a data source also included in the destination document. In some embodiments, the data source with which an object is associated is concurrently pasted with the object into the destination document. In some embodiments, in the cases in which the object is pasted into the destination document without concurrently pasting an associated data source, the object is associated with an existing data source in the destination document that has a data source identifier that is the same as the data source identifier associated with the object if such a data source exists in the destination document. In some embodiments, in the cases in which the object is pasted into the destination document without concurrently pasting an associated data source and in which the destination document does not already include a data source that has a data source identifier that is the same as the data source identifier associated with the object, a new data source with a new data source identifier is generated for the object being pasted in the destination document and is populated with data extracted from the object.
Although the examples provided herein are with respect to a particular spreadsheet application, the techniques described herein may be employed with respect to any application, spreadsheet or otherwise, in which it would be useful to associate an object with a relevant data source. The workspace of the spreadsheet application described in the examples herein comprises an infinite or seemingly infinite canvas on which one or more finite objects, such as tables, text, charts, graphs, shapes, images, photographs, graphics, animations, multimedia content, etc., may be placed. The techniques disclosed herein are not limited to use in a spreadsheet or other application having such a workspace. Depending on its type, an object may have at least standard spreadsheet functionality associated with it. For example, a table object is comprised of a desired number of rows and columns of cells which are associated with at least standard spreadsheet functionality associated with cells. The term “at least standard spreadsheet functionality” in the context of cells of a table includes the ability to define the content of one cell in such a way that the content of the one cell is determined based at least in part on the content of one or more other cells, and the content of the one cell is updated automatically without further human action if the content of one or more of the one or more other cells is changed. With respect to a chart (or graph), for example, the term “at least standard spreadsheet functionality” includes the ability to define a chart based at least in part on the content of one or more cells and to update the chart automatically and without further human action if the content of one or more of the one or more cells is changed. In such cases, the table that includes the one or more cells comprises the data source of the chart. In some embodiments, a chart is associated with multiple data sources, e.g., tables. Although in many of the provided examples associating a chart with a relevant source table is described, the techniques disclosed herein can be similarly employed with respect to any appropriate type of object having any appropriate data sources. In some embodiments, a data source is associated with a data source identifier, which may, e.g., be included in a data source reference associated with an object that at least in part depends on source data included in the data source. Such a data source identifier of a data source uniquely identifies the data source within at least a relevant space, e.g., such as across one or more documents and/or applications. In some embodiments, all instances or copies of a data source are associated with the same unique data source identifier, which may be globally unique across one or more applications.
In some embodiments, each table within a document is associated with an identifier. In some embodiments, a table and copies of the table are associated with the same unique identifier. In some embodiments, the unique identifier of a table and its copies is globally unique across documents of one or more application(s). In some embodiments, a chart generated from source data included in one or more cells of a table includes, e.g., with respect to a reference to the source data, the table identifier of the source table. A chart is synchronized with source data included in its associated source table, i.e. the table having the table identifier included in the source data reference of the chart. A chart included in a first document may be cut or copied and pasted into a second document of the same application, a different application, or a different application within a related suite of applications. In some embodiments, a table that includes the source data of a chart is included in each document in which the chart or a copy of the chart is included. In some such cases, a chart is synchronized with source data included in an associated table in the same document. For example, when a chart and its associated table are copied from a first document and pasted into a second document, the chart in the second document is synchronized with source data included in its associated table in the second document rather than the same table (i.e. the table having the same table identifier) in the first document. If only a chart is cut or copied from a first document and pasted into a second document and a table having the table identifier associated with the chart does not already exist in the second document, in some embodiments, a new source table is automatically generated in the second document that is populated with source data extracted from the chart. In such cases, a new table identifier is associated with the source table generated in the second document, and the table identifier included in the source data reference in the chart is updated to be the new table identifier. As further described, when a chart is desired to be pasted into a destination document, in some embodiments, it is dynamically determined whether or not to create a new data source (e.g., table) based on whether an associated data source concurrently exists on an associated paste board and/or already exists in the destination document.
As at least in part described with respect to
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
This application is a continuation of co-pending U.S. patent application Ser. No. 11/890,783, entitled ASSOCIATING AN OBJECT WITH A RELEVANT DATA SOURCE filed Aug. 6, 2007 which is incorporated herein by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
Parent | 11890783 | Aug 2007 | US |
Child | 13184438 | US |