1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3
4mod active;
5mod bytes;
6mod commit;
7mod create;
8pub mod document;
9mod edit;
10mod files;
11#[cfg(any(unix, windows))]
12mod flush;
13mod formatting;
14mod identity;
15mod insertion;
16mod objects;
17pub mod op;
18mod outline;
19pub mod page;
20mod pages;
21mod paragraph;
22mod properties;
23pub mod protected;
24mod revisions;
25mod section;
26mod snapshot;
27mod store;
28#[cfg(test)]
29#[path = "../tests/support/sweep.rs"]
30mod sweep;
31mod toc;
32mod tree;
33mod write;
34
35pub use commit::{CommitError, CommitIo, CommitState, Stamp, Transaction, confirm, place};
36#[cfg(any(unix, windows))]
37pub use commit::{confirm_file, place_file, read_file, read_file_limited, supersede_file};
38pub use create::{create_empty_section, create_section, create_table_of_contents};
39pub use files::FileDataReference;
40pub use formatting::{FONT_SIZES, TextAttribute};
41pub use identity::{place_image, reidentify};
42pub(crate) use insertion::Insertion;
43pub use objects::{Object, ObjectData, ObjectReferences, ResolvedRevision};
44pub use outline::OutlineEdit;
45pub use pages::{ConflictPage, PageCreation, PageEdit, PagePosition};
46pub(crate) use paragraph::{ParagraphJoin, ParagraphSplit};
47pub use properties::{IdStream, Property, PropertySets, Value};
48pub use revisions::{ExGuid, ObjectSpace, Revision, RevisionIndex};
49pub use section::{Arena, PageVersion, Section};
50pub use snapshot::{read_snapshot, read_storage_snapshot};
51pub use store::{Chunk, Error, FileType, Header, Node, NodeList, Reference, Store};
52pub use toc::{TocEdit, edit_table_of_contents};
53pub(crate) use tree::TreeEdit;