Namespace DRIT.Document.Import.Pdf
Classes
DocumentPdfImporter
Imports PDF content into the existing Document model. DOCX serialization remains the responsibility of Save(string).
PdfContentBand
A deterministic vertical band of text on one PDF page.
PdfDocumentAnalysis
Complete deterministic document-wide Phase C analysis of the Phase B layout IR.
PdfDocumentAnalysisSerializer
Writes stable, dependency-free JSON for deterministic PDF document analysis.
PdfDocumentAnalyzer
Runs deterministic document-wide analysis over the Phase B PDF layout IR.
PdfImportBlockLayoutDecision
Evidence-backed layout selection for one reconstructed text block.
PdfImportDiagnostic
A diagnostic produced while importing a PDF.
PdfImportLayoutDecision
Deterministic page-level layout decision and the evidence that produced it.
PdfImportLayoutProfile
Deterministic thresholds and sanitization settings used by the PDF import layout stages.
PdfImportOptions
Options for the PDF importer.
PdfImportPageResult
Outcome and basic extraction counts for one imported PDF page.
PdfImportResult
Diagnostic-rich result returned by Import(Stream, PdfImportOptions, CancellationToken).
PdfLatticeTable
High-confidence lattice table inferred from normalized PDF geometry.
PdfLatticeTableCell
One editable cell inferred from a ruled PDF lattice.
PdfLatticeTableDetectionResult
Detection result and stable diagnostics for one normalized PDF page.
PdfLatticeTableDetector
Detects ruled/lattice tables from normalized horizontal and vertical path geometry. The detector deliberately rejects incomplete or ambiguous candidates instead of converting them into an incorrect editable table.
PdfLayoutBuilder
Builds the deterministic Phase B page/layout IR from the Phase A projection.
PdfLayoutColor
Normalized RGB color used by layout primitives.
PdfLayoutDocument
Immutable normalized PDF layout IR returned by Phase B.
PdfLayoutDocumentAnalysisExtensions
Convenience entry point for callers that already hold the Phase B document.
PdfLayoutGlyph
Immutable glyph geometry and source metadata retained from PDF extraction.
PdfLayoutImagePrimitive
Normalized image primitive. Pixel data remains owned by the PDF source.
PdfLayoutMatrix
Immutable affine matrix retained with a projected glyph.
PdfLayoutPage
Normalized page with crop-box-relative, top-left-origin geometry.
PdfLayoutPathPrimitive
Normalized vector path primitive with mapped construction points.
PdfLayoutPrimitive
Base immutable primitive in normalized page coordinates.
PdfLayoutPrimitiveClassifier
Classifies extraction records without depending on PDF implementation types.
PdfLayoutSnapshotSerializer
Writes a stable, dependency-free JSON snapshot of the Phase B layout IR.
PdfLayoutTextPrimitive
Normalized text primitive.
PdfLayoutUnknownPrimitive
Primitive classified by Phase B but not currently reconstructable.
PdfMarginAnalysis
Document-wide margin summary with per-page measurements.
PdfPageContentAnalysis
Content-band analysis for one page.
PdfPageMarginAnalysis
Margin measurements and evidence for one page.
PdfPageRange
A one-based inclusive range of PDF pages to import.
PdfPageTemplateGroup
A group of pages with the same deterministic layout signature.
PdfRepeatedHeaderFooterCandidate
A repeated header or footer candidate found across pages.
PdfTextBlock
A paragraph-like block made from adjacent reconstructed lines.
PdfTextLayoutDecision
Records the deterministic layout choice and confidence for one page.
PdfTextLine
A reconstructed line in deterministic left-to-right order.
PdfTextReconstructionBuilder
Reconstructs deterministic text structure from the Phase B layout IR. Glyph streams are authoritative for character order and spacing when they are complete; text primitive content and bounds remain the conservative fallback.
PdfTextReconstructionDocument
Immutable Phase C text reconstruction result built from the Phase B IR.
PdfTextReconstructionPage
Reconstructed text and diagnostics for one PDF page.
PdfTextReconstructionSerializer
Writes stable, dependency-free JSON for deterministic PDF text reconstruction.
PdfTextRun
A reconstructed text run backed by one or more Phase B text primitives.
PdfToWordCoordinateMapper
Deterministically maps PDF user-space coordinates to top-left-origin Word page coordinates. Crop-box origins and all PDF rotations are handled explicitly.
Structs
PdfLayoutPoint
Point in the normalized Word page coordinate system (points, origin at the top-left).
PdfLayoutRect
Axis-aligned rectangle in the normalized Word page coordinate system.
Enums
PdfAnalysisDecision
Decision made by a deterministic Phase C analysis.
PdfContentBandPosition
Vertical position of a content band on a normalized page.
PdfImportDiagnosticSeverity
Identifies the severity of an import diagnostic.
PdfImportFallbackAction
Identifies the action taken for a diagnostic.
PdfImportFallbackPolicy
Controls how content that is not currently representable is handled.
PdfImportFidelityMode
Controls whether imported content prioritizes the PDF's physical placement or reflow.
PdfImportLayoutChoice
Layout selected for a page or reconstructed text block.
PdfLayoutPrimitiveKind
Normalized primitive kinds emitted by the Phase B PDF layout projection.
PdfRepeatedHeaderFooterKind
Whether a repeated candidate is positioned as a header or footer.
PdfTextInputGranularity
Granularity available from the Phase B PDF extraction projection.
PdfTextReconstructionStrategy
Strategy selected for reconstructing text on a PDF page.