NAME

PDF::Make::Extract - Extract text, annotations, forms, and tables from PDF pages

SYNOPSIS

use PDF::Make::Parser;
use PDF::Make::Extract;

my $parser = PDF::Make::Parser->from_file('document.pdf');
my $text = PDF::Make::Extract->extract($parser, 0);
print $text;

METHODS

extract($parser, $page_index)

Extract plain text from a page. Returns a UTF-8 string. For structured extraction (words with coordinates, annotations, tables) prefer the higher-level extract_structured, extract_annotations, and detect_tables methods on PDF::Make::Builder.

SEE ALSO

PDF::Make::Extract::Result, PDF::Make::Builder