1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

Spreadsheet: Make it possible to refer to ranges in other sheets

Now the range A0:C4 in a sheet named "foo" can be represented as:

    R`sheet("foo"):A0:C4`

This makes it possible to do cross-sheet lookups and more.
This commit is contained in:
Ali Mohammad Pur 2022-06-25 20:05:17 +04:30 committed by Linus Groh
parent 2104e9a6e4
commit 746b8ec8de
4 changed files with 93 additions and 20 deletions

View file

@ -39,6 +39,7 @@ public:
JS_DECLARE_NATIVE_FUNCTION(column_index);
JS_DECLARE_NATIVE_FUNCTION(column_arithmetic);
JS_DECLARE_NATIVE_FUNCTION(get_column_bound);
JS_DECLARE_NATIVE_FUNCTION(get_name);
private:
virtual void visit_edges(Visitor&) override;