This demo shows a simple content stream parser which will catch text output operators.

Notice that you will not have direct access to the text in that demo. You should check out the demos of the SetaPDF-Extractor component for this task.