CommunityID/libs/Zend/Pdf/FileParser/Image.php

60 lines
1.7 KiB
PHP
Raw Normal View History

2019-07-17 20:08:50 +00:00
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@zend.com so we can send you a copy immediately.
*
2019-07-17 20:19:00 +00:00
* @category Zend
2019-07-17 20:08:50 +00:00
* @package Zend_Pdf
* @subpackage FileParser
2019-07-17 20:19:00 +00:00
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
2019-07-17 20:08:50 +00:00
* @license http://framework.zend.com/license/new-bsd New BSD License
2019-07-17 20:19:00 +00:00
* @version $Id: Image.php 17182 2009-07-27 13:54:11Z alexander $
2019-07-17 20:08:50 +00:00
*/
2019-07-17 20:16:19 +00:00
/**
* @see Zend_Pdf_FileParser
*/
2019-07-17 20:08:50 +00:00
require_once 'Zend/Pdf/FileParser.php';
/**
* FileParser for Zend_Pdf_Image subclasses.
*
* @package Zend_Pdf
* @subpackage FileParser
2019-07-17 20:19:00 +00:00
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
2019-07-17 20:08:50 +00:00
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Pdf_FileParser_Image extends Zend_Pdf_FileParser
{
2019-07-17 20:19:00 +00:00
/**
* Image Type
*
* @var integer
*/
2019-07-17 20:08:50 +00:00
protected $imageType;
/**
* 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);
2019-07-17 20:16:19 +00:00
$this->imageType = Zend_Pdf_Image::TYPE_UNKNOWN;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:19:00 +00:00
}