#![forbid(unsafe_code)]
#![warn(missing_docs, clippy::pedantic)]
#![allow(clippy::must_use_candidate)]
pub mod doc;
pub mod draw;
mod error;
mod meta;
mod package;
mod style;
mod value;
pub mod xml;
pub use doc::Document;
pub use error::Error;
pub use meta::Meta;
pub use package::{Package, Part};
pub use style::{
Border, Break, CellProperties, Edges, Family, Fill, Gradient, GradientStyle, GraphicProperties,
PageLayout, ParagraphProperties, Position, Properties, Style, Styles, TextAlign,
TextProperties, VerticalAlign,
};
pub use value::{Color, Length, Measure, Percent};
pub use xml::{Element, Name, Node, Ns};
pub mod media_type {
pub const TEXT: &str = "application/vnd.oasis.opendocument.text";
pub const TEXT_WEB: &str = "application/vnd.oasis.opendocument.text-web";
pub const SPREADSHEET: &str = "application/vnd.oasis.opendocument.spreadsheet";
pub const PRESENTATION: &str = "application/vnd.oasis.opendocument.presentation";
pub const TEXT_ANY: &[&str] = &[TEXT, TEXT_WEB];
pub const SPREADSHEET_ANY: &[&str] = &[SPREADSHEET];
pub const PRESENTATION_ANY: &[&str] = &[PRESENTATION];
}