[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/phpexcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/ -> BSE.php (source)

   1  <?php
   2  
   3  /**
   4   * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
   5   *
   6   * Copyright (c) 2006 - 2015 PHPExcel
   7   *
   8   * This library is free software; you can redistribute it and/or
   9   * modify it under the terms of the GNU Lesser General Public
  10   * License as published by the Free Software Foundation; either
  11   * version 2.1 of the License, or (at your option) any later version.
  12   *
  13   * This library is distributed in the hope that it will be useful,
  14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16   * Lesser General Public License for more details.
  17   *
  18   * You should have received a copy of the GNU Lesser General Public
  19   * License along with this library; if not, write to the Free Software
  20   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  21   *
  22   * @category   PHPExcel
  23   * @package    PHPExcel_Shared_Escher
  24   * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
  25   * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
  26   * @version    ##VERSION##, ##DATE##
  27   */
  28  class PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
  29  {
  30      const BLIPTYPE_ERROR    = 0x00;
  31      const BLIPTYPE_UNKNOWN  = 0x01;
  32      const BLIPTYPE_EMF      = 0x02;
  33      const BLIPTYPE_WMF      = 0x03;
  34      const BLIPTYPE_PICT     = 0x04;
  35      const BLIPTYPE_JPEG     = 0x05;
  36      const BLIPTYPE_PNG      = 0x06;
  37      const BLIPTYPE_DIB      = 0x07;
  38      const BLIPTYPE_TIFF     = 0x11;
  39      const BLIPTYPE_CMYKJPEG = 0x12;
  40  
  41      /**
  42       * The parent BLIP Store Entry Container
  43       *
  44       * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer
  45       */
  46      private $parent;
  47  
  48      /**
  49       * The BLIP (Big Large Image or Picture)
  50       *
  51       * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
  52       */
  53      private $blip;
  54  
  55      /**
  56       * The BLIP type
  57       *
  58       * @var int
  59       */
  60      private $blipType;
  61  
  62      /**
  63       * Set parent BLIP Store Entry Container
  64       *
  65       * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $parent
  66       */
  67      public function setParent($parent)
  68      {
  69          $this->parent = $parent;
  70      }
  71  
  72      /**
  73       * Get the BLIP
  74       *
  75       * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
  76       */
  77      public function getBlip()
  78      {
  79          return $this->blip;
  80      }
  81  
  82      /**
  83       * Set the BLIP
  84       *
  85       * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip $blip
  86       */
  87      public function setBlip($blip)
  88      {
  89          $this->blip = $blip;
  90          $blip->setParent($this);
  91      }
  92  
  93      /**
  94       * Get the BLIP type
  95       *
  96       * @return int
  97       */
  98      public function getBlipType()
  99      {
 100          return $this->blipType;
 101      }
 102  
 103      /**
 104       * Set the BLIP type
 105       *
 106       * @param int
 107       */
 108      public function setBlipType($blipType)
 109      {
 110          $this->blipType = $blipType;
 111      }
 112  }


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1