Subversion Repositories eFlore/Applications.cel

Rev

Rev 2388 | Details | Compare with Previous | Last modification | View Log | RSS feed

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