Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

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