#![forbid(unsafe_code)]
mod annot;
mod appearance;
mod attachments;
mod comments;
mod copy;
mod date;
mod disclosure;
mod document;
#[cfg(feature = "tree-write")]
mod edit;
mod fonts;
mod geometry;
mod graphics;
mod id;
mod info;
mod initial_view;
mod inspect;
mod labels;
mod link;
mod locate;
mod optional_content;
mod outline;
#[cfg(feature = "navigation")]
mod outline_edit;
mod page;
#[cfg(feature = "edit")]
mod page_tree;
#[cfg(feature = "edit")]
mod references;
mod structure;
mod threads;
mod tree;
#[cfg(feature = "tree-write")]
mod tree_writer;
mod values;
mod widgets;
pub mod xmp;
pub use annot::{Annot, AnnotFlags, AnnotGeometry, AnnotLink, AnnotSubtype, ReplyType};
pub use appearance::{AppearancePlacement, NormalAppearance};
pub use attachments::{
AfRelationship, AttachedFile, AttachmentBytes, AttachmentHolder, Checksum, Collection, CollectionField,
CollectionFieldKind, CollectionFile, CollectionValue, CollectionView, FileSpecAt,
};
#[cfg(feature = "tree-write")]
pub use attachments::{EmbeddedFileSpec, write_embedded_file};
pub use comments::{AnnotState, BrokenThread, CommentThread, StateModel, ThreadMember};
pub use copy::{Copied, ObjectCopier};
pub use date::{InvalidDate, PdfDate};
pub use disclosure::{
Action, Annotation, Disclosure, EmbeddedFile, EmbeddedFileHolder, FormField, Owner, Trigger, XmpPacket,
};
pub use document::Document;
#[cfg(feature = "tree-write")]
pub use edit::{get_at_path, set_at_path, set_catalog_entry, set_names_entry};
pub use fonts::{FontEncoding, FontResource, FontScope, SimpleEncoding, to_unicode_cmap};
pub use geometry::{LETTER, PageFrame, PageSize, PointPt, Pt, RectPt, UserSpacePoint, UserSpaceRect};
pub use graphics::{BlendMode, Dash, FillRule, Matrix};
pub use id::{AnnotId, AttachmentId, FieldId, IdAllocator, Kind, LaminaPdfId, OutlineItemId, PageId, ParseIdError};
pub use info::{Info, InfoDate};
pub use initial_view::{InitialView, OpenAction, PageLayout, PageMode, WindowPreferences};
pub use inspect::{
ColorProfile, ColorProfiles, ConformanceClaims, IccHeader, ObjectEntry, ObjectKind, OutputIntent, ReferenceIndex,
Referrer,
};
pub use labels::{LabelRange, LabelStyle, PageLabels};
pub use link::{Link, LinkAction};
pub use locate::ParentedPage;
pub use outline::{ActionKind, Destination, Outline, OutlineItem, View};
#[cfg(feature = "navigation")]
pub use outline_edit::{OutlineTree, OutlineTreeError, SiblingPosition};
pub use page::{Page, Pages, Rotation};
#[cfg(feature = "edit")]
pub use page_tree::{PagePosition, PageTreeEditor, PageTreeError};
#[cfg(feature = "edit")]
pub use references::{NameStore, PageReference, PageReferences, ReferenceKind, Via, WidgetLink};
pub use structure::{StructElem, StructKid, StructTree};
pub use threads::{Bead, Thread};
pub use tree::{NameTree, NumberTree};
#[cfg(feature = "tree-write")]
pub use tree_writer::TreeWriter;
pub use widgets::{FieldNames, PageWidget, is_widget};
pub use laminapdf_cos::{Error, Limit, Limits, OpenOptions, Result, Warning};