mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-26 23:36:03 +03:00
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:
parent
cadcaf9a2f
commit
9c9e1edb76
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user