File indexing completed on 2025-01-19 05:21:21
0001 <?php 0002 /** 0003 * Zend Framework 0004 * 0005 * LICENSE 0006 * 0007 * This source file is subject to the new BSD license that is bundled 0008 * with this package in the file LICENSE.txt. 0009 * It is also available through the world-wide-web at this URL: 0010 * http://framework.zend.com/license/new-bsd 0011 * If you did not receive a copy of the license and are unable to 0012 * obtain it through the world-wide-web, please send an email 0013 * to license@zend.com so we can send you a copy immediately. 0014 * 0015 * @category Zend 0016 * @package Zend_Pdf 0017 * @subpackage FileParser 0018 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0019 * @license http://framework.zend.com/license/new-bsd New BSD License 0020 * @version $Id$ 0021 */ 0022 0023 0024 /** Internally used classes */ 0025 0026 /** Zend_Pdf_Image */ 0027 // require_once 'Zend/Pdf/Image.php'; 0028 0029 0030 /** Zend_Pdf_FileParser */ 0031 // require_once 'Zend/Pdf/FileParser.php'; 0032 0033 /** 0034 * FileParser for Zend_Pdf_Image subclasses. 0035 * 0036 * @package Zend_Pdf 0037 * @subpackage FileParser 0038 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0039 * @license http://framework.zend.com/license/new-bsd New BSD License 0040 */ 0041 abstract class Zend_Pdf_FileParser_Image extends Zend_Pdf_FileParser 0042 { 0043 /** 0044 * Image Type 0045 * 0046 * @var integer 0047 */ 0048 protected $imageType; 0049 0050 /** 0051 * Object constructor. 0052 * 0053 * Validates the data source and enables debug logging if so configured. 0054 * 0055 * @param Zend_Pdf_FileParserDataSource $dataSource 0056 * @throws Zend_Pdf_Exception 0057 */ 0058 public function __construct(Zend_Pdf_FileParserDataSource $dataSource) 0059 { 0060 parent::__construct($dataSource); 0061 $this->imageType = Zend_Pdf_Image::TYPE_UNKNOWN; 0062 } 0063 }