PdfInspector.PagesResult (pdf_inspector_ex v0.1.0)

Copy Markdown View Source

Result of PdfInspector.extract_pages/2.

pages entries carry 0-indexed page numbers, while the process-level lists (pages_needing_ocr, pages_with_tables, pages_with_columns, ocr_reasons_by_page) are 1-indexed.

Summary

Types

t()

@type t() :: %PdfInspector.PagesResult{
  is_complex: boolean(),
  ocr_reasons_by_page: [PdfInspector.PageOcrReasons.t()],
  pages: [PdfInspector.PageMarkdown.t()],
  pages_needing_ocr: [pos_integer()],
  pages_with_columns: [pos_integer()],
  pages_with_tables: [pos_integer()]
}