Skip to content
Lamina PDF

ExtractedSource

ExtractedSource = object

The input, as ADR 0030 §1’s source describes it.

pageCount: number

The document’s page count.


optional sha256?: string | null

The input’s SHA-256 in hex: filled by the caller that holds the bytes (the façade), since a windowed source can’t be hashed without reading it whole.


structSource: StructSource

Where the reading order came from.


tagged: boolean

Whether the catalog’s /MarkInfo says /Marked true.