Blip.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php
  2. /**
  3. * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
  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_Blip
  28. {
  29. /**
  30. * The parent BSE
  31. *
  32. * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
  33. */
  34. private $parent;
  35. /**
  36. * Raw image data
  37. *
  38. * @var string
  39. */
  40. private $data;
  41. /**
  42. * Get the raw image data
  43. *
  44. * @return string
  45. */
  46. public function getData()
  47. {
  48. return $this->data;
  49. }
  50. /**
  51. * Set the raw image data
  52. *
  53. * @param string
  54. */
  55. public function setData($data)
  56. {
  57. $this->data = $data;
  58. }
  59. /**
  60. * Set parent BSE
  61. *
  62. * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $parent
  63. */
  64. public function setParent($parent)
  65. {
  66. $this->parent = $parent;
  67. }
  68. /**
  69. * Get parent BSE
  70. *
  71. * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $parent
  72. */
  73. public function getParent()
  74. {
  75. return $this->parent;
  76. }
  77. }