@@ 575-582 (lines=8) @@ | ||
572 | $dataSection_NumProps++; |
|
573 | ||
574 | // GKPIDDSI_CATEGORY : Category |
|
575 | if ($this->spreadsheet->getProperties()->getCategory()) { |
|
576 | $dataProp = $this->spreadsheet->getProperties()->getCategory(); |
|
577 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), |
|
578 | 'offset' => array('pack' => 'V'), |
|
579 | 'type' => array('pack' => 'V', 'data' => 0x1E), |
|
580 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
581 | $dataSection_NumProps++; |
|
582 | } |
|
583 | // GKPIDDSI_VERSION :Version of the application that wrote the property storage |
|
584 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x17), |
|
585 | 'offset' => array('pack' => 'V'), |
|
@@ 771-778 (lines=8) @@ | ||
768 | $dataSection_NumProps++; |
|
769 | ||
770 | // Title |
|
771 | if ($this->spreadsheet->getProperties()->getTitle()) { |
|
772 | $dataProp = $this->spreadsheet->getProperties()->getTitle(); |
|
773 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), |
|
774 | 'offset' => array('pack' => 'V'), |
|
775 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
776 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
777 | $dataSection_NumProps++; |
|
778 | } |
|
779 | // Subject |
|
780 | if ($this->spreadsheet->getProperties()->getSubject()) { |
|
781 | $dataProp = $this->spreadsheet->getProperties()->getSubject(); |
|
@@ 780-787 (lines=8) @@ | ||
777 | $dataSection_NumProps++; |
|
778 | } |
|
779 | // Subject |
|
780 | if ($this->spreadsheet->getProperties()->getSubject()) { |
|
781 | $dataProp = $this->spreadsheet->getProperties()->getSubject(); |
|
782 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x03), |
|
783 | 'offset' => array('pack' => 'V'), |
|
784 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
785 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
786 | $dataSection_NumProps++; |
|
787 | } |
|
788 | // Author (Creator) |
|
789 | if ($this->spreadsheet->getProperties()->getCreator()) { |
|
790 | $dataProp = $this->spreadsheet->getProperties()->getCreator(); |
|
@@ 789-796 (lines=8) @@ | ||
786 | $dataSection_NumProps++; |
|
787 | } |
|
788 | // Author (Creator) |
|
789 | if ($this->spreadsheet->getProperties()->getCreator()) { |
|
790 | $dataProp = $this->spreadsheet->getProperties()->getCreator(); |
|
791 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x04), |
|
792 | 'offset' => array('pack' => 'V'), |
|
793 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
794 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
795 | $dataSection_NumProps++; |
|
796 | } |
|
797 | // Keywords |
|
798 | if ($this->spreadsheet->getProperties()->getKeywords()) { |
|
799 | $dataProp = $this->spreadsheet->getProperties()->getKeywords(); |
|
@@ 798-805 (lines=8) @@ | ||
795 | $dataSection_NumProps++; |
|
796 | } |
|
797 | // Keywords |
|
798 | if ($this->spreadsheet->getProperties()->getKeywords()) { |
|
799 | $dataProp = $this->spreadsheet->getProperties()->getKeywords(); |
|
800 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x05), |
|
801 | 'offset' => array('pack' => 'V'), |
|
802 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
803 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
804 | $dataSection_NumProps++; |
|
805 | } |
|
806 | // Comments (Description) |
|
807 | if ($this->spreadsheet->getProperties()->getDescription()) { |
|
808 | $dataProp = $this->spreadsheet->getProperties()->getDescription(); |
|
@@ 807-814 (lines=8) @@ | ||
804 | $dataSection_NumProps++; |
|
805 | } |
|
806 | // Comments (Description) |
|
807 | if ($this->spreadsheet->getProperties()->getDescription()) { |
|
808 | $dataProp = $this->spreadsheet->getProperties()->getDescription(); |
|
809 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x06), |
|
810 | 'offset' => array('pack' => 'V'), |
|
811 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
812 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
813 | $dataSection_NumProps++; |
|
814 | } |
|
815 | // Last Saved By (LastModifiedBy) |
|
816 | if ($this->spreadsheet->getProperties()->getLastModifiedBy()) { |
|
817 | $dataProp = $this->spreadsheet->getProperties()->getLastModifiedBy(); |
|
@@ 816-823 (lines=8) @@ | ||
813 | $dataSection_NumProps++; |
|
814 | } |
|
815 | // Last Saved By (LastModifiedBy) |
|
816 | if ($this->spreadsheet->getProperties()->getLastModifiedBy()) { |
|
817 | $dataProp = $this->spreadsheet->getProperties()->getLastModifiedBy(); |
|
818 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x08), |
|
819 | 'offset' => array('pack' => 'V'), |
|
820 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
821 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
822 | $dataSection_NumProps++; |
|
823 | } |
|
824 | // Created Date/Time |
|
825 | if ($this->spreadsheet->getProperties()->getCreated()) { |
|
826 | $dataProp = $this->spreadsheet->getProperties()->getCreated(); |