You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
29
29
- c:max and c:min elements shall NOT be inside c:orientation elements - @vitalyrepin[#869](https://github.com/PHPOffice/PHPExcel/pull/869)
30
30
- Implement actual timezone adjustment into PHPExcel_Shared_Date::PHPToExcel - @sim642[#489](https://github.com/PHPOffice/PHPExcel/pull/489)
31
31
32
+
### BREAKING CHANGE
33
+
34
+
- Introduction of namespaces for all classes, eg: `PHPExcel_Calculation_Function` becomes `PhpOffice\PhpSpreadsheet\Calculation\Functions`
35
+
- Some classes were renamed for clarity and/or consistency:
Copy file name to clipboardExpand all lines: Documentation/markdown/CalculationEngine/FunctionReference/01-Introduction.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,6 @@ The up-to-date F.A.Q. page for PHPExcel can be found on [http://www.codeplex.com
6
6
7
7
### Formulas don’t seem to be calculated in Excel2003 using compatibility pack?
8
8
9
-
This is normal behaviour of the compatibility pack, Excel2007 displays this correctly. Use PHPExcel_Writer_Excel5 if you really need calculated values, or force recalculation in Excel2003.
9
+
This is normal behaviour of the compatibility pack, Xlsx displays this correctly. Use PHPExcel_Writer_Excel5 if you really need calculated values, or force recalculation in Excel2003.
Copy file name to clipboardExpand all lines: Documentation/markdown/CalculationEngine/FunctionReference/03-03-Date-and-Time-Functions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -299,7 +299,7 @@ DATEVALUE uses the php date/time object implementation of strtotime() (which can
299
299
300
300
__WARNING:-__ PHPExcel accepts a wider range of date formats than MS Excel, so it is entirely possible that Excel will return a #VALUE! error when passed a date string that it can’t interpret, while PHPExcel is able to translate that same string into a correct date value.
301
301
302
-
Care should be taken in workbooks that use string formatted dates in calculations when writing to Excel5 or Excel2007.
302
+
Care should be taken in workbooks that use string formatted dates in calculations when writing to Excel5 or Xlsx.
Copy file name to clipboardExpand all lines: Documentation/markdown/Features/Autofilters/03-Autofilter-Expressions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
## Autofilter Expressions
5
5
6
-
PHPEXcel 1.7.8 introduced the ability to actually create, read and write filter expressions; initially only for Excel2007 files, but later releases will extend this to other formats.
6
+
PHPEXcel 1.7.8 introduced the ability to actually create, read and write filter expressions; initially only for Xlsx files, but later releases will extend this to other formats.
7
7
8
8
To apply a filter expression to an autoFilter range, you first need to identify which column you're going to be applying this filter to.
Copy file name to clipboardExpand all lines: Documentation/markdown/Overview/01-Getting-Started.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -73,19 +73,19 @@ It is necessary to use UTF-8 encoding for all texts in PHPExcel. If the script u
73
73
74
74
Make sure you meet all requirements, especially php_zip extension should be enabled.
75
75
76
-
The ZipArchive class is only required when reading or writing formats that use Zip compression (Excel2007 and OOCalc). Since version 1.7.6 the PCLZip library has been bundled with PHPExcel as an alternative to the ZipArchive class.
76
+
The ZipArchive class is only required when reading or writing formats that use Zip compression (Xlsx and OOCalc). Since version 1.7.6 the PCLZip library has been bundled with PHPExcel as an alternative to the ZipArchive class.
At present, this only allows you to write Excel2007 files without the need for ZipArchive (not to read Excel2007 or OOCalc)
88
+
At present, this only allows you to write Xlsx files without the need for ZipArchive (not to read Xlsx or OOCalc)
89
89
90
90
##### Excel 2007 cannot open the file generated by PHPExcel_Writer_2007 on Windows
91
91
@@ -95,7 +95,7 @@ Some older versions of the 5.2.x php_zip extension on Windows contain an error w
95
95
96
96
Alternatively, upgrading to at least PHP 5.2.9 should solve the problem.
97
97
98
-
If you can't locate a clean copy of ZipArchive, then you can use the PCLZip library as an alternative when writing Excel2007 files, as described above.
98
+
If you can't locate a clean copy of ZipArchive, then you can use the PCLZip library as an alternative when writing Xlsx files, as described above.
99
99
100
100
##### Fatal error: Allowed memory size of xxx bytes exhausted (tried to allocate yyy bytes) in zzz on line aaa
101
101
@@ -122,7 +122,7 @@ We are slowly building up a list of features, together with the different reader
122
122
123
123
##### Formulas don't seem to be calculated in Excel2003 using compatibility pack?
124
124
125
-
This is normal behaviour of the compatibility pack, Excel2007 displays this correctly. Use PHPExcel_Writer_Excel5 if you really need calculated values, or force recalculation in Excel2003.
125
+
This is normal behaviour of the compatibility pack, Xlsx displays this correctly. Use PHPExcel_Writer_Excel5 if you really need calculated values, or force recalculation in Excel2003.
126
126
127
127
##### Setting column width is not 100% accurate
128
128
@@ -177,5 +177,5 @@ Thanks to peterrlynch for the following advice on resolving issues between the [
[^phpzip_footnote]: __php_zip__ is only needed by __PHPExcel_Reader_Excel2007__, __PHPExcel_Writer_Excel2007__ and __PHPExcel_Reader_OOCalc__. In other words, if you need PHPExcel to handle .xlsx or .ods files you will need the zip extension, but otherwise not.<br />You can remove this dependency for writing Excel2007 files (though not yet for reading) by using the PCLZip library that is bundled with PHPExcel. See the FAQ section of this document for details about this. PCLZip does have a dependency on PHP's zlib extension being enabled.
180
+
[^phpzip_footnote]: __php_zip__ is only needed by __PHPExcel_Reader_Excel2007__, __PHPExcel_Writer_Excel2007__ and __PHPExcel_Reader_OOCalc__. In other words, if you need PHPExcel to handle .xlsx or .ods files you will need the zip extension, but otherwise not.<br />You can remove this dependency for writing Xlsx files (though not yet for reading) by using the PCLZip library that is bundled with PHPExcel. See the FAQ section of this document for details about this. PCLZip does have a dependency on PHP's zlib extension being enabled.
**Note** that not all complex format masks such as this one will work when retrieving a formatted value to display "on screen", or for certain writers such as HTML or PDF, but it will work with the true spreadsheet writers (Excel2007 and Excel5).
130
+
**Note** that not all complex format masks such as this one will work when retrieving a formatted value to display "on screen", or for certain writers such as HTML or PDF, but it will work with the true spreadsheet writers (Xlsx and Excel5).
131
131
132
132
### Setting a range of cells from an array
133
133
@@ -266,7 +266,7 @@ The easiest way to loop cells is by using iterators. Using iterators, one can us
266
266
Below is an example where we read all the values in a worksheet and display them in a table.
The rules for composing a number format code in Excel can be rather complicated. Sometimes you know how to create some number format in Microsoft Office Excel, but don'tknowwhattheunderlyingnumberformatcodelookslike.Howdoyoufindit?
Data validation is a powerful feature of Excel2007. It allows to specify an input filter on the data that can be inserted in a specific cell. This filter can be a range (i.e. value must be between 0 and 10), a list (i.e. value must be picked from a list), ...
748
+
Data validation is a powerful feature of Xlsx. It allows to specify an input filter on the data that can be inserted in a specific cell. This filter can be a range (i.e. value must be between 0 and 10), a list (i.e. value must be picked from a list), ...
749
749
750
750
The following piece of code only allows numbers between 10 and 20 to be entered in cell B3:
Because of a bug in the Office2003 compatibility pack, there can be some small issues when opening Excel2007 spreadsheets (mostly related to formula calculation). You can enable Office2003 compatibility with the following code:
134
+
Because of a bug in the Office2003 compatibility pack, there can be some small issues when opening Xlsx spreadsheets (mostly related to formula calculation). You can enable Office2003 compatibility with the following code:
135
135
136
136
```
137
137
$objWriter = new PHPExcel_Writer_Excel2007($objPHPExcel);
Copy file name to clipboardExpand all lines: Documentation/markdown/ReadingSpreadsheetFiles/01-File-Formats.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The Microsoft Excel™ Binary file format (BIFF5 and BIFF8) is a binary file for
15
15
16
16
Microsoft Excel™ 2003 included options for a file format called SpreadsheetML. This file is a zipped XML document. It is not very common, but its core features are supported. Documentation for the format can be found at [http://msdn.microsoft.com/en-us/library/aa140066%28office.10%29.aspx][3] though it’s sadly rather sparse in its detail.
17
17
18
-
### Excel2007
18
+
### Xlsx
19
19
20
20
Microsoft Excel™ 2007 shipped with a new file format, namely Microsoft Office Open XML SpreadsheetML, and Excel 2010 extended this still further with its new features such as sparklines. These files typically have an extension of .xlsx. This format is based around a zipped collection of eXtensible Markup Language (XML) files. Microsoft Office Open XML SpreadsheetML is mostly standardized in ECMA 376 ([http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm][4]) and ISO 29500.
0 commit comments