Esempio n. 1
0
 /**
  * Object constructor.
  *
  * Validates the data source and enables debug logging if so configured.
  *
  * @param Zend_Pdf_FileParserDataSource $dataSource
  * @throws Zend_Pdf_Exception
  */
 public function __construct(Zend_Pdf_FileParserDataSource $dataSource)
 {
     parent::__construct($dataSource);
     $this->imageType = Zend_Pdf_Image::TYPE_UNKNOWN;
 }
Esempio n. 2
0
 /**
  * Reads the Pascal string from the binary file at the current offset
  * location. Overridden to fix return character set at UTF-16BE.
  *
  * @param string $characterSet (optional) --Ignored--
  * @param integer $lengthBytes (optional) Number of bytes that make up the
  *   length. Default is 1.
  * @return string
  * @throws Zend_Pdf_Exception
  */
 public function readStringPascal($characterSet = '', $lengthBytes = 1)
 {
     return parent::readStringPascal('UTF-16BE');
 }