Commit Graph

101 Commits

Author SHA1 Message Date
MarkBaker dc137c293a Method for reversing the case of a string, for use in comparisons where lower-case/upper-case is reversed 2015-01-18 12:31:18 +00:00
MarkBaker 3f85430e6c Some Excel writer libraries erroneously use Codepage 21010 for UTF-16LE instead of using Codepage 1200 2014-12-05 21:31:17 +00:00
chamaeleon-nitr 832421bbca Bug in String.php
In function IsUTF8
2014-11-10 17:43:16 +03:00
MarkBaker 57ce19d20a Remove references to PHP versions < 5.2 2014-09-05 10:17:39 +01:00
Mark Baker b21fdba7ea Merge pull request #389 from CQD/develop
Add Mac CJK codepage definition.
2014-07-14 23:12:05 +01:00
MarkBaker 59ef7c3325 Don't cache column width adjustment, because it should be based on the font size being used for a cell, and so should be dynamic 2014-07-03 01:01:39 +01:00
MarkBaker ddec5e9706 Improve speed of calculation for autosize columns to reduce save time 2014-07-03 00:43:29 +01:00
CQD ae2e4c9a01 Add MAC CJK codepage
Refering to 
http://msdn.microsoft.com/en-us/library/system.text.encodinginfo.codepage%28v=vs.110%29.aspx
2014-06-23 14:18:48 +08:00
CQD 05dbc90392 Code formating 2014-06-23 14:13:27 +08:00
CQD 0ff99cb6ab Code formating 2014-06-23 14:10:09 +08:00
Martin Evans 487888414a Minor Docblock update: corrected the return value from PHPExcel_Shared_Date::ExcelToPHPObject updated to reflect the PHP DateTime object that is to be returned. 2014-06-15 18:05:51 +01:00
Mark Baker b4a4062a5d GH-343 Error with PCLZip temporary directory 2014-03-29 00:06:50 +00:00
Mark Baker 992aee683a Update to copyright year in file headers 2013-12-31 18:36:33 +00:00
Mark Baker 30459d260d General: (RomanSyroeshko) GB-265 - PHPExcel_Shared_String.IsUTF8 returns FALSE for Cyrillic UTF-8 input 2013-11-18 08:00:49 +00:00
Mark Baker 0d8a5d1f0b General: (adamriyadi) Work Item GH-247 - Modify PHPExcel_Reader_Excel2007 to use zipClass from PHPExcel_Settings::getZipClass()
This allows the use of PCLZip when reading for people that don't have access to ZipArchive
2013-11-17 17:33:56 +00:00
Mark Baker 7fb98dbcd5 Fix to new PCLZip wrapper locateName() method 2013-11-17 14:15:22 +00:00
Mark Baker 51a1661c79 Feature: (adamriyadi) GH-247 - Add locateName() and getFromName() to PHPExcel_Shared_ZipArchive 2013-11-17 13:09:11 +00:00
Mark Baker f86458630f Trap for scientific format masks with "0" or "#" before the "E" 2013-10-28 19:13:59 +00:00
Mark Baker bff907a1b8 Number format mask test for dates: test for "General" format should be case-insensitive, and scientific format mask shouldn't return a positive for date 2013-10-28 19:05:26 +00:00
Mark Baker a11a8da417 Issue 19827 - Unknown codepage: 10008 2013-08-23 09:06:15 +01:00
Mark Baker 8f7db244de Eliminate unnecessary version checks 2013-06-16 10:26:16 +01:00
Mark Baker 7a7634fba6 Only read first 8 bytes of a file when validating, rather than load the entire file into memory at that point 2013-05-24 12:57:42 +01:00
Mark Baker c17a4a62a3 Improvements to formatting numbers with more complex masks 2013-05-21 18:00:57 +01:00
Mark Baker 6a4be7da3c Update to copyright year in file headers, and minor documentation updates 2013-05-14 12:20:28 +01:00
Mark Baker c660492446 Docblocks 2013-04-27 18:07:12 +01:00
Mark Baker d79bdc5b19 iconv rather than mbstring for convert encoding 2013-03-24 21:56:06 +00:00
Mark Baker b42d4a353c Fix reference to worksheet/cell collection from cell in isDateTime() 2013-03-20 13:48:25 +00:00
Mark Baker 80e3c46f3a iconv() is more efficient than mb_convert_encoding() 2013-03-16 00:18:38 +00:00
Dominik Bonsch 2863152399 Merge branch 'develop' into experimental 2013-01-22 21:21:22 +01:00
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