|
12 | 12 | Please use [Gitter](https://gitter.im/MathNya/umya-spreadsheet) for brief chats. |
13 | 13 |
|
14 | 14 | ## 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 | + |
15 | 31 | ### 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. |
18 | 34 | If you want to use the previous logic, use this method. |
19 | 35 | ```rust |
20 | 36 | umya_spreadsheet::writer::xlsx::write_light(&book, path); |
@@ -64,7 +80,7 @@ let path = std::path::Path::new("./tests/test_files/aaa.xlsx"); |
64 | 80 | let mut book = umya_spreadsheet::reader::xlsx::read(path).unwrap(); |
65 | 81 | ``` |
66 | 82 | ### 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. |
68 | 84 | When loading a file with a large amount of data, response improvement can be expected. |
69 | 85 | ```rust |
70 | 86 | let path = std::path::Path::new("./tests/test_files/aaa.xlsx"); |
|
0 commit comments