1: <?php
2: /**
3: * PHPExcel
4: *
5: * Copyright (c) 2006 - 2014 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 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
24: * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25: * @version 1.8.0, 2014-03-02
26: */
27:
28: /**
29: * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
30: *
31: * @category PHPExcel
32: * @package PHPExcel_Shared_Escher
33: * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
34: */
35: class PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
36: {
37: const BLIPTYPE_ERROR = 0x00;
38: const BLIPTYPE_UNKNOWN = 0x01;
39: const BLIPTYPE_EMF = 0x02;
40: const BLIPTYPE_WMF = 0x03;
41: const BLIPTYPE_PICT = 0x04;
42: const BLIPTYPE_JPEG = 0x05;
43: const BLIPTYPE_PNG = 0x06;
44: const BLIPTYPE_DIB = 0x07;
45: const BLIPTYPE_TIFF = 0x11;
46: const BLIPTYPE_CMYKJPEG = 0x12;
47:
48: /**
49: * The parent BLIP Store Entry Container
50: *
51: * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer
52: */
53: private $_parent;
54:
55: /**
56: * The BLIP (Big Large Image or Picture)
57: *
58: * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
59: */
60: private $_blip;
61:
62: /**
63: * The BLIP type
64: *
65: * @var int
66: */
67: private $_blipType;
68:
69: /**
70: * Set parent BLIP Store Entry Container
71: *
72: * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $parent
73: */
74: public function setParent($parent)
75: {
76: $this->_parent = $parent;
77: }
78:
79: /**
80: * Get the BLIP
81: *
82: * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
83: */
84: public function getBlip()
85: {
86: return $this->_blip;
87: }
88:
89: /**
90: * Set the BLIP
91: *
92: * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip $blip
93: */
94: public function setBlip($blip)
95: {
96: $this->_blip = $blip;
97: $blip->setParent($this);
98: }
99:
100: /**
101: * Get the BLIP type
102: *
103: * @return int
104: */
105: public function getBlipType()
106: {
107: return $this->_blipType;
108: }
109:
110: /**
111: * Set the BLIP type
112: *
113: * @param int
114: */
115: public function setBlipType($blipType)
116: {
117: $this->_blipType = $blipType;
118: }
119:
120: }
121: