PHPExcel_Shared_Escher
[ class tree: PHPExcel_Shared_Escher ] [ index: PHPExcel_Shared_Escher ] [ all elements ]

Source for file BSE.php

Documentation is available at BSE.php

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

Documentation generated on Sun, 27 Feb 2011 16:28:40 -0800 by phpDocumentor 1.4.3