Skip to main content

pdfboss_core/
lib.rs

1//! Core PDF machinery: syntax, objects, filters, cross-references, the
2//! document model, and lazy element iteration (physical file structure with
3//! byte spans plus logical document structure), implemented from the PDF
4//! specification (ISO 32000).
5
6pub mod content;
7mod crypt;
8pub mod document;
9pub mod elements;
10pub mod error;
11pub mod filters;
12pub mod geom;
13pub mod hash;
14pub mod lexer;
15pub mod object;
16pub mod objstm;
17pub mod parser;
18pub mod pretty;
19pub mod xref;
20
21pub use document::{Document, Metadata, Page};
22pub use elements::{Element, ElementOpts, Span, XrefKind};
23pub use error::{Error, Result};
24pub use geom::{Matrix, Point, Rect};
25pub use hash::{FastMap, FastSet, FxHasher};
26pub use object::{Dict, Name, ObjRef, Object, Stream};