5
* Copyright (c) 2006 - 2009 PHPExcel
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.
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.
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
22
* @package PHPExcel_Shared_Escher
23
* @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
24
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25
* @version 1.6.7, 2009-04-22
29
* PHPExcel_Shared_Escher_DggContainer
32
* @package PHPExcel_Shared_Escher
33
* @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
35
class PHPExcel_Shared_Escher_DggContainer
38
* Maximum shape index of all shapes in all drawings increased by one
45
* Total number of drawings saved
52
* Total number of shapes saved (including group shapes)
59
* BLIP Store Container
61
* @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer
63
private $_bstoreContainer;
66
* Array of options for the drawing group
70
private $_OPT = array();
73
* Get maximum shape index of all shapes in all drawings (plus one)
77
public function getSpIdMax()
79
return $this->_spIdMax;
83
* Set maximum shape index of all shapes in all drawings (plus one)
87
public function setSpIdMax($value)
89
$this->_spIdMax = $value;
93
* Get total number of drawings saved
97
public function getCDgSaved()
99
return $this->_cDgSaved;
103
* Set total number of drawings saved
107
public function setCDgSaved($value)
109
$this->_cDgSaved = $value;
113
* Get total number of shapes saved (including group shapes)
117
public function getCSpSaved()
119
return $this->_cSpSaved;
123
* Set total number of shapes saved (including group shapes)
127
public function setCSpSaved($value)
129
$this->_cSpSaved = $value;
133
* Get BLIP Store Container
135
* @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer
137
public function getBstoreContainer()
139
return $this->_bstoreContainer;
143
* Set BLIP Store Container
145
* @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $bstoreContainer
147
public function setBstoreContainer($bstoreContainer)
149
$this->_bstoreContainer = $bstoreContainer;
153
* Set an option for the drawing group
155
* @param int $property The number specifies the option
156
* @param mixed $value
158
public function setOPT($property, $value)
160
$this->_OPT[$property] = $value;
164
* Get an option for the drawing group
166
* @param int $property The number specifies the option
169
public function getOPT($property)
171
if (isset($this->_OPT[$property])) {
172
return $this->_OPT[$property];