Example #1
0
         $value = PHPExcel_Shared_String::ConvertEncoding($value, 'UTF-8', $codePage);
         $value = rtrim($value);
         break;
     case 0x40:
         // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
         // PHP-time
         $value = PHPExcel_Shared_OLE::OLE2LocalDate(substr($this->_summaryInformation, $secOffset + 4 + $offset, 8));
         break;
     case 0x47:
         // Clipboard format
         // not needed yet, fix later if necessary
         break;
 }
 switch ($id) {
     case 0x1:
         //	Code Page
         $codePage = PHPExcel_Shared_CodePage::NumberToName($value);
         break;
     case 0x2:
         //	Title
         $this->_phpExcel->getProperties()->setTitle($value);
         break;
     case 0x3:
         //	Subject
         $this->_phpExcel->getProperties()->setSubject($value);
         break;
     case 0x4:
         //	Author (Creator)
         $this->_phpExcel->getProperties()->setCreator($value);
         break;
     case 0x5:
         //	Keywords
         $this->_phpExcel->getProperties()->setKeywords($value);
         break;
     case 0x6:
         //	Comments (Description)
         $this->_phpExcel->getProperties()->setDescription($value);
         break;
     case 0x7:
         //	Template
         //	Not supported by PHPExcel
         break;
     case 0x8:
         //	Last Saved By (LastModifiedBy)
         $this->_phpExcel->getProperties()->setLastModifiedBy($value);
         break;
     case 0x9:
         //	Revision