For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
2.8 KiB

  1. <?php
  2. /**
  3. * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
  4. *
  5. * Copyright (c) 2006 - 2015 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 - 2015 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. class PHPExcel_Shared_Escher_DggContainer_BstoreContainer_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. * The parent BLIP Store Entry Container
  41. *
  42. * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer
  43. */
  44. private $parent;
  45. /**
  46. * The BLIP (Big Large Image or Picture)
  47. *
  48. * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
  49. */
  50. private $blip;
  51. /**
  52. * The BLIP type
  53. *
  54. * @var int
  55. */
  56. private $blipType;
  57. /**
  58. * Set parent BLIP Store Entry Container
  59. *
  60. * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $parent
  61. */
  62. public function setParent($parent)
  63. {
  64. $this->parent = $parent;
  65. }
  66. /**
  67. * Get the BLIP
  68. *
  69. * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
  70. */
  71. public function getBlip()
  72. {
  73. return $this->blip;
  74. }
  75. /**
  76. * Set the BLIP
  77. *
  78. * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip $blip
  79. */
  80. public function setBlip($blip)
  81. {
  82. $this->blip = $blip;
  83. $blip->setParent($this);
  84. }
  85. /**
  86. * Get the BLIP type
  87. *
  88. * @return int
  89. */
  90. public function getBlipType()
  91. {
  92. return $this->blipType;
  93. }
  94. /**
  95. * Set the BLIP type
  96. *
  97. * @param int
  98. */
  99. public function setBlipType($blipType)
  100. {
  101. $this->blipType = $blipType;
  102. }
  103. }