Commit Graph

1782 Commits

Author SHA1 Message Date
MarkBaker df34b15079 Apply filter check on cells that already contain a subtotal calculation... will add unit tests later 2018-04-13 12:24:54 +01:00
Adrien Crivelli 36acc37287 1.2.1 1.2.1 2018-04-10 12:53:16 +09:00
Gints Murāns e5e8be26d5 Plain text and richtext mixed in same cell can be read
This was introduced in 0084776160

Fixes #442
Closes #453
2018-04-09 10:56:52 +09:00
Jean-Baptiste Quenot 5f036591cd Mark minified JS as binary in .gitattributes (#440)
This makes it easier to read the output of git grep :-)
2018-04-02 06:36:08 +09:00
netpassprod1 52ff262ddb Add notes for the Timezone functions in Date class (#431)
The \PhpOffice\PhpSpreadsheet\Shared\Date class has support for setting an alternate timezone which affects the conversion of Excel Date timestamps in PhpSpreadsheet. This amendment is an effort to document this support.
2018-03-22 10:51:29 +09:00
Adrien Crivelli 46a2c4106a Fix recently refactored class name in docs 2018-03-19 18:19:55 +09:00
Adrien Crivelli 064052b728 Fix docs
Fixes #409
2018-03-09 09:41:43 +01:00
Adrien Crivelli ce4b864e01 Minor typo 2018-03-06 08:41:40 +01:00
Adrien Crivelli 8380fb3ad2 1.2.0 1.2.0 2018-03-04 21:41:15 +01:00
Adrien Crivelli 6e2447d933 setStrikethrough() did not set the font
Fixes #403
2018-03-04 21:39:32 +01:00
Tony Brix bdc95b14bf Select correct cell when calling freezePane
Fixes a bug when calling `$sheet->freezePane('B2')` without a second argument.
The selected cell will now be `B2` instead of the incorrect `B3`.

Fixes #389
Closes #393
2018-03-03 16:48:30 +01:00
Josh Grant a089a87671 Avoid losing calculated value type
Closes #394
2018-03-03 11:51:06 +01:00
Josh Grant 148bee1991 Support _xlfn. prefix and add ISFORMULA, MODE.SNGL, STDEV.S, STDEV.P
This change adds support for newer functions that are prefixed
by _xlfn. (#356). The calculation engine has been updated to
recognise these as functions, and drop the _xlfn. part.

It also add a couple of the new functions such as STDEV.S/P,
MODE.SNGL, ISFORMULA.

Fixes #356
Closes #390
2018-02-26 09:35:53 +01:00
Adrien Crivelli 1adc3a6688 Read printing area correctly when skipping some sheets
Fixes #371
2018-02-25 19:40:11 +01:00
Adrien Crivelli f58724ae0b Fix code style 2018-02-25 13:58:42 +01:00
luciferfran ae1ec5f2cf Use proper € symbol for currency format
This also place the symbol after the figure as it is by far the most
common usage according to https://en.wikipedia.org/wiki/Language_and_the_euro#Summary

Closes #379
2018-02-25 13:51:47 +01:00
Paul Klimov eb612157dd array short syntax in documentaiton (#373) 2018-02-25 13:16:04 +01:00
Claudio Zizza 0084776160 Remove Scrutinizer failure condition
Previous commits introduced failure conditions in Scrutinizer,
which dropped the index of Xlsx reader drasticly.
2018-02-20 17:35:30 +09:00
Adrien Crivelli edae73b3e0 Avoid Travis timeout 2018-02-12 12:41:15 +09:00
Adrien Crivelli 349e4452e7 Fix a few docblocks 2018-02-12 12:09:35 +09:00
Adrien Crivelli 8aef9d10a3 Mentions removed default values in migration guide
Closes #360
2018-02-11 16:24:14 +09:00
Jan-Sverre Riksfjord 2e37578971 Fix zoom scale problems on reading bad xlsx files
Some computer programs will output xlsx files that do not compare 100%
to the standards. Excel will open the file without any problem.

setZoomScaleNormal() should throw exception when manually setting the
scale to less than or equals 0, but when reading files, we should
be able to read a file with such error, as Excel does.

Closes #350
2018-02-11 14:50:07 +09:00
Chris Wild 608a2edba7 HTML writer creates a generator meta tag
Fixes #312
Closes #362
2018-02-11 14:34:38 +09:00
Adrien Crivelli 969c00a1f4 Remove unnecessary suggestions
Fixes #367
2018-02-09 22:24:26 +09:00
Toha 38b90715e2 Fix formula string truncated at the end.
Wrong use of substr() in commit 453f8f1821 makes
formula string truncated at the end.

Signed-off-by: Toha <tohenk@yahoo.com>
2018-02-08 12:45:41 +09:00
Adrien Crivelli 02e176197a Code style 2018-02-05 21:48:47 +09:00
Adrien Crivelli e31878ceb1 Check for MIME type to know if CSV reader can read a file
CSV reader used to accept any file without any kind of check. That made
users incorrectly believe that things were ok, even though there is no
way for CSV reader to read anything else that plain text files.

Fixes #167
2018-02-05 21:33:23 +09:00
Adrien Crivelli 13a10e40a7 Update license name to satisfy composer 2018-02-01 22:02:32 +09:00
Adrien Crivelli de7758f9b6 Avoid potentially unsupported PSR-16 cache keys
Ensure compatibility with all PSR-16 cache implementation by using
a stricter character set for cache key that match the spec.

Fixes #354
2018-02-01 21:27:36 +09:00
Adrien Crivelli a2771e562e 1.1.0
- Support for PHP 7.2
- Support cell comments in HTML writer and reader - [#308](https://github.com/PHPOffice/PhpSpreadsheet/issues/308)
- Option to stop at a conditional styling, if it matches (only XLSX format) - [#292](https://github.com/PHPOffice/PhpSpreadsheet/pull/292)
- Support for line width for data series when rendering Xlsx - [#329](https://github.com/PHPOffice/PhpSpreadsheet/pull/329)

- Better auto-detection of CSV separators - [#305](https://github.com/PHPOffice/PhpSpreadsheet/issues/305)
- Support for shape style ending with `;` - [#304](https://github.com/PHPOffice/PhpSpreadsheet/issues/304)
- Freeze Panes takes wrong coordinates for XLSX - [#322](https://github.com/PHPOffice/PhpSpreadsheet/issues/322)
- `COLUMNS` and `ROWS` functions crashed in some cases - [#336](https://github.com/PHPOffice/PhpSpreadsheet/issues/336)
- Support XML file without styles - [#331](https://github.com/PHPOffice/PhpSpreadsheet/pull/331)
- Cell coordinates which are already a range cause an exception [#319](https://github.com/PHPOffice/PhpSpreadsheet/issues/319)
1.1.0
2018-01-28 21:37:15 +09:00
Adrien Crivelli 84f012f4bb Use stages for Travis 2018-01-28 21:00:44 +09:00
Adrien Crivelli 23896213ac Test code style only once 2018-01-28 17:09:10 +09:00
Adrien Crivelli d520246d32 Allow to install PHP-CS-Fixer with incompatible PHP because it will not be run 2018-01-28 16:28:26 +09:00
Adrien Crivelli d2f55ffa07 Support PHP 7.2 2018-01-28 16:23:38 +09:00
Adrien Crivelli c96e2dae02 Update to PHP-CS-Fixer 2.10 2018-01-28 15:59:38 +09:00
Adrien Crivelli 015c83ccf4 Fix a few docblocks 2018-01-28 15:26:42 +09:00
MaxTingle 49775bd972 Fix cell ranges causing coordinate merge error
Fixes #319
Closes #328
2018-01-22 12:26:37 +09:00
Michael Bollman 4e0344c3af Use line width for data series when rendering Xlsx
Closes #329
2018-01-22 11:50:53 +09:00
Gabriel Caruso 257c3eca58 Simplify returns 2018-01-17 12:42:54 +09:00
Adrien Crivelli 28d827d569 Missing backticks 2018-01-17 12:10:12 +09:00
Adrien Crivelli 481fc4a7c6 Support XML file without styles
Closes #331
Closes https://github.com/PHPOffice/PHPExcel/pull/559
Fixes https://github.com/PHPOffice/PHPExcel/issues/558
2018-01-14 17:08:50 +09:00
Adrien Crivelli bf2dbbaf10 COLUMNS and ROWS functions crashed in some cases
Fixes #336
Fixes https://github.com/PHPOffice/PHPExcel/issues/1383
2018-01-13 18:01:50 +09:00
Adrien Crivelli 4635d39b4a PHP 7.2 compatibility 2018-01-09 14:26:59 +09:00
Gedas Lukošius 55689caa1d Change array key from style to borderStyle 2018-01-09 00:45:19 +09:00
Adrien Crivelli 25bc54f9eb Freeze Panes takes wrong coordinates for XLSX
Fixes #322
2018-01-09 00:42:30 +09:00
Steffen Breiler 653adf8e10 Adding option to stop at a conditional styling, if it matches
This would be used like `$conditonal->setStopIfTrue()` and is only supported
for XLSX format for now.

Closes #292
2018-01-07 22:45:51 +09:00
Christoph "criztovyl" Schulz cdbf3347cb Support for cell comments in HTML writer and reader
The behavior is similar to what is done in LibreOffice. That means if there is a
comment it will be shown with a small indicator and the actual comment will be
revealed when mouse hover over the indicator.

Fixes #308
Closes #310
2018-01-07 21:51:48 +09:00
Adrien Crivelli 98e0a97139 Typo in documentation
Closes #315
2018-01-04 13:34:25 +09:00
Adrien Crivelli a504a39474 Fix PHPDoc blocks
Closes #314
2018-01-04 02:02:41 +09:00
Adrien Crivelli 4f1fae5298 Test classes must ends with Test 2018-01-02 00:53:28 +09:00