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

Source for file DggContainer.php

Documentation is available at DggContainer.php

  1. <?php
  2. /**
  3.  * PHPExcel
  4.  *
  5.  * Copyright (c) 2006 - 2010 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 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
  24.  * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
  25.  * @version    1.7.3c, 2010-06-01
  26.  */
  27.  
  28. /**
  29.  * PHPExcel_Shared_Escher_DggContainer
  30.  *
  31.  * @category   PHPExcel
  32.  * @package    PHPExcel_Shared_Escher
  33.  * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
  34.  */
  35. {
  36.     /**
  37.      * Maximum shape index of all shapes in all drawings increased by one
  38.      *
  39.      * @var int 
  40.      */
  41.     private $_spIdMax;
  42.  
  43.     /**
  44.      * Total number of drawings saved
  45.      *
  46.      * @var int 
  47.      */
  48.     private $_cDgSaved;
  49.  
  50.     /**
  51.      * Total number of shapes saved (including group shapes)
  52.      *
  53.      * @var int 
  54.      */
  55.     private $_cSpSaved;
  56.  
  57.     /**
  58.      * BLIP Store Container
  59.      *
  60.      * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer 
  61.      */
  62.     private $_bstoreContainer;
  63.  
  64.     /**
  65.      * Array of options for the drawing group
  66.      *
  67.      * @var array 
  68.      */
  69.     private $_OPT array();
  70.  
  71.     /**
  72.      * Get maximum shape index of all shapes in all drawings (plus one)
  73.      *
  74.      * @return int 
  75.      */
  76.     public function getSpIdMax()
  77.     {
  78.         return $this->_spIdMax;
  79.     }
  80.  
  81.     /**
  82.      * Set maximum shape index of all shapes in all drawings (plus one)
  83.      *
  84.      * @param int 
  85.      */
  86.     public function setSpIdMax($value)
  87.     {
  88.         $this->_spIdMax $value;
  89.     }
  90.  
  91.     /**
  92.      * Get total number of drawings saved
  93.      *
  94.      * @return int 
  95.      */
  96.     public function getCDgSaved()
  97.     {
  98.         return $this->_cDgSaved;
  99.     }
  100.  
  101.     /**
  102.      * Set total number of drawings saved
  103.      *
  104.      * @param int 
  105.      */
  106.     public function setCDgSaved($value)
  107.     {
  108.         $this->_cDgSaved $value;
  109.     }
  110.  
  111.     /**
  112.      * Get total number of shapes saved (including group shapes)
  113.      *
  114.      * @return int 
  115.      */
  116.     public function getCSpSaved()
  117.     {
  118.         return $this->_cSpSaved;
  119.     }
  120.  
  121.     /**
  122.      * Set total number of shapes saved (including group shapes)
  123.      *
  124.      * @param int 
  125.      */
  126.     public function setCSpSaved($value)
  127.     {
  128.         $this->_cSpSaved $value;
  129.     }
  130.  
  131.     /**
  132.      * Get BLIP Store Container
  133.      *
  134.      * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer 
  135.      */
  136.     public function getBstoreContainer()
  137.     {
  138.         return $this->_bstoreContainer;
  139.     }
  140.  
  141.     /**
  142.      * Set BLIP Store Container
  143.      *
  144.      * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $bstoreContainer 
  145.      */
  146.     public function setBstoreContainer($bstoreContainer)
  147.     {
  148.         $this->_bstoreContainer $bstoreContainer;
  149.     }
  150.  
  151.     /**
  152.      * Set an option for the drawing group
  153.      *
  154.      * @param int $property The number specifies the option
  155.      * @param mixed $value 
  156.      */
  157.     public function setOPT($property$value)
  158.     {
  159.         $this->_OPT[$property$value;
  160.     }
  161.  
  162.     /**
  163.      * Get an option for the drawing group
  164.      *
  165.      * @param int $property The number specifies the option
  166.      * @return mixed 
  167.      */
  168.     public function getOPT($property)
  169.     {
  170.         if (isset($this->_OPT[$property])) {
  171.             return $this->_OPT[$property];
  172.         }
  173.         return null;
  174.     }
  175.  
  176. }

Documentation generated on Tue, 01 Jun 2010 17:02:45 +0200 by phpDocumentor 1.4.3