1#![doc = include_str!("../crate.md")]
2
3pub use color;
4pub use zip::CompressionMethod;
5
6pub use crate::cell_::{CellContent, CellContentRef};
7pub use crate::error::{OdsError, OdsResult};
8pub use crate::format::{
9 ValueFormatBoolean, ValueFormatCurrency, ValueFormatDateTime, ValueFormatNumber,
10 ValueFormatPercentage, ValueFormatRef, ValueFormatText, ValueFormatTimeDuration,
11};
12pub use crate::io::read::{
13 read_fods, read_fods_buf, read_fods_from, read_ods, read_ods_buf, read_ods_from, OdsOptions,
14};
15pub use crate::io::write::{
16 write_fods, write_fods_buf, write_fods_to, write_ods, write_ods_buf,
17 write_ods_buf_uncompressed, write_ods_to, OdsWriteOptions,
18};
19pub use crate::refs::{CCol, CRow, CellRange, CellRef, ColRange, RowRange};
20pub use crate::sheet_::Sheet;
21pub use crate::style::units::{Angle, Length};
22pub use crate::style::{CellStyle, CellStyleRef};
23pub use crate::value_::{Value, ValueType};
24pub use crate::workbook_::WorkBook;
25pub use crate::ds::detach::Detached;
26
27#[macro_use]
28mod macro_attr_draw;
29#[macro_use]
30mod macro_attr_style;
31#[macro_use]
32mod macro_attr_fo;
33#[macro_use]
34mod macro_attr_svg;
35#[macro_use]
36mod macro_attr_text;
37#[macro_use]
38mod macro_attr_number;
39#[macro_use]
40mod macro_attr_table;
41#[macro_use]
42mod macro_attr_xlink;
43#[macro_use]
44mod macro_units;
45#[macro_use]
46mod macro_format;
47#[macro_use]
48mod macro_style;
49#[macro_use]
50mod macro_text;
51
52mod attrmap2;
53mod cell_;
54mod config;
55mod ds;
56mod error;
57mod io;
58mod locale;
59mod sheet_;
60#[macro_use]
61mod value_;
62mod workbook_;
63
64pub mod cell {
65 pub use crate::cell_::CellSpan;
67}
68pub mod condition;
69pub mod defaultstyles;
70pub mod draw;
71pub mod format;
72#[macro_use]
73pub mod formula;
74pub mod manifest;
75pub mod metadata;
76pub mod refs;
77pub mod sheet {
78 pub use crate::sheet_::{CellIter, Grouped, Range, SheetConfig, SplitMode, Visibility};
80}
81pub mod style;
82pub mod text;
83pub mod validation;
84pub mod workbook {
85 pub use crate::workbook_::{EventListener, Script, WorkBookConfig};
87}
88pub mod xlink;
89pub mod xmltree;
90
91pub(crate) type HashMap<K, V> = std::collections::HashMap<K, V>;
96