summaryrefslogtreecommitdiff
path: root/sc/inc/refupdatecontext.hxx
AgeCommit message (Collapse)Author
2014-04-19fixincludeguards.sh: scThomas Arnhold
sorry, huge one...
2014-03-12fdo#75977: Clear sheet deleted flags for affected references when undoing.Kohei Yoshida
This will allow formula cells to restore deleted references when they get recalculated. With this change, SetDirty() that previosly took no argument has been renamed to SetAllFormulasDirty(), and it now takes one argument that stores context information. Change-Id: If0de5dc1737a2722b6d61a87644b10a4f921edc5
2014-02-25fdo#75386: Totally fix reference update during range move.Kohei Yoshida
It was just not working at all due to multiple reasons. The reference update needed to be reworked for formula groups such that the token array is adjusted only for the top cell but all formula cells still needed to be processed afterwards. The bound check also needed to be done against the old range prior to the move, not the new range after the move. During undo, the paint had to be deferred until after the two calls to DoUndo() else the formula cells would get re-calculated before the values were placed back to their old positions, causing them to mis- calculate wrong values. Change-Id: Iba66f80a413e0539cac5ab619226cd6f7a04f317
2013-08-13Regroup formula cells later in columns where references are updated.Kohei Yoshida
Change-Id: I4dd6ade18e72d8f57583180463f9dda3603be4c2
2013-07-30Rework reference update in conditional formatting and cell validation.Kohei Yoshida
No tests are written for this yet. Change-Id: Ic26a7f19d6ce6e6d7059035dc9c99ae5bcb9d77b
2013-07-30Adjust named range references on sheet move.Kohei Yoshida
Change-Id: I3b20f79d9c2f373c93a34ccdb308c6d5c09f69e7
2013-07-30Update range names on sheet deletion.Kohei Yoshida
It works fine with live calc instance, but somehow fails in unit test. Change-Id: Ie60774b4f1f8391801e0d9358f6cca78d8e52397
2013-07-30Handle named range update on sheet insertion.Kohei Yoshida
Change-Id: I05b43bad84333ac8aeee7928898bdd90eed53c38
2013-07-30More on getting named range update to work.Kohei Yoshida
Change-Id: Id3f2ffe6d91ae43d799182b3744a839be5e1baf6
2013-07-24Flag cell state modified when a reference points to a different position.Kohei Yoshida
This fixes testStreamValid() test failure. Change-Id: Ife406957a723930efb419ba8c566485f4b089d97
2013-07-24Properly handle optional edge expansion of referenced ranges.Kohei Yoshida
Change-Id: I499189f4f76eee4b963f643364d1fad26cf69785
2013-07-24Handle range reference expansion on insertion.Kohei Yoshida
Change-Id: I128ed26b6d6319a7e227885801e0683b517eb439
2013-07-24Mark formula cells dirty when a referenced range gets partially shifted.Kohei Yoshida
Change-Id: I5d97cb0e325c0168fdae57f8ec39f62c85bec524
2013-07-24Correctly update references on cell insertion/deletion.Kohei Yoshida
Change-Id: Ie7499f1f589cd384c4e2421dc81d3c1f02e4a53e
2013-07-24Use RefUpdateContext to stuff all parameters for UpdateReference.Kohei Yoshida
Because I was getting tired of typing all these parameters every time I branch off to a new function. Change-Id: I1ae14f290af5543150694d0bea27c617cccb9db2