//! Reading the workbook part and everything hanging off it. use std::sync::Arc; use gridcraft_core::{DateSystem, RangeRef}; use gridcraft_model::{CalcMode, CellPicture, DefinedName, Sheet, Style, StyleId, StyleTable, Visibility, Workbook}; use crate::package::{Package, Rel}; use crate::styles::{StylesIn, read_styles}; use crate::xml::{self, El}; use crate::{IoError, ReadReport}; /// State shared while reading one package. pub struct Ctx<'a> { pub pkg: Package<'a>, pub report: ReadReport, pub sst: Vec>, /// Cell format index → model style. pub xf_map: Vec, pub dxfs: Vec