Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]

   1  <?php
   2  
   3  namespace PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer;
   4  
   5  class BSE
   6  {
   7      const BLIPTYPE_ERROR = 0x00;
   8      const BLIPTYPE_UNKNOWN = 0x01;
   9      const BLIPTYPE_EMF = 0x02;
  10      const BLIPTYPE_WMF = 0x03;
  11      const BLIPTYPE_PICT = 0x04;
  12      const BLIPTYPE_JPEG = 0x05;
  13      const BLIPTYPE_PNG = 0x06;
  14      const BLIPTYPE_DIB = 0x07;
  15      const BLIPTYPE_TIFF = 0x11;
  16      const BLIPTYPE_CMYKJPEG = 0x12;
  17  
  18      /**
  19       * The parent BLIP Store Entry Container.
  20       *
  21       * @var \PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer
  22       */
  23      private $parent;
  24  
  25      /**
  26       * The BLIP (Big Large Image or Picture).
  27       *
  28       * @var BSE\Blip
  29       */
  30      private $blip;
  31  
  32      /**
  33       * The BLIP type.
  34       *
  35       * @var int
  36       */
  37      private $blipType;
  38  
  39      /**
  40       * Set parent BLIP Store Entry Container.
  41       *
  42       * @param \PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer $parent
  43       */
  44      public function setParent($parent)
  45      {
  46          $this->parent = $parent;
  47      }
  48  
  49      /**
  50       * Get the BLIP.
  51       *
  52       * @return BSE\Blip
  53       */
  54      public function getBlip()
  55      {
  56          return $this->blip;
  57      }
  58  
  59      /**
  60       * Set the BLIP.
  61       *
  62       * @param BSE\Blip $blip
  63       */
  64      public function setBlip($blip)
  65      {
  66          $this->blip = $blip;
  67          $blip->setParent($this);
  68      }
  69  
  70      /**
  71       * Get the BLIP type.
  72       *
  73       * @return int
  74       */
  75      public function getBlipType()
  76      {
  77          return $this->blipType;
  78      }
  79  
  80      /**
  81       * Set the BLIP type.
  82       *
  83       * @param int $blipType
  84       */
  85      public function setBlipType($blipType)
  86      {
  87          $this->blipType = $blipType;
  88      }
  89  }