From 8cd7e44980107a3e205f67834eaea20927c6a0fe Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 30 May 2022 15:52:23 +0300 Subject: Started work on making edit work with cells, referenced by formulas --- src/Models/CellFormula.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Models/CellFormula.h') diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h index 2aaba0f..3387c4a 100644 --- a/src/Models/CellFormula.h +++ b/src/Models/CellFormula.h @@ -7,10 +7,14 @@ #include "../Generic/Pair/Pair.hpp" class CellFormula : public Cell { + struct CellLoc { + int firstInd; + int secondInd; + }; const List>* tableCells; List localCells; - List> formula; + List> formula; String rawFormula; double calculate(unsigned index = 0); -- cgit v1.3.1-26-gb76a