IHPDFTextEntityDetector Interface
function Detect(
const Request: THPDFTextEntityDetectionRequest;
out Results: THPDFTextEntityResults;
out Diagnostic: AnsiString): boolean;
GetName supplies a diagnostic engine name while Detect returns zero-based UTF-16 spans, categories, and confidence values
The detector must honor MaxResults and cancellation, must not retain the request text or token, and must return False with a diagnostic for an operational failure
HotPDF validates every span and maps accepted ranges through extracted character quadrilaterals into page-space findings