mod acroform_field_prune;
mod attachment_list;
mod attachments;
mod check;
mod inspection;
mod json;
mod json_sections;
mod lifecycle;
mod outline_dest_remap;
mod overlay;
mod page_collate;
mod page_combine;
mod page_merge;
mod page_plan;
mod page_range;
mod page_specs;
mod page_split;
mod page_subset;
mod resource_pruning;
mod rotate;
mod rotate_spec;
pub use acroform_field_prune::{
prune_acroform_after_subset, prune_acroform_after_subset_with_max_depth,
DEFAULT_MAX_ACROFORM_DEPTH,
};
pub use attachment_list::{
format_attachment_list, format_attachment_list_with_sink, list_attachment_info, AttachmentInfo,
};
pub use attachments::{
add_attachment_from_path, ascii_filename_fallback, extract_attachment,
extract_attachment_to_path, write_attachment, AttachmentAddOptions, AttachmentCopyOptions,
};
#[cfg(test)]
pub(crate) use check::check_bytes_for_test;
pub use check::CheckError;
pub use json::{write_json, JsonJobError, JsonJobOptions, JsonJobOutput, JsonStreamData};
pub(crate) use json_sections::checksum_to_hex;
pub use lifecycle::{JobDocument, JobExitCode, QPDFJob};
pub use outline_dest_remap::{remap_outline_and_dests, remap_outline_and_dests_with_max_depth};
pub use overlay::{
apply_overlay_specs, overlay_verbose_report, OverlayKind, OverlaySpec, OverlayVerbosePage,
OverlayVerboseSource,
};
pub use page_collate::collate;
pub use page_combine::{CombinedPage, CombinedPlan, InputSpec};
pub use page_merge::{merge_documents, MergeInput};
pub use page_plan::{PagePlan, SelectedPage};
pub use page_range::{Endpoint, PageRange, PageRangeEntry, Parity};
pub use page_specs::PageSpecInput;
pub use page_split::SplitPageOptions;
pub use resource_pruning::{should_remove_unreferenced_resources, RemoveUnreferencedResources};
pub use rotate::{apply_rotate_to_pages, flatten_rotation_on_pages, RotateMode, RotateOp};
pub use rotate_spec::RotateSpec;