1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* Copyright (c) 2006 - 2016 PhpSpreadsheet |
7
|
|
|
* |
8
|
|
|
* This library is free software; you can redistribute it and/or |
9
|
|
|
* modify it under the terms of the GNU Lesser General Public |
10
|
|
|
* License as published by the Free Software Foundation; either |
11
|
|
|
* version 2.1 of the License, or (at your option) any later version. |
12
|
|
|
* |
13
|
|
|
* This library is distributed in the hope that it will be useful, |
14
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16
|
|
|
* Lesser General Public License for more details. |
17
|
|
|
* |
18
|
|
|
* You should have received a copy of the GNU Lesser General Public |
19
|
|
|
* License along with this library; if not, write to the Free Software |
20
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21
|
|
|
* |
22
|
|
|
* @category PhpSpreadsheet |
23
|
|
|
* @copyright Copyright (c) 2006 - 2016 PhpSpreadsheet (https://github.com/PHPOffice/PhpSpreadsheet) |
24
|
|
|
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL |
25
|
|
|
* @version ##VERSION##, ##DATE## |
26
|
|
|
*/ |
27
|
|
|
class BstoreContainer |
28
|
|
|
{ |
29
|
|
|
/** |
30
|
|
|
* BLIP Store Entries. Each of them holds one BLIP (Big Large Image or Picture) |
31
|
|
|
* |
32
|
|
|
* @var array |
33
|
|
|
*/ |
34
|
|
|
private $BSECollection = []; |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* Add a BLIP Store Entry |
38
|
|
|
* |
39
|
|
|
* @param BstoreContainer\BSE $BSE |
40
|
|
|
*/ |
41
|
7 |
|
public function addBSE($BSE) |
42
|
|
|
{ |
43
|
7 |
|
$this->BSECollection[] = $BSE; |
44
|
7 |
|
$BSE->setParent($this); |
45
|
7 |
|
} |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* Get the collection of BLIP Store Entries |
49
|
|
|
* |
50
|
|
|
* @return BstoreContainer\BSE[] |
51
|
|
|
*/ |
52
|
2 |
|
public function getBSECollection() |
53
|
|
|
{ |
54
|
2 |
|
return $this->BSECollection; |
55
|
|
|
} |
56
|
|
|
} |
57
|
|
|
|