UPDATE: Adds get/set views to the user model API (#69)

This commit is contained in:
Nicolás Hatcher Andrés
2024-05-20 17:51:09 +02:00
committed by GitHub
parent d2cba48f8e
commit 49c3b14bf0
11 changed files with 562 additions and 67 deletions

View File

@@ -118,6 +118,8 @@ pub struct Model {
pub(crate) language: Language,
/// The timezone used to evaluate the model
pub(crate) tz: Tz,
/// The view id. A view consist of a selected sheet and ranges.
pub(crate) view_id: u32,
}
// FIXME: Maybe this should be the same as CellReference
@@ -886,6 +888,7 @@ impl Model {
language,
locale,
tz,
view_id: 0,
};
model.parse_formulas();