1 | <?php |
||
27 | class BSE |
||
28 | { |
||
29 | const BLIPTYPE_ERROR = 0x00; |
||
30 | const BLIPTYPE_UNKNOWN = 0x01; |
||
31 | const BLIPTYPE_EMF = 0x02; |
||
32 | const BLIPTYPE_WMF = 0x03; |
||
33 | const BLIPTYPE_PICT = 0x04; |
||
34 | const BLIPTYPE_JPEG = 0x05; |
||
35 | const BLIPTYPE_PNG = 0x06; |
||
36 | const BLIPTYPE_DIB = 0x07; |
||
37 | const BLIPTYPE_TIFF = 0x11; |
||
38 | const BLIPTYPE_CMYKJPEG = 0x12; |
||
39 | |||
40 | /** |
||
41 | * The parent BLIP Store Entry Container |
||
42 | * |
||
43 | * @var \PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer |
||
44 | */ |
||
45 | private $parent; |
||
46 | |||
47 | /** |
||
48 | * The BLIP (Big Large Image or Picture) |
||
49 | * |
||
50 | * @var BSE\Blip |
||
51 | */ |
||
52 | private $blip; |
||
53 | |||
54 | /** |
||
55 | * The BLIP type |
||
56 | * |
||
57 | * @var int |
||
58 | */ |
||
59 | private $blipType; |
||
60 | |||
61 | /** |
||
62 | * Set parent BLIP Store Entry Container |
||
63 | * |
||
64 | * @param \PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer $parent |
||
65 | */ |
||
66 | 7 | public function setParent($parent) |
|
70 | |||
71 | /** |
||
72 | * Get the BLIP |
||
73 | * |
||
74 | * @return BSE\Blip |
||
75 | */ |
||
76 | 2 | public function getBlip() |
|
80 | |||
81 | /** |
||
82 | * Set the BLIP |
||
83 | * |
||
84 | * @param BSE\Blip $blip |
||
85 | */ |
||
86 | 7 | public function setBlip($blip) |
|
91 | |||
92 | /** |
||
93 | * Get the BLIP type |
||
94 | * |
||
95 | * @return int |
||
96 | */ |
||
97 | 2 | public function getBlipType() |
|
101 | |||
102 | /** |
||
103 | * Set the BLIP type |
||
104 | * |
||
105 | * @param int |
||
106 | */ |
||
107 | 7 | public function setBlipType($blipType) |
|
111 | } |
||
112 |