Essentially complete multi-page version of ActiveOcrStep7.