BSE.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. class PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
  8. {
  9. const BLIPTYPE_ERROR = 0x00;
  10. const BLIPTYPE_UNKNOWN = 0x01;
  11. const BLIPTYPE_EMF = 0x02;
  12. const BLIPTYPE_WMF = 0x03;
  13. const BLIPTYPE_PICT = 0x04;
  14. const BLIPTYPE_JPEG = 0x05;
  15. const BLIPTYPE_PNG = 0x06;
  16. const BLIPTYPE_DIB = 0x07;
  17. const BLIPTYPE_TIFF = 0x11;
  18. const BLIPTYPE_CMYKJPEG = 0x12;
  19. /**
  20. * The parent BLIP Store Entry Container
  21. *
  22. * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer
  23. */
  24. private $parent;
  25. /**
  26. * The BLIP (Big Large Image or Picture)
  27. *
  28. * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
  29. */
  30. private $blip;
  31. /**
  32. * The BLIP type
  33. *
  34. * @var int
  35. */
  36. private $blipType;
  37. /**
  38. * Set parent BLIP Store Entry Container
  39. *
  40. * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $parent
  41. */
  42. public function setParent($parent)
  43. {
  44. $this->parent = $parent;
  45. }
  46. /**
  47. * Get the BLIP
  48. *
  49. * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
  50. */
  51. public function getBlip()
  52. {
  53. return $this->blip;
  54. }
  55. /**
  56. * Set the BLIP
  57. *
  58. * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip $blip
  59. */
  60. public function setBlip($blip)
  61. {
  62. $this->blip = $blip;
  63. $blip->setParent($this);
  64. }
  65. /**
  66. * Get the BLIP type
  67. *
  68. * @return int
  69. */
  70. public function getBlipType()
  71. {
  72. return $this->blipType;
  73. }
  74. /**
  75. * Set the BLIP type
  76. *
  77. * @param int
  78. */
  79. public function setBlipType($blipType)
  80. {
  81. $this->blipType = $blipType;
  82. }
  83. }