To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97834





------- Additional comments from [email protected] Wed Jan  7 17:42:57 +0000 
2009 -------
Heavy stuff.. problem is that data sequences (and other references used by
Chart) are created using a ScRangeList but ScRange/ScAddress have no information
about external references. This worked fine so far because in
'extsource'#Sheet1.B3:D5 the entire 'extsource'#Sheet1 could be resolved
resulting in an internal hidden sheet number.

I guess (and this is just a quick idea so far) the easiest (quite hackish)
attempt would be to mask the nTab member of ScAddress such that values above xxx
(use a defined constant of MAXTABCOUNT+1024 or similar) point to the external
document cache's index number. This would of course need adapting
ScAddress::Parse() (be careful with its usage in the formula compiler to not
break external references!), ScAddress::Format() and their ScRange::* and
ScRangeList::* equivalents, plus ScRangeStringConverter::* and maybe other
places as well. Special care would have to be taken with all UpdateReference()
calls that these sheet numbers will not get updated under any circumstances when
adding/deleting/moving sheets. The methods feeding the actual data to Chart then
need to access the external document cache for such sheet numbers. Further
investigation may be needed for loading/saving documents, where Chart stores the
references as range strings. Also setting up ChartListeners will need some
special treatment, they need to get notified for refreshed links. And maybe
other things I didn't think of right now..


---------------------------------------------------------------------
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]

Reply via email to