Feature: Additional support for Workbook Properties in OOCalc Reader

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60544 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2010-09-07 21:58:23 +00:00
parent cadcaf9a2f
commit 9c9e1edb76
1 changed files with 2 additions and 0 deletions

View File

@ -273,10 +273,12 @@ class PHPExcel_Reader_OOCalc implements PHPExcel_Reader_IReader
break; break;
case 'creator' : case 'creator' :
$docProps->setCreator($propertyValue); $docProps->setCreator($propertyValue);
$docProps->setLastModifiedBy($propertyValue);
break; break;
case 'date' : case 'date' :
$creationDate = strtotime($propertyValue); $creationDate = strtotime($propertyValue);
$docProps->setCreated($creationDate); $docProps->setCreated($creationDate);
$docProps->setModified($creationDate);
break; break;
case 'description' : case 'description' :
$docProps->setDescription($propertyValue); $docProps->setDescription($propertyValue);