UPDATE: Implement Insert/Delete Cells

This commit is contained in:
Nicolás Hatcher
2024-05-09 07:13:51 +02:00
parent f752c90058
commit fd12881972
49 changed files with 830 additions and 172 deletions

View File

@@ -1,10 +1,6 @@
//! Tests an Excel xlsx file.
//! Returns a list of differences in json format.
//! Saves an IronCalc version
//! This is primary for QA internal testing and will be superseded by an official
//! IronCalc CLI.
//! Converts an xlsx file into the binary IronCalc format
//!
//! Usage: test file.xlsx
//! Usage: xlsx_2_icalc file.xlsx
use std::path;
@@ -15,7 +11,6 @@ fn main() {
if args.len() != 2 {
panic!("Usage: {} <file.xlsx>", args[0]);
}
// first test the file
let file_name = &args[1];
let file_path = path::Path::new(file_name);

View File

@@ -108,7 +108,7 @@ pub fn save_xlsx_to_writer<W: Write + Seek>(model: &Model, writer: W) -> Result<
.workbook
.worksheet(sheet_index as u32)
.unwrap()
.dimension();
.get_dimension();
let column_min_str = number_to_column(dimension.min_column).unwrap();
let column_max_str = number_to_column(dimension.max_column).unwrap();
let min_row = dimension.min_row;