1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:47:46 +00:00

Spreadsheet: Serialise Positions to URLs and add Sheet::from_uri()

This commit is contained in:
AnotherTest 2020-11-02 20:20:15 +03:30 committed by Andreas Kling
parent 6e9c6acc87
commit 821e875bc0
3 changed files with 33 additions and 0 deletions

View file

@ -49,6 +49,9 @@ public:
static Optional<Position> parse_cell_name(const StringView&);
Cell* from_url(const URL&);
const Cell* from_url(const URL& url) const { return const_cast<Sheet*>(this)->from_url(url); }
JsonObject to_json() const;
static RefPtr<Sheet> from_json(const JsonObject&, Workbook&);