pdf_annot/lib.rs
1#![warn(missing_docs)]
2//! PDF annotation engine.
3//!
4//! Provides typed access to all annotation types defined in ISO 32000-2 §12.5,
5//! and annotation creation via the `write` feature (backed by lopdf).
6
7// Copyright (c) 2026 Innovation Trigger B.V.
8//
9// PDFluent is available under two licences, at your option: the GNU AGPLv3, or
10// the PDFluent Commercial Licence. See the LICENSE file in this repository --
11// that file travels with the copy you received, which a URL does not.
12
13mod annotation;
14mod appearance;
15pub mod appearance_writer;
16pub mod builder;
17pub mod error;
18#[cfg(feature = "write")]
19pub mod flatten;
20mod geometric;
21mod link;
22mod markup;
23mod stamp;
24mod types;
25
26pub use annotation::*;
27pub use appearance::*;
28#[cfg(feature = "write")]
29pub use flatten::{ensure_appearances, flatten_annotations};
30pub use geometric::*;
31pub use link::*;
32pub use markup::*;
33pub use stamp::*;
34pub use types::*;