Dominik Bonsch
765fba9d4a
#131 added a check if the constant IDENTIFIER_OLE allready exists,
...
thx to @prolic
2013-01-22 21:20:32 +01:00
Dominik Bonsch
acca05f1cf
minor architecture improvement
...
- used strtoupper to get rid of case sensitive name checks
- added "else if", it's not nessecary to check for the second "if", if
the first one was allready true
2013-01-22 20:39:45 +01:00
Mark Baker
092fc7b5f7
General: (dbonsch) Work item GH-78 - Restructuring of PHPExcel Exceptions
2013-01-15 21:42:28 +00:00
Mark Baker
0ad3f67da6
Initial modifications for XML-based sheet readers to use XMLReader via streaming for large files in the listWorksheetNames() and listWorksheetInfo() methods... still needs some additional work for merged cells to work correctly, but gives a hell of a memory boost and executes more quickly - the same principles will be applied to the core data readers, but that still requires a lot more work. However, when completed, the effort should be worth it for both speed and memory usage, and the code should be a lot cleaner for the core data reader as well
2013-01-12 12:52:00 +00:00
Mark Baker
62bf1b7a93
Bugfix: (teso) Work item 18551 - Rich Text containing UTF-8 characters creating unreadable content with Excel5 Writer
2012-12-11 17:54:23 +00:00
Mark Baker
a032194211
Minor style changes, and added timings to Examples
2012-11-28 21:30:58 +00:00
Mark Baker
b98f27f4a7
Performance and memory improvements to Excel5 OLE Reader
...
Temporary fix to XML flush until I get it working correctly
Use of PHPExcel_Exception
2012-11-26 18:01:15 +00:00
Mark Baker
d8debd0966
Minor tweaks and bugfixes
2012-11-25 17:56:27 +00:00
Mark Baker
4f070fc349
General: 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
2012-11-20 21:34:24 +00:00
Mark Baker
9907ef9030
Remove original JAMA tests
2012-11-09 09:46:36 +00:00
Mark Baker
f2803e8690
Remove JAMA example files
2012-11-09 09:45:37 +00:00
Gemorroj
b0d553909a
fixed regression f3c4d056ed (L1R621)
...
minor phpdoc fixes
2012-11-08 11:46:54 +03:00
Mark Baker
f3c4d056ed
Move UTF-8 StrToUpper(), StrToLower() and StrToTitle() methods from Text Calculation class to Shared String Class
...
Doc comments for methods in writer abstract
2012-11-06 22:53:58 +00:00
Mark Baker
0ad1c8b585
Factor timezone methods to a separate helper class
2012-11-03 21:52:55 +00:00
Mark Baker
53a32ce7f7
Providing support for timezone adjustments in date/time conversion methods
2012-11-02 23:07:01 +00:00
Mark Baker
8f3640e44c
Change reader exceptions to PHPExcel_Reader_Exception
2012-10-29 23:48:29 +00:00
Mark Baker
45f2829a33
Bugfix: Work item GH-66 - Wrong check for maximum number of rows in Excel5 Writer
2012-10-25 12:57:48 +01:00
Mark Baker
85eabc21aa
Various bugfixes including Excel2007 Writer order of font style elements to conform with Excel2003 using compatibility pack
2012-08-23 00:16:40 +01:00
Mark Baker
8c688358ba
Elimination of a potential XSS vulnerability in JAMA documentation
...
JAMA docs are no longer up-to-date anyway
2012-08-21 23:15:17 +01:00
Mark Baker
cdf9dfdcbe
Unit tests, plus a couple of minor validation bugfixes
2012-08-03 21:21:32 +01:00
Mark Baker
0b60b61104
Bugfix: takaakik) Work Item 15455 - getNestingLevel() Error on Excel5 Read
...
Bugfix: ix to Excel5 Reader when cell annotations are defined before their referenced text objects
2012-08-01 17:25:10 +01:00
Mark Baker
013c18b859
General - merged (with some localisation mods) from a pull request by alexgann - Add Currency detection to the Advanced Value Binder
2012-07-25 13:15:27 +01:00
Mark Baker
dbe12c73a2
Formatting constant GENERAL should be FORMAT_GENERAL
2012-07-24 07:39:36 +01:00
Mark Baker
317f00b259
Bugfix to ensure that General format is not treated as a date format
...
despite containg e for epoch
OOCalc Reader modified to process number-rows-repeated
Modify OOCalc Reader to only read cells that containing data, or merged cells
(depending on setReadDataOnly setting)
2012-07-23 21:52:14 +01:00
Mark Baker
946ea73ddb
Bugfixes to Chart Reader and Writer
2012-07-20 22:35:53 +01:00
Mark Baker
78b7019247
Set temporary directory for PCLZip wrapper
2012-07-14 10:32:36 +01:00
Progi1984
e1104f1862
ADDED : Implement support for AutoFilter in PHPExcel_Writer_Excel5
2012-07-13 18:20:06 +02:00
Mark Baker
57464cbf1a
Bugfix: Support for "e" (epoch) date format mask
...
Rendered as a 4-digit CE year in non-Excel outputs
2012-06-26 20:55:27 +01:00
Mark Baker
dccaf0b676
Remove embedded tcPDF from repository - this is now an optional choice of PDF renderer, and must be installed separately if required
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91295 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-03 21:23:56 +00:00
Mark Baker
ffdb1966b1
Doc Block changes
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88003 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-19 00:25:29 +00:00
Mark Baker
4bb4f5ebc8
Doc Block changes
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87642 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-11 19:24:20 +00:00
Mark Baker
891981928d
Doc Block changes
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87638 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-11 17:58:38 +00:00
Mark Baker
2526492ca5
Change copyright 2011 -> 2012
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87248 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 21:16:09 +00:00
Progi1984
41199626d8
FIXED : Work item 8916 - Support for Rich-Text in PHPExcel_Writer_Excel5
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87070 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-27 22:05:21 +00:00
Mark Baker
695edbf677
Minor tweaks to Excel functions to handle envelope cases
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85852 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-29 14:25:25 +00:00
Mark Baker
9c2ceed08d
Minor performance tweaks
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85743 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 23:07:22 +00:00
Mark Baker
2cce9b754d
Minor performance tweaks and adjustments to Excel functions to handle a few envelope test cases
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85742 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 22:07:35 +00:00
Mark Baker
24a9eb285c
Use of empty() rather than count() to test if arrays are empty or not - simple performance tweak... empty() is over twice as fast as count()
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85344 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-16 12:34:22 +00:00
Mark Baker
7fce476f0c
General: (atz) Work item 17024 - Unknown codepage: 10007
...
Additional Mac codepages
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83889 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-14 22:48:09 +00:00
Mark Baker
bde593557d
Minor performance optimisation: use $x+=3 instead of $x=$x+3
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83576 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 10:02:24 +00:00
Mark Baker
a083de817e
Use PHPExcel_Shared_File::sys_get_temp_dir() for temporary files directory where not explicitly specified
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83402 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-28 14:41:17 +00:00
Mark Baker
bb34668146
Modify underlying PHP_OLE to support multiple streams
...
This is preparatory to providing support for workbook properties (and extended properties) in the Excel5 Writer, because properties are stored in the SummaryInformation and DocumentSummaryInformation streams, and not in the workbook stream.
Previously, PHP_OLE could only save a single stream, so this had to be the workbook stream; so document property information was discarded by the Excel5 Writer.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@77804 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-08-05 14:04:07 +00:00
Mark Baker
dd7674a36a
Fixed charset code for CHARSET_ANSI_THAI
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74692 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:16:45 +00:00
Mark Baker
631834b4d6
Minor performance improvement to date conversion routines
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@71598 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-09 18:16:08 +00:00
Mark Baker
9704feec19
Bugfix: Work item 15518 - PCLZip library issue
...
References to ZipArchive Constants when ZipArchive class isn't available
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@70307 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-14 13:52:49 +00:00
Mark Baker
a8517724dc
Bugfix: Work item 15379 - Named ranges with dot don't get parsed properly
...
Bugfix: Work item 15096 - insertNewRowBefore fails to consistently update references
Bugfix: "i" is not a valid character for Excel date format masks (in isDateTimeFormatCode() method)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69064 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-21 12:21:20 +00:00
Mark Baker
7bb65068cd
Oops... missing semi-colon (now fixed)
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68483 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 23:12:39 +00:00
Mark Baker
5a7e7bb93f
Bugfix: Work item 15308 - Writing to Variable No Longer Works. $_tmp_dir Missing in PHPExcel\PHPExcel\Shared\OLE\PPS\Root.php
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68481 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 22:44:05 +00:00
Mark Baker
8218d04b0f
Bugfix: Reduced false positives from isDateTimeFormatCode() method by suppressing testing within quoted strings (thanks to John Machin, author of xlrd, and the maintainer of xlwt for reading/writing Excel files in Python)
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68308 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-10 12:26:50 +00:00
Mark Baker
8c0663486b
Feature: Improved toFormattedString() handling for Currency and Accounting format masks to render currency symbols
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67614 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-31 17:18:10 +00:00
Mark Baker
956cc7a2cf
Bugfix: Work item 11576 - AdvancedValueBinder.php: String sometimes becomes a date when it shouldn't. Improved with a preg_match trap to reject unlikely formats for dates before passing value to PHPExcel_Shared_Date::stringToExcel() for final validation
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67536 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-29 17:05:02 +00:00
Maarten Balliauw
ccbb28167b
Updated headers to reflect the new year. Happy new year 2011!
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66338 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-03 09:20:10 +00:00
Mark Baker
6ed30f559a
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66316 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-02 12:14:18 +00:00
Mark Baker
aa213fe236
Provide option to use PCLZip as an alternative to ZipArchive.
...
This allows the writing of Excel2007 files, even without ZipArchive enabled (it does require zlib), or when php_zip is one of the buggy PHP 5.2.6 or 5.2.8 versions.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65260 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-13 23:56:51 +00:00
Mark Baker
1def6cae75
Reworked OLE Reader logic to provide a single stream reader for all streams (Workbook, Properties and Document Properties) rather than duplicating code with separate stream readers for each
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65086 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-10 00:28:18 +00:00
Mark Baker
c5ea92442d
Performance improvements for the Excel5 Reader and Writer
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64968 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-07 17:34:47 +00:00
Mark Baker
f1e413bcc1
Performance improvements to the CSV Reader and Writer
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64769 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-03 17:48:10 +00:00
Mark Baker
5917b8c9b0
Fix call to DATEVALUE() and TIMEVALUE() methods for new function classes
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64766 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-03 14:28:57 +00:00
Mark Baker
787dae6334
Performance tweaks to the Calculation Engine to reduce memory usage. Splitting the functions.php into several smaller classes based on function category, so that only those category files actually used by functions in formulae will be included by the autoloader
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64719 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-02 17:56:33 +00:00
Mark Baker
b25ced63cc
Bugfix: Work item 13559 - PHPExcel_Writer_PDF does not handle cell borders correctly
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64268 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-24 14:12:12 +00:00
Mark Baker
9641c16df0
Memory and Performance Improvements
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64204 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-23 17:24:29 +00:00
Mark Baker
606f43a086
Performance tweaks, particularly using standard binary operations rather than matrix operations when working with single cell operands
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64078 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-20 23:36:20 +00:00
Mark Baker
c0ae3911b6
Minor performance tweaks: changing PHPExcel_Shared_XMLWriter to extend the XMLWriter class rather than providing a wrapper for an instance of XMLWriter, with slight modifications to the writeRaw() method
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63534 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-09 12:31:59 +00:00
Mark Baker
42b1e0ad76
Minor performance tweaks
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62808 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-26 12:29:44 +00:00
Mark Baker
ad9e4e2f0f
Fix for a single character string in a call to PHPExcel_Shared_Date::stringToExcel() being treated as a valid date
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62207 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-13 13:16:02 +00:00
Mark Baker
f0131c0282
Bugfix: Modified PHPExcel_Shared_Date::isDateTimeFormatCode() to return false if format code begins with "_" or with "0 " to prevent false positives
...
These leading characters are most commonly associated with number, currency or accounting (or occasionally fraction) formats
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61632 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-28 15:53:49 +00:00
Mark Baker
a3a0aa73e7
Bugfix: Workitems 14260 & 14233 - Setting cell values to one char strings & Trouble reading one character string
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61062 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-16 17:04:11 +00:00
Mark Baker
3f807a1c01
Bugfix: Workitem 14223 - Advanced Value Binder Not Working?
...
Fixed AdvancedValueBinder date handling (with support for a wider range of date formats), and added support for strings containing numeric values in scientific format (e.g. "-1.234e+5")
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60740 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-10 14:57:07 +00:00
Mark Baker
dc43e7a811
Feature: Support for Extended Workbook Properties in Excel5 Reader
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60542 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 20:54:58 +00:00
Maarten Balliauw
67ff44d97c
Work item 14143 - NA() doesn't propagate in matrix calc - quick fix in JAMA/Matrix.php
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60085 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-30 11:58:47 +00:00
Mark Baker
492cc4fb27
Feature: Support for Extended Workbook Properties in Excel2007, Excel5 and OOCalc Readers;
...
Feature: Support for User-defined Workbook Properties in Excel2007 and OOCalc Readers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60080 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-30 09:09:12 +00:00
Maarten Balliauw
509f27e5c6
Migration from off-site Subversion repository (part 1).
...
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59884 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-26 19:14:53 +00:00