code: public function htmlFromPdfStream($content, $saveToFile = null)
      {
          $temp = tempnam(sys_get_temp_dir(), 'pdfbox');
          file_put_contents($temp, $content);
          $command = $this->prepareCommand($temp, $saveToFile, true);
          $command->setAsHtml(true);
          return $this->execute($command);
      }
docs: /* (non-PHPdoc)
  @see SGH\PdfBox.PdfConverter::htmlFromPdfStream()