Skip to content

Commit 0031ffc

Browse files
author
DESKTOP-U434MT0\hiro
committed
no message
1 parent 96999b6 commit 0031ffc

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,25 @@
1212
Please use [Gitter](https://gitter.im/MathNya/umya-spreadsheet) for brief chats.
1313

1414
## New feature
15+
### ver 0.9.2
16+
#### **new function get_lazy_read_sheet_cells**
17+
Cell information can now be retrieved from a worksheet loaded with lazy_read.
18+
```rust
19+
let path = std::path::Path::new("./tests/test_files/aaa.xlsx");
20+
let mut book = umya_spreadsheet::reader::xlsx::lazy_read(path).unwrap();
21+
let cells = book.get_lazy_read_sheet_cells(&0).unwrap();
22+
let value = cells.get_cell_value((&5, &12)).get_value();
23+
let value = cells.get_cell_value("E12").get_value();
24+
```
25+
26+
#### **set_value_from_string is deprecated**
27+
Cell.set_value_from_string had different behavior in different versions.
28+
This function is deprecated.
29+
From now on, set_value or set_value_string.
30+
1531
### ver 0.9.1
16-
Changed file compression logic when writing.
17-
The file size is smaller than before, but the processing time is longer.
32+
Changed file compression logic when writing.
33+
The file size is smaller than before, but the processing time is longer.
1834
If you want to use the previous logic, use this method.
1935
```rust
2036
umya_spreadsheet::writer::xlsx::write_light(&book, path);
@@ -64,7 +80,7 @@ let path = std::path::Path::new("./tests/test_files/aaa.xlsx");
6480
let mut book = umya_spreadsheet::reader::xlsx::read(path).unwrap();
6581
```
6682
### Read file (Lazy)
67-
Delays the loading of the worksheet until it is needed.
83+
Delays the loading of the worksheet until it is needed.
6884
When loading a file with a large amount of data, response improvement can be expected.
6985
```rust
7086
let path = std::path::Path::new("./tests/test_files/aaa.xlsx");

0 commit comments

Comments
 (0)