Skip to main content

Crate rpdfium_core

Crate rpdfium_core 

Source
Expand description

Core types and utilities for rpdfium — a faithful Rust port of PDFium.

This crate provides the foundational types shared across all rpdfium crates:

Re-exports§

pub use bytestring::PdfString;
pub use bytestring::PdfStringEncoding;
pub use bytestring::pdfdoc_to_char;
pub use diagnostic::DiagCategory;
pub use diagnostic::DiagLocation;
pub use diagnostic::Diagnostic;
pub use diagnostic::DiagnosticCollector;
pub use diagnostic::Severity;
pub use error::ObjectId;
pub use error::ParseError;
pub use error::PdfError;
pub use error::PdfResult;
pub use fx_bidi::BidiChar;
pub use fx_bidi::BidiDirection;
pub use fx_bidi::BidiSegment;
pub use fx_bidi::BidiString;
pub use fx_bidi::Direction;
pub use fx_bidi::Segment;
pub use fx_bidi::bidi_class_of;
pub use fx_bidi::mirror_char;
pub use fx_coordinates::Matrix;
pub use fx_coordinates::Point;
pub use fx_coordinates::Rect;
pub use fx_coordinates::RectI;
pub use fx_coordinates::Size;
pub use fx_coordinates::Vector2D;
pub use fx_stream::CountingWriter;
pub use fx_stream::MemoryStream;
pub use fx_stream::PdfSource;
pub use fx_stream::PdfWrite;
pub use fx_system::is_float_zero;
pub use name::Name;
pub use widestring::WideString;

Modules§

bytestring
Encoding-aware PDF string type.
cfx_bitstream
Bit-level reader for binary data streams.
constants
Raw PDF specification constant values, organized 1:1 with upstream headers.
diagnostic
Diagnostic types for structured error reporting.
error
Error types for rpdfium.
fx_bidi
Unicode Bidirectional Algorithm (UAX #9) support.
fx_coordinates
Geometric types for PDF coordinate system.
fx_stream
PDF source data abstraction.
fx_system
Security limit constants for rpdfium.
name
PDF Name type.
widestring
Wide-character string type (upstream compatibility alias).

Structs§

OpenOptions
Options for opening a PDF document.

Enums§

ParsingMode
Parsing mode controlling how strictly the PDF specification is enforced.