UPDATE: Webapp

This commit is contained in:
Nicolás Hatcher
2024-10-03 00:27:29 +02:00
parent ac0567e897
commit c99aea7b3d
18 changed files with 856 additions and 16 deletions

View File

@@ -205,6 +205,16 @@ impl UserModel {
self.model.to_bytes()
}
/// Returns the workbook name
pub fn get_name(&self) -> String {
self.model.workbook.name.clone()
}
/// Sets the name of a workbook
pub fn set_name(&mut self, name: &str) {
self.model.workbook.name = name.to_string();
}
/// Undoes last change if any, places the change in the redo list and evaluates the model if needed
///
/// See also: