Documentation
¶
Overview ¶
Package extract runs a page's content streams and collects every character drawn, positioned and sized, as layout input. It is a port of pdfminer.six's page interpreter and text device (pdfinterp.py, pdfdevice.py, and the character half of converter.py).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct {
// MaxOps bounds the operators run per page, against content built to
// never finish; zero means 10 million.
MaxOps int
// Paths records painted lines, rectangles and curves, which table
// detection needs and text extraction does not.
Paths bool
// contains filtered or unexported fields
}
Extractor reads pages of one document, sharing loaded fonts.