code: private byte[] getContentBytesForPage(int pageNum) throws IOException {
          RandomAccessFileOrArray f = reader.getSafeFile();
          byte[] contentBytes = reader.getPageContent(pageNum, f);
          f.close();
          return contentBytes;
      }
docs: Gets the content stream of a page.
  @param pageNum	the page number of page you want get the content stream from
  @return	a byte array with the content stream of a page
  @throws IOException