DocTextFinderQuadInfo Class Documentation

class DocTextFinderQuadInfo

Namespace:datalogics_interface

Detailed Description

A bounding box quad of a character in a PDF file that was part of a string that matched a given regular expression.

Bounding box quad information for a character match, including page number.

Referenced by

Uses types

Constructor & Destructor Documentation

DocTextFinderQuadInfo

DocTextFinderQuadInfo()

Default constructor. Produces an empty quad-info object on page 0.

DocTextFinderQuadInfo

DocTextFinderQuadInfo(int page_num, std::vector< Quad > quads)

Parameters

page_num: int

Zero-based page number where the match occurred.

quads: std::vector< Quad >

Bounding-box quads covering the match on that page.

Construct a quad-info from a page number and a list of bounding boxes.

Member Function Documentation

get_page_num

int get_page_num()

Returns:

int

The zero-based page number where the matching text quad is located.

Gets the page number that the quad was found on.