#![warn(missing_docs)]
#![deny(unused_must_use)]
#![cfg_attr(feature = "backtrace", feature(error_generic_member_access))]
#[macro_use]
mod macros;
pub mod errors;
mod fsshttpb;
mod one;
mod onenote;
mod onestore;
mod reader;
mod shared;
mod utils;
pub(crate) type Reader<'a, 'b> = &'b mut reader::Reader<'a>;
pub use crate::onenote::Parser;
pub mod notebook {
pub use crate::onenote::notebook::Notebook;
}
pub mod section {
pub use crate::onenote::section::{Section, SectionEntry, SectionGroup};
}
pub mod page {
pub use crate::onenote::page::{Page, Title};
pub use crate::onenote::page_content::PageContent;
pub use crate::onenote::page_series::PageSeries;
}
pub mod contents {
pub use crate::onenote::content::Content;
pub use crate::onenote::embedded_file::EmbeddedFile;
pub use crate::onenote::image::Image;
pub use crate::onenote::ink::{Ink, InkBoundingBox, InkPoint, InkStroke};
pub use crate::onenote::list::List;
pub use crate::onenote::math_inline_object::{MathInlineObject, MathObjectType};
pub use crate::onenote::note_tag::NoteTag;
pub use crate::onenote::outline::{Outline, OutlineElement, OutlineGroup, OutlineItem};
pub use crate::onenote::rich_text::{
EmbeddedInkContainer, EmbeddedInkSpace, EmbeddedObject, ParagraphStyling, RichText,
};
pub use crate::onenote::table::{Table, TableCell, TableRow};
}
pub mod property {
pub mod common {
pub use crate::one::property::color::Color;
pub use crate::one::property::color_ref::ColorRef;
}
pub mod embedded_file {
pub use crate::one::property::file_type::FileType;
}
pub mod note_tag {
pub use crate::one::property::note_tag::{ActionItemStatus, ActionItemType};
pub use crate::one::property::note_tag_property_status::NoteTagPropertyStatus;
pub use crate::one::property::note_tag_shape::NoteTagShape;
pub use crate::onenote::note_tag::NoteTagDefinition;
}
pub mod rich_text {
pub use crate::one::property::charset::Charset;
pub use crate::one::property::paragraph_alignment::ParagraphAlignment;
pub use crate::onenote::rich_text::ParagraphStyling;
}
}