Apache OpenOffice (AOO) Bugzilla – Issue 109170
Simplify mechanism to track cells containing external references.
Last modified: 2017-05-20 10:34:08 UTC
The current mechanism to keep track of all formula cells containing external references is a bit awkward & IMO is done the wrong way. Let's rework it to do it right. We should be able to simplify it and reduce the amount of code for it without sacrificing the functionality. Less code, better maintenance.
I think I can do this within the 3.3 time frame. But we'll see how it goes.
The first round is done: http://hg.services.openoffice.org/hg/cws/koheiextref01/rev/68751b02f6ae
Now the external ref manager keeps track of formula cells including external references much more reliably. For instance, when a cell no longer references external documents, it take that cell off the list, which it previously did not do.
The second round is done. Iterate through the formula cells stored with the external ref manager, instead of scanning all the formula cells in the document looking for external references. http://hg.services.openoffice.org/hg/cws/koheiextref01/rev/8760da03bdc5 This change concludes this task.
Re-assigning to oc for verification.
Re-assigning to Yi Fan for verification.
Verified on SLED 11 sp1 and Windows xp sp3.