#![doc = include_str!("../README.md")]
#![forbid(unsafe_code)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(clippy::indexing_slicing)]
pub mod annot;
pub mod annot_render;
pub mod ap;
pub mod color;
pub mod error;
pub mod form;
pub mod geom;
pub mod nav;
pub mod page_label;
pub mod pdfa;
pub mod prefs;
pub mod structure;
pub mod vt;
pub(crate) mod metadata;
mod names;
pub use annot::{AnnotFlags, Annotation, Subtype};
pub use ap::{AnnotOverlay, Focus, FocusBox, GeneratedAp};
pub use color::Color;
pub use error::Error;
pub use metadata::xmp;
pub use nav::{
AActionType, Action, ActionKind, Bookmark, Dest, FileSpec, Link, NameTree, ZoomMode,
};
pub use page_label::page_label;
pub use pdfa::{Clause as PdfaClause, Level as PdfaLevel, Report as PdfaReport};
pub use prefs::ViewerPrefs;
pub use structure::{StructElement, StructTree};
use pdfrum_common::Limits;
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct DocOptions {
pub generate_widget_ap: bool,
pub generate_widget_shapes: bool,
pub limits: Limits,
}