You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.7 KiB

11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
10 years ago
11 years ago
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Pdf
  17. * @subpackage FileParser
  18. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. /** Internally used classes */
  23. /** Zend_Pdf_Image */
  24. // require_once 'Zend/Pdf/Image.php';
  25. /** Zend_Pdf_FileParser */
  26. // require_once 'Zend/Pdf/FileParser.php';
  27. /**
  28. * FileParser for Zend_Pdf_Image subclasses.
  29. *
  30. * @package Zend_Pdf
  31. * @subpackage FileParser
  32. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  33. * @license http://framework.zend.com/license/new-bsd New BSD License
  34. */
  35. abstract class Zend_Pdf_FileParser_Image extends Zend_Pdf_FileParser
  36. {
  37. /**
  38. * Image Type
  39. *
  40. * @var integer
  41. */
  42. protected $imageType;
  43. /**
  44. * Object constructor.
  45. *
  46. * Validates the data source and enables debug logging if so configured.
  47. *
  48. * @param Zend_Pdf_FileParserDataSource $dataSource
  49. * @throws Zend_Pdf_Exception
  50. */
  51. public function __construct(Zend_Pdf_FileParserDataSource $dataSource)
  52. {
  53. parent::__construct($dataSource);
  54. $this->imageType = Zend_Pdf_Image::TYPE_UNKNOWN;
  55. }
  56. }