From 6bc41996751ae3f945b867858801e01c462477d7 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Sat, 24 Nov 2012 22:48:44 +0000 Subject: [PATCH] Various tweaks and fixes --- Classes/PHPExcel/Writer/Excel2007/Worksheet.php | 1 + changelog.txt | 1 + composer.json | 2 +- .../rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data | 6 +++--- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Classes/PHPExcel/Writer/Excel2007/Worksheet.php b/Classes/PHPExcel/Writer/Excel2007/Worksheet.php index 977f172d..df80aff6 100644 --- a/Classes/PHPExcel/Writer/Excel2007/Worksheet.php +++ b/Classes/PHPExcel/Writer/Excel2007/Worksheet.php @@ -1029,6 +1029,7 @@ class PHPExcel_Writer_Excel2007_Worksheet extends PHPExcel_Writer_Excel2007_Writ // End row $objWriter->endElement(); } + $objWriter->flush(); } $objWriter->endElement(); diff --git a/changelog.txt b/changelog.txt index 228d5d77..4f3ffb3a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -35,6 +35,7 @@ Fixed in develop branch: - General: (MBaker) Work items 17936 and 17840 - Fix for environments where there is no access to /tmp but to upload_tmp_dir Provided an option to set the sys_get_temp_dir() call to use the upload_tmp_dir; though by default the standard temp directory will still be used - General: (amironov ) Work item GH-84 - Search style by identity in PHPExcel_Worksheet::duplicateStyle() +- General: (karak) Work item GH-85 - Fill SheetView IO in Excel5 - Bugfix: (techhead) Work item GH-70 - Fixed formula/formatting bug when removing rows - Bugfix: (alexgann) Work item GH-63 - Fix to cellExists for non-existent namedRanges - Bugfix: (MBaker) Work item 18844 - cache_in_memory_gzip "eats" last worksheet line, cache_in_memory doesn't diff --git a/composer.json b/composer.json index c6ef49c1..a7b1e624 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ }, "autoload": { "psr-0": { - "PHPExcel": "" + "PHPExcel": "Classes/" } } } diff --git a/unitTests/rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data b/unitTests/rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data index 3cf01000..e106b5fe 100644 --- a/unitTests/rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data +++ b/unitTests/rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data @@ -6,9 +6,9 @@ 50424, TRUE, 'America/New_York', 2147454000 // PHP 32-bit Latest Date 19-Jan-2038 00:00:00 UST 22345.56789, TRUE, 'America/New_York', -278522534 // 18-May-1903 13:37:46 UST 22345.6789, TRUE, 'America/New_York', -278512943 // 18-Oct-1933 16:17:37 UST -0.5, TRUE, 'America/New_York', 28800 // 12:00:00 UST -0.75, TRUE, 'America/New_York', 50400 // 18:00.00 UST -0.12345, TRUE, 'America/New_York', -3734 // 02:57:46 UST +0.5, TRUE, 'America/New_York', 25200 // 12:00:00 UST +0.75, TRUE, 'America/New_York', 46800 // 18:00.00 UST +0.12345, TRUE, 'America/New_York', -7334 // 02:57:46 UST 41215, TRUE, 'America/New_York', 1351800000 // 02-Nov-2012 00:00:00 UST 22269, TRUE, 'Pacific/Auckland', -285076800 // 19-Dec-1960 00:00:00 UST 25569, TRUE, 'Pacific/Auckland', 43200 // PHP Base Date 01-Jan-1970 00:00:00 UST