Structure representing a single page extracted from a multi-page document.
Matches the Rust PageContent struct.
Fields
:page_number- Page number (0-indexed in Rust):content- Text content extracted from this page:tables- Tables found on this page:images- Images found on this page:hierarchy- Optional hierarchy information (heading levels and blocks):is_blank- Whether the page is blank (nil if unknown)
Examples
iex> page = %Kreuzberg.Page{
...> page_number: 0,
...> content: "Page 1 content here"
...> }
iex> page.page_number
0
Summary
Types
@type t() :: %Kreuzberg.Page{ content: String.t(), hierarchy: Kreuzberg.PageHierarchy.t() | nil, images: [Kreuzberg.Image.t()], is_blank: boolean() | nil, page_number: non_neg_integer(), tables: [Kreuzberg.Table.t()] }