@@ 559-567 (lines=9) @@ | ||
556 | $dataSection_NumProps++; |
|
557 | ||
558 | // GKPIDDSI_CATEGORY : Category |
|
559 | if($this->_phpExcel->getProperties()->getCategory()){ |
|
560 | $dataProp = $this->_phpExcel->getProperties()->getCategory(); |
|
561 | $dataProp = 'Test result file'; |
|
562 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), |
|
563 | 'offset' => array('pack' => 'V'), |
|
564 | 'type' => array('pack' => 'V', 'data' => 0x1E), |
|
565 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
566 | $dataSection_NumProps++; |
|
567 | } |
|
568 | // GKPIDDSI_VERSION :Version of the application that wrote the property storage |
|
569 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x17), |
|
570 | 'offset' => array('pack' => 'V'), |
|
@@ 760-767 (lines=8) @@ | ||
757 | $dataSection_NumProps++; |
|
758 | ||
759 | // Title |
|
760 | if($this->_phpExcel->getProperties()->getTitle()){ |
|
761 | $dataProp = $this->_phpExcel->getProperties()->getTitle(); |
|
762 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), |
|
763 | 'offset' => array('pack' => 'V'), |
|
764 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
765 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
766 | $dataSection_NumProps++; |
|
767 | } |
|
768 | // Subject |
|
769 | if($this->_phpExcel->getProperties()->getSubject()){ |
|
770 | $dataProp = $this->_phpExcel->getProperties()->getSubject(); |
|
@@ 769-776 (lines=8) @@ | ||
766 | $dataSection_NumProps++; |
|
767 | } |
|
768 | // Subject |
|
769 | if($this->_phpExcel->getProperties()->getSubject()){ |
|
770 | $dataProp = $this->_phpExcel->getProperties()->getSubject(); |
|
771 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x03), |
|
772 | 'offset' => array('pack' => 'V'), |
|
773 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
774 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
775 | $dataSection_NumProps++; |
|
776 | } |
|
777 | // Author (Creator) |
|
778 | if($this->_phpExcel->getProperties()->getCreator()){ |
|
779 | $dataProp = $this->_phpExcel->getProperties()->getCreator(); |
|
@@ 778-785 (lines=8) @@ | ||
775 | $dataSection_NumProps++; |
|
776 | } |
|
777 | // Author (Creator) |
|
778 | if($this->_phpExcel->getProperties()->getCreator()){ |
|
779 | $dataProp = $this->_phpExcel->getProperties()->getCreator(); |
|
780 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x04), |
|
781 | 'offset' => array('pack' => 'V'), |
|
782 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
783 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
784 | $dataSection_NumProps++; |
|
785 | } |
|
786 | // Keywords |
|
787 | if($this->_phpExcel->getProperties()->getKeywords()){ |
|
788 | $dataProp = $this->_phpExcel->getProperties()->getKeywords(); |
|
@@ 787-794 (lines=8) @@ | ||
784 | $dataSection_NumProps++; |
|
785 | } |
|
786 | // Keywords |
|
787 | if($this->_phpExcel->getProperties()->getKeywords()){ |
|
788 | $dataProp = $this->_phpExcel->getProperties()->getKeywords(); |
|
789 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x05), |
|
790 | 'offset' => array('pack' => 'V'), |
|
791 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
792 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
793 | $dataSection_NumProps++; |
|
794 | } |
|
795 | // Comments (Description) |
|
796 | if($this->_phpExcel->getProperties()->getDescription()){ |
|
797 | $dataProp = $this->_phpExcel->getProperties()->getDescription(); |
|
@@ 796-803 (lines=8) @@ | ||
793 | $dataSection_NumProps++; |
|
794 | } |
|
795 | // Comments (Description) |
|
796 | if($this->_phpExcel->getProperties()->getDescription()){ |
|
797 | $dataProp = $this->_phpExcel->getProperties()->getDescription(); |
|
798 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x06), |
|
799 | 'offset' => array('pack' => 'V'), |
|
800 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
801 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
802 | $dataSection_NumProps++; |
|
803 | } |
|
804 | // Last Saved By (LastModifiedBy) |
|
805 | if($this->_phpExcel->getProperties()->getLastModifiedBy()){ |
|
806 | $dataProp = $this->_phpExcel->getProperties()->getLastModifiedBy(); |
|
@@ 805-812 (lines=8) @@ | ||
802 | $dataSection_NumProps++; |
|
803 | } |
|
804 | // Last Saved By (LastModifiedBy) |
|
805 | if($this->_phpExcel->getProperties()->getLastModifiedBy()){ |
|
806 | $dataProp = $this->_phpExcel->getProperties()->getLastModifiedBy(); |
|
807 | $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x08), |
|
808 | 'offset' => array('pack' => 'V'), |
|
809 | 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length |
|
810 | 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); |
|
811 | $dataSection_NumProps++; |
|
812 | } |
|
813 | // Created Date/Time |
|
814 | if($this->_phpExcel->getProperties()->getCreated()){ |
|
815 | $dataProp = $this->_phpExcel->getProperties()->getCreated(); |