HPDFScanOCRLayoutToDOM
Converts a successful report into an owned, editable THPDFDOMStack
Unit
HPDFScanOCRWorkflow
Behaviour
Heading lines become AddHeading nodes and other lines become AddText nodes in analysed reading order; the caller frees the DOM stack