Switched some PDF code to the new DOM abstraction.
Implemented 'getTextContent' in DOM.