diff --git a/src/book/mod.rs b/src/book/mod.rs
index 13b03da..36aaab6 100644
--- a/src/book/mod.rs
+++ b/src/book/mod.rs
@@ -3,7 +3,7 @@ use std::cmp::max;
use anyhow::{anyhow, Result};
use ironcalc::{
base::{
- types::{CellStyleXfs, CellStyles, SheetData, Style, Worksheet},
+ types::{Border, Col, Fill, Font, Row, SheetData, Style, Worksheet},
worksheet::WorksheetDimension,
Model,
},
@@ -246,17 +246,108 @@ impl Book {
// not use a style.
match self.model.get_style_for_cell(sheet, cell.row as i32, cell.col as i32)
{
- Err(e) => None,
+ Err(_) => None,
Ok(s) => Some(s),
}
}
+ fn get_column(&self, sheet: u32, col: usize) -> Result