summaryrefslogtreecommitdiff
path: root/sc/inc/validat.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-30 15:27:02 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-30 23:50:02 -0400
commit0277792d169d66ad24734504ff33d2ec7d52ebaf (patch)
tree1f1968f9c65ccfd8184f6855a60e887805a2786d /sc/inc/validat.hxx
parent441e70aee90e83a9f8782a3f84482db86b857b87 (diff)
Rework reference update in conditional formatting and cell validation.
No tests are written for this yet. Change-Id: Ic26a7f19d6ce6e6d7059035dc9c99ae5bcb9d77b
Diffstat (limited to 'sc/inc/validat.hxx')
-rw-r--r--sc/inc/validat.hxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/sc/inc/validat.hxx b/sc/inc/validat.hxx
index 904279a74fc3..64aa5975cf5d 100644
--- a/sc/inc/validat.hxx
+++ b/sc/inc/validat.hxx
@@ -26,6 +26,12 @@
namespace ValidListType = ::com::sun::star::sheet::TableValidationVisibility;
+namespace sc {
+
+struct RefUpdateContext;
+
+}
+
class ScPatternAttr;
class ScTokenArray;
class ScTypedStrData;
@@ -191,9 +197,10 @@ public:
ScValidationData* GetData( sal_uInt32 nKey );
void CompileXML();
- void UpdateReference( UpdateRefMode eUpdateRefMode,
- const ScRange& rRange, SCsCOL nDx, SCsROW nDy, SCsTAB nDz );
- void UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos );
+ void UpdateReference( sc::RefUpdateContext& rCxt );
+ void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt );
+ void UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt );
+ void UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt );
sal_Bool operator==( const ScValidationDataList& r ) const; // for ref-undo
};