Versions in this module Expand all Collapse all v0 v0.2.0 Aug 8, 2026 Changes in this version + func ListMarker(txt string) rune type Block + Marker string + func (b *Block) SetMarker(marker string) + func (b *Block) StripMarker() bool + func (b Block) Enumerated() bool v0.1.0 Aug 5, 2026 Changes in this version + type Block struct + Alt string + Box geom.Rect + Lang string + Level int + MCIDs []int + Role Role + Spans []Span + func (b Block) IsEmpty() bool + func (b Block) Text() string + type Document struct + Meta Metadata + Pages []Page + func (d *Document) Text() string + type Metadata struct + Author string + Created string + Creator string + Encrypted bool + Keywords string + Lang string + Modified string + Path string + Producer string + Subject string + Tagged bool + Title string + Version string + type Outline struct + Meta Metadata + Preamble []Block + Sections []*Section + Unplaced []Page + func (o *Outline) Count() int + func (o *Outline) Walk(fn func(*Section) bool) + type Page struct + Blocks []Block + Box geom.Rect + Number int + Rasterized bool + Rotate int + func (p Page) Coverage() float64 + func (p Page) Text() string + func (p Page) TextBounds() geom.Rect + type Role string + const RoleArtifact + const RoleCaption + const RoleCode + const RoleFigure + const RoleHeading + const RoleListItem + const RoleParagraph + const RoleQuote + const RoleTableCell + type Section struct + Blocks []Block + FirstPage int + Kids []*Section + LastPage int + Level int + Number string + Parent *Section + Title string + func (s *Section) Path() []string + func (s *Section) Text() string + func (s *Section) Walk(fn func(*Section) bool) bool + type Span struct + Box geom.Rect + MCID int + Style Style + Text string + type Style struct + Bold bool + Font string + Hidden bool + Italic bool + Mono bool + Size float64 + func (s Style) SameRun(o Style, t geom.Tolerance) bool