1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright 2021 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
//! excelize is a library written in pure Rust providing a set of functions
//! that allow you to write to and read from XLSX / XLSM / XLTM files. Supports
//! reading and writing spreadsheet documents generated by Microsoft Excel™
//! 2007 and later.
//!
//! # Reading spreadsheet
//!
//! The following constitutes the bare to read a spreadsheet document.
//!
//! ```rust
//! extern crate excelize_rs;
//!
//! use excelize_rs::*;
//!
//! fn main() {
//! let path = String::from("Book1.xlsx");
//! let wb = Spreadsheet::open_file(path);
//! match wb {
//! Ok(ws) => match ws.get_cell_value("Sheet1", 1, 1) {
//! Ok(c) => {
//! let cell = String::from(c);
//! println!("the value of cell A1 is: {}", cell)
//! }
//! Err(e) => println!("{:?}", e),
//! },
//! Err(e) => print!("{:?}", e),
//! }
//! }
//! ```
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;