[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * PHPExcel_Shared_Escher_DggContainer
   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
  29  {
  30      /**
  31       * Maximum shape index of all shapes in all drawings increased by one
  32       *
  33       * @var int
  34       */
  35      private $spIdMax;
  36  
  37      /**
  38       * Total number of drawings saved
  39       *
  40       * @var int
  41       */
  42      private $cDgSaved;
  43  
  44      /**
  45       * Total number of shapes saved (including group shapes)
  46       *
  47       * @var int
  48       */
  49      private $cSpSaved;
  50  
  51      /**
  52       * BLIP Store Container
  53       *
  54       * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer
  55       */
  56      private $bstoreContainer;
  57  
  58      /**
  59       * Array of options for the drawing group
  60       *
  61       * @var array
  62       */
  63      private $OPT = array();
  64  
  65      /**
  66       * Array of identifier clusters containg information about the maximum shape identifiers
  67       *
  68       * @var array
  69       */
  70      private $IDCLs = array();
  71  
  72      /**
  73       * Get maximum shape index of all shapes in all drawings (plus one)
  74       *
  75       * @return int
  76       */
  77      public function getSpIdMax()
  78      {
  79          return $this->spIdMax;
  80      }
  81  
  82      /**
  83       * Set maximum shape index of all shapes in all drawings (plus one)
  84       *
  85       * @param int
  86       */
  87      public function setSpIdMax($value)
  88      {
  89          $this->spIdMax = $value;
  90      }
  91  
  92      /**
  93       * Get total number of drawings saved
  94       *
  95       * @return int
  96       */
  97      public function getCDgSaved()
  98      {
  99          return $this->cDgSaved;
 100      }
 101  
 102      /**
 103       * Set total number of drawings saved
 104       *
 105       * @param int
 106       */
 107      public function setCDgSaved($value)
 108      {
 109          $this->cDgSaved = $value;
 110      }
 111  
 112      /**
 113       * Get total number of shapes saved (including group shapes)
 114       *
 115       * @return int
 116       */
 117      public function getCSpSaved()
 118      {
 119          return $this->cSpSaved;
 120      }
 121  
 122      /**
 123       * Set total number of shapes saved (including group shapes)
 124       *
 125       * @param int
 126       */
 127      public function setCSpSaved($value)
 128      {
 129          $this->cSpSaved = $value;
 130      }
 131  
 132      /**
 133       * Get BLIP Store Container
 134       *
 135       * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer
 136       */
 137      public function getBstoreContainer()
 138      {
 139          return $this->bstoreContainer;
 140      }
 141  
 142      /**
 143       * Set BLIP Store Container
 144       *
 145       * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $bstoreContainer
 146       */
 147      public function setBstoreContainer($bstoreContainer)
 148      {
 149          $this->bstoreContainer = $bstoreContainer;
 150      }
 151  
 152      /**
 153       * Set an option for the drawing group
 154       *
 155       * @param int $property The number specifies the option
 156       * @param mixed $value
 157       */
 158      public function setOPT($property, $value)
 159      {
 160          $this->OPT[$property] = $value;
 161      }
 162  
 163      /**
 164       * Get an option for the drawing group
 165       *
 166       * @param int $property The number specifies the option
 167       * @return mixed
 168       */
 169      public function getOPT($property)
 170      {
 171          if (isset($this->OPT[$property])) {
 172              return $this->OPT[$property];
 173          }
 174          return null;
 175      }
 176  
 177      /**
 178       * Get identifier clusters
 179       *
 180       * @return array
 181       */
 182      public function getIDCLs()
 183      {
 184          return $this->IDCLs;
 185      }
 186  
 187      /**
 188       * Set identifier clusters. array(<drawingId> => <max shape id>, ...)
 189       *
 190       * @param array $pValue
 191       */
 192      public function setIDCLs($pValue)
 193      {
 194          $this->IDCLs = $pValue;
 195      }
 196  }


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