~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer.php

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2010-03-08 15:25:00 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100308152500-6e8hmuqc5co39de5
Tags: 4:3.3.0-1
* New upstream version.
* Rediff debian/patches.
* Fix permissions on mediawiki export extension.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * PHPExcel
 
4
 *
 
5
 * Copyright (c) 2006 - 2009 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 - 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
 
26
 */
 
27
 
 
28
/**
 
29
 * PHPExcel_Shared_Escher_DggContainer
 
30
 *
 
31
 * @category   PHPExcel
 
32
 * @package    PHPExcel_Shared_Escher
 
33
 * @copyright  Copyright (c) 2006 - 2009 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
         * 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
}