code: public function domFromPdfStream($content, $saveToFile = null)
      {
          $dom = new \DOMDocument();
          $dom->loadHTML($this->htmlFromPdfStream($content, $saveToFile));
          return $dom;
      }
docs: /* (non-PHPdoc)
  @see SGH\PdfBox.PdfConverter::domFromPdfStream()