private void processPages( List pages ) throws IOException
{
Iterator pageIter = pages.iterator();
while( pageIter.hasNext() )
{
PDPage page = (PDPage)pageIter.next();
COSDictionary pageDictionary = page.getCOSDictionary();
COSBase contents = pageDictionary.getDictionaryObject( COSName.CONTENTS );
if( contents instanceof COSStream )
{
COSStream contentsStream = (COSStream)contents;
// System.err.println("stream");