@@ 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[] = [ |
|
578 | 'summary' => ['pack' => 'V', 'data' => 0x02], |
|
579 | 'offset' => ['pack' => 'V'], |
|
580 | 'type' => ['pack' => 'V', 'data' => 0x1E], |
|
581 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
582 | ]; |
|
583 | ++$dataSection_NumProps; |
|
584 | } |
|
585 | // GKPIDDSI_VERSION :Version of the application that wrote the property storage |
|
@@ 789-796 (lines=8) @@ | ||
786 | ++$dataSection_NumProps; |
|
787 | ||
788 | // Title |
|
789 | if ($this->spreadsheet->getProperties()->getTitle()) { |
|
790 | $dataProp = $this->spreadsheet->getProperties()->getTitle(); |
|
791 | $dataSection[] = [ |
|
792 | 'summary' => ['pack' => 'V', 'data' => 0x02], |
|
793 | 'offset' => ['pack' => 'V'], |
|
794 | 'type' => ['pack' => 'V', 'data' => 0x1E], // null-terminated string prepended by dword string length |
|
795 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
796 | ]; |
|
797 | ++$dataSection_NumProps; |
|
798 | } |
|
799 | // Subject |
|
@@ 800-807 (lines=8) @@ | ||
797 | ++$dataSection_NumProps; |
|
798 | } |
|
799 | // Subject |
|
800 | if ($this->spreadsheet->getProperties()->getSubject()) { |
|
801 | $dataProp = $this->spreadsheet->getProperties()->getSubject(); |
|
802 | $dataSection[] = [ |
|
803 | 'summary' => ['pack' => 'V', 'data' => 0x03], |
|
804 | 'offset' => ['pack' => 'V'], |
|
805 | 'type' => ['pack' => 'V', 'data' => 0x1E], // null-terminated string prepended by dword string length |
|
806 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
807 | ]; |
|
808 | ++$dataSection_NumProps; |
|
809 | } |
|
810 | // Author (Creator) |
|
@@ 811-818 (lines=8) @@ | ||
808 | ++$dataSection_NumProps; |
|
809 | } |
|
810 | // Author (Creator) |
|
811 | if ($this->spreadsheet->getProperties()->getCreator()) { |
|
812 | $dataProp = $this->spreadsheet->getProperties()->getCreator(); |
|
813 | $dataSection[] = [ |
|
814 | 'summary' => ['pack' => 'V', 'data' => 0x04], |
|
815 | 'offset' => ['pack' => 'V'], |
|
816 | 'type' => ['pack' => 'V', 'data' => 0x1E], // null-terminated string prepended by dword string length |
|
817 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
818 | ]; |
|
819 | ++$dataSection_NumProps; |
|
820 | } |
|
821 | // Keywords |
|
@@ 822-829 (lines=8) @@ | ||
819 | ++$dataSection_NumProps; |
|
820 | } |
|
821 | // Keywords |
|
822 | if ($this->spreadsheet->getProperties()->getKeywords()) { |
|
823 | $dataProp = $this->spreadsheet->getProperties()->getKeywords(); |
|
824 | $dataSection[] = [ |
|
825 | 'summary' => ['pack' => 'V', 'data' => 0x05], |
|
826 | 'offset' => ['pack' => 'V'], |
|
827 | 'type' => ['pack' => 'V', 'data' => 0x1E], // null-terminated string prepended by dword string length |
|
828 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
829 | ]; |
|
830 | ++$dataSection_NumProps; |
|
831 | } |
|
832 | // Comments (Description) |
|
@@ 833-840 (lines=8) @@ | ||
830 | ++$dataSection_NumProps; |
|
831 | } |
|
832 | // Comments (Description) |
|
833 | if ($this->spreadsheet->getProperties()->getDescription()) { |
|
834 | $dataProp = $this->spreadsheet->getProperties()->getDescription(); |
|
835 | $dataSection[] = [ |
|
836 | 'summary' => ['pack' => 'V', 'data' => 0x06], |
|
837 | 'offset' => ['pack' => 'V'], |
|
838 | 'type' => ['pack' => 'V', 'data' => 0x1E], // null-terminated string prepended by dword string length |
|
839 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
840 | ]; |
|
841 | ++$dataSection_NumProps; |
|
842 | } |
|
843 | // Last Saved By (LastModifiedBy) |
|
@@ 844-851 (lines=8) @@ | ||
841 | ++$dataSection_NumProps; |
|
842 | } |
|
843 | // Last Saved By (LastModifiedBy) |
|
844 | if ($this->spreadsheet->getProperties()->getLastModifiedBy()) { |
|
845 | $dataProp = $this->spreadsheet->getProperties()->getLastModifiedBy(); |
|
846 | $dataSection[] = [ |
|
847 | 'summary' => ['pack' => 'V', 'data' => 0x08], |
|
848 | 'offset' => ['pack' => 'V'], |
|
849 | 'type' => ['pack' => 'V', 'data' => 0x1E], // null-terminated string prepended by dword string length |
|
850 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
851 | ]; |
|
852 | ++$dataSection_NumProps; |
|
853 | } |
|
854 | // Created Date/Time |