@@ 563-570 (lines=8) @@ | ||
560 | ++$dataSection_NumProps; |
|
561 | ||
562 | // GKPIDDSI_CATEGORY : Category |
|
563 | if ($this->spreadsheet->getProperties()->getCategory()) { |
|
564 | $dataProp = $this->spreadsheet->getProperties()->getCategory(); |
|
565 | $dataSection[] = [ |
|
566 | 'summary' => ['pack' => 'V', 'data' => 0x02], |
|
567 | 'offset' => ['pack' => 'V'], |
|
568 | 'type' => ['pack' => 'V', 'data' => 0x1E], |
|
569 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
570 | ]; |
|
571 | ++$dataSection_NumProps; |
|
572 | } |
|
573 | // GKPIDDSI_VERSION :Version of the application that wrote the property storage |
|
@@ 778-785 (lines=8) @@ | ||
775 | ++$dataSection_NumProps; |
|
776 | ||
777 | // Title |
|
778 | if ($this->spreadsheet->getProperties()->getTitle()) { |
|
779 | $dataProp = $this->spreadsheet->getProperties()->getTitle(); |
|
780 | $dataSection[] = [ |
|
781 | 'summary' => ['pack' => 'V', 'data' => 0x02], |
|
782 | 'offset' => ['pack' => 'V'], |
|
783 | 'type' => ['pack' => 'V', 'data' => 0x1E], // null-terminated string prepended by dword string length |
|
784 | 'data' => ['data' => $dataProp, 'length' => strlen($dataProp)], |
|
785 | ]; |
|
786 | ++$dataSection_NumProps; |
|
787 | } |
|
788 | // Subject |
|
@@ 789-796 (lines=8) @@ | ||
786 | ++$dataSection_NumProps; |
|
787 | } |
|
788 | // Subject |
|
789 | if ($this->spreadsheet->getProperties()->getSubject()) { |
|
790 | $dataProp = $this->spreadsheet->getProperties()->getSubject(); |
|
791 | $dataSection[] = [ |
|
792 | 'summary' => ['pack' => 'V', 'data' => 0x03], |
|
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 | // Author (Creator) |
|
@@ 800-807 (lines=8) @@ | ||
797 | ++$dataSection_NumProps; |
|
798 | } |
|
799 | // Author (Creator) |
|
800 | if ($this->spreadsheet->getProperties()->getCreator()) { |
|
801 | $dataProp = $this->spreadsheet->getProperties()->getCreator(); |
|
802 | $dataSection[] = [ |
|
803 | 'summary' => ['pack' => 'V', 'data' => 0x04], |
|
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 | // Keywords |
|
@@ 811-818 (lines=8) @@ | ||
808 | ++$dataSection_NumProps; |
|
809 | } |
|
810 | // Keywords |
|
811 | if ($this->spreadsheet->getProperties()->getKeywords()) { |
|
812 | $dataProp = $this->spreadsheet->getProperties()->getKeywords(); |
|
813 | $dataSection[] = [ |
|
814 | 'summary' => ['pack' => 'V', 'data' => 0x05], |
|
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 | // Comments (Description) |
|
@@ 822-829 (lines=8) @@ | ||
819 | ++$dataSection_NumProps; |
|
820 | } |
|
821 | // Comments (Description) |
|
822 | if ($this->spreadsheet->getProperties()->getDescription()) { |
|
823 | $dataProp = $this->spreadsheet->getProperties()->getDescription(); |
|
824 | $dataSection[] = [ |
|
825 | 'summary' => ['pack' => 'V', 'data' => 0x06], |
|
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 | // Last Saved By (LastModifiedBy) |
|
@@ 833-840 (lines=8) @@ | ||
830 | ++$dataSection_NumProps; |
|
831 | } |
|
832 | // Last Saved By (LastModifiedBy) |
|
833 | if ($this->spreadsheet->getProperties()->getLastModifiedBy()) { |
|
834 | $dataProp = $this->spreadsheet->getProperties()->getLastModifiedBy(); |
|
835 | $dataSection[] = [ |
|
836 | 'summary' => ['pack' => 'V', 'data' => 0x08], |
|
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 | // Created Date/Time |