What problem does it solve?
Developers building document extraction pipelines need format-specific guidance on how to parse DOCX, PPTX, ODT, PDF, archives, structured text, and email files while enforcing security budgets against hostile inputs like zip bombs and deeply nested messages.
Core Features & Use Cases
- Office XML Extraction: Parse DOCX, PPTX, and ODT files via streaming quick-xml readers with SecurityBudget enforcement and metadata helpers for core, custom, and app properties.
- PDF Processing: Extract per-page text with OCR fallback, page-range configuration, and pluggable native or pdfium backends.
- Archive & Email Handling: Validate ZIP/TAR/7z/GZIP archives with ZipBombValidator before extraction and parse EML/MSG/PST messages with bounded nesting depth.
- Use Case: When adding a new document format to the extraction pipeline, follow the registry-based workflow: add a FormatEntry to the FORMATS registry, implement InternalDocumentExtractor, register it, and apply SecurityLimits to user-supplied content.
Quick Start
Ask the AI to explain how to add a new document format extractor with security budget enforcement to the extraction pipeline.