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 - 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
  30.  *
  31.  * @category   PHPExcel
  32.  * @package    PHPExcel_Shared_Escher
  33.  * @copyright  Copyright (c) 2006 - 2011 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.      * Array of identifier clusters containg information about the maximum shape identifiers
  73.      *
  74.      * @var array 
  75.      */
  76.     private $_IDCLs array();
  77.  
  78.     /**
  79.      * Get maximum shape index of all shapes in all drawings (plus one)
  80.      *
  81.      * @return int 
  82.      */
  83.     public function getSpIdMax()
  84.     {
  85.         return $this->_spIdMax;
  86.     }
  87.  
  88.     /**
  89.      * Set maximum shape index of all shapes in all drawings (plus one)
  90.      *
  91.      * @param int 
  92.      */
  93.     public function setSpIdMax($value)
  94.     {
  95.         $this->_spIdMax $value;
  96.     }
  97.  
  98.     /**
  99.      * Get total number of drawings saved
  100.      *
  101.      * @return int 
  102.      */
  103.     public function getCDgSaved()
  104.     {
  105.         return $this->_cDgSaved;
  106.     }
  107.  
  108.     /**
  109.      * Set total number of drawings saved
  110.      *
  111.      * @param int 
  112.      */
  113.     public function setCDgSaved($value)
  114.     {
  115.         $this->_cDgSaved $value;
  116.     }
  117.  
  118.     /**
  119.      * Get total number of shapes saved (including group shapes)
  120.      *
  121.      * @return int 
  122.      */
  123.     public function getCSpSaved()
  124.     {
  125.         return $this->_cSpSaved;
  126.     }
  127.  
  128.     /**
  129.      * Set total number of shapes saved (including group shapes)
  130.      *
  131.      * @param int 
  132.      */
  133.     public function setCSpSaved($value)
  134.     {
  135.         $this->_cSpSaved $value;
  136.     }
  137.  
  138.     /**
  139.      * Get BLIP Store Container
  140.      *
  141.      * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer 
  142.      */
  143.     public function getBstoreContainer()
  144.     {
  145.         return $this->_bstoreContainer;
  146.     }
  147.  
  148.     /**
  149.      * Set BLIP Store Container
  150.      *
  151.      * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $bstoreContainer 
  152.      */
  153.     public function setBstoreContainer($bstoreContainer)
  154.     {
  155.         $this->_bstoreContainer $bstoreContainer;
  156.     }
  157.  
  158.     /**
  159.      * Set an option for the drawing group
  160.      *
  161.      * @param int $property The number specifies the option
  162.      * @param mixed $value 
  163.      */
  164.     public function setOPT($property$value)
  165.     {
  166.         $this->_OPT[$property$value;
  167.     }
  168.  
  169.     /**
  170.      * Get an option for the drawing group
  171.      *
  172.      * @param int $property The number specifies the option
  173.      * @return mixed 
  174.      */
  175.     public function getOPT($property)
  176.     {
  177.         if (isset($this->_OPT[$property])) {
  178.             return $this->_OPT[$property];
  179.         }
  180.         return null;
  181.     }
  182.  
  183.     /**
  184.      * Get identifier clusters
  185.      *
  186.      * @return array 
  187.      */
  188.     public function getIDCLs()
  189.     {
  190.         return $this->_IDCLs;
  191.     }
  192.  
  193.     /**
  194.      * Set identifier clusters. array(<drawingId> => <max shape id>, ...)
  195.      *
  196.      * @param array $pValue 
  197.      */
  198.     public function setIDCLs($pValue)
  199.     {
  200.         $this->_IDCLs $pValue;
  201.     }
  202. }

Documentation generated on Sun, 27 Feb 2011 16:30:10 -0800 by phpDocumentor 1.4.3