UPDATE: Exposes the model in UserModel

Fixes #262
This commit is contained in:
Nicolás Hatcher
2025-01-30 07:42:16 +01:00
committed by Nicolás Hatcher Andrés
parent 7777f8e5d6
commit 264fcac63c
2 changed files with 20 additions and 1 deletions

View File

@@ -195,6 +195,11 @@ impl UserModel {
self.model.to_bytes()
}
/// Returns the internal model
pub fn get_model(&self) -> &Model {
&self.model
}
/// Returns the workbook name
pub fn get_name(&self) -> String {
self.model.workbook.name.clone()