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