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