To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=66865 Issue #|66865 Summary|New chart: Load and update charts if their data change |s while they are not loaded Component|Chart Version|680m172 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|TASK Priority|P3 Subcomponent|code Assigned to|nn Reported by|bm
------- Additional comments from [EMAIL PROTECTED] Thu Jun 29 09:10:13 -0700 2006 ------- If you load a Calc document that contains charts, the charts are usually not loaded immediately. Even charts that are visible are nowadays only shown with a replacement image. Thus when data of visible charts changes or the address of a ranges changes of a chart that is not yet loaded, there must be a listener that does the following on a change: 1. Load the corresponding chart (set the OLE-object's embed state to ACTIVE). This should result in querying the data and therefore adding as listener to all relevant data. 2. Perform the action that is scheduled to be done. This should notify the change to the now loaded chart via the usual mechanisms. To be able to know which ranges a chart uses, the XML-attribute "draw:notify-on-update-of-ranges" containing the used ranges is stored. To correctly fill this attribute, the chart's XModel, which is also an XDataReceiver offers this information via the method getUsedRangeRepresentations(), which returns a sequence of strings. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
