From b58e16edb0bb11cca9561dd7db898183be551002 Mon Sep 17 00:00:00 2001 From: "DESKTOP-U434MT0\\hiro" Date: Tue, 17 Dec 2024 20:10:38 +0900 Subject: [PATCH] #248 --- Cargo.toml | 2 +- README.md | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3c9270d1..43d57be2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "umya-spreadsheet" -version = "2.2.0" +version = "2.2.1" authors = ["MathNya "] repository = "https://github.com/MathNya/umya-spreadsheet" keywords = ["excel", "spreadsheet", "xlsx", "reader", "writer"] diff --git a/README.md b/README.md index 13871177..b5dd2930 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,13 @@ Please mention in issues if you have any questions. ## Update details +### ver 2.2.1 +#### * Gridlines setting values can now be changed. +```rust +let mut book = umya_spreadsheet::reader::xlsx::read(path).unwrap(); +let mut sheet = book.get_sheet_mut(&0).unwrap(); +sheet.get_sheet_views_mut().get_sheet_view_list_mut().get_mut(0).unwrap().set_show_grid_lines(false); +``` ### ver 2.2.0 #### * Increased processing speed and reduced memory consumption.(Thank you. [schungx](https://github.com/schungx),[mxsrm](https://github.com/mxsrm)) The return type has been changed in some functions. @@ -45,13 +52,13 @@ sheet.add_comments(comment); Add the following code to Cargo.toml ```toml [dependencies] -umya-spreadsheet = "2.2.0" +umya-spreadsheet = "2.2.1" # WebAssembly support -umya-spreadsheet = { version = "2.2.0", features = ["js"] } +umya-spreadsheet = { version = "2.2.1", features = ["js"] } # Use only png for image processing -umya-spreadsheet = { version = "2.2.0", features = ["image/png"] } +umya-spreadsheet = { version = "2.2.1", features = ["image/png"] } ``` Add the following code to main.rs