Adrien Crivelli
a38de08344
Update deps to be installable with PHP 7.1-7.3
2019-11-10 17:04:56 +01:00
Suraxius
13eaeb39cf
Fixes issue #948 ( #1228 )
...
* Fixes issue #948 by including a setUseEmbeddedCSS(false) method. Doesn't change current behaviour if not set
* Removes a empty line in src/PhpSpreadsheet/Writer/Html.php that fails a test
2019-11-01 00:52:20 +01:00
Mark Baker
617ea476c0
Complex number mask for integers containing a single dot ( #1227 )
2019-10-30 22:54:06 +01:00
Mark Baker
1b4098da8e
Minor scrutinizer fixes ( #1226 )
...
* Minor scrutinizer fixes
* Remove spurious debug output
2019-10-30 20:30:52 +01:00
Mark Baker
429a34cb14
Fix row/column range references against a different worksheet ( #1224 )
2019-10-29 23:35:23 +01:00
MarkBaker
d088f47c7c
Fix changelog, eliminate duplicate entries
2019-10-28 23:22:53 +01:00
MarkBaker
9adbbdb95a
Update changelog
2019-10-28 21:54:30 +01:00
MarkBaker
ab6e87fb1c
Merge remote-tracking branch 'origin/master'
2019-10-28 21:53:40 +01:00
Jens Hassler
55209424b2
support "showZeros" setting in Excel advanced worksheet options ( #1199 )
...
* support "showZeros" setting in Excel advanced worksheet options
* add changelog entry
* change isShowZeros to getShowZeros
2019-10-28 21:52:30 +01:00
Mark Baker
43b760501a
Text data locale for fixedformat ( #1220 )
...
* Apply Locale settings to result of FIXEDFORMAT method call
2019-10-28 20:37:12 +01:00
MarkBaker
bc8dd75030
Merge remote-tracking branch 'origin/master'
2019-10-28 18:52:26 +01:00
David Arenas
89066d2568
Bugfix/remove column out of range ( #1197 )
...
* Call garbage collector after removing a column
Otherwise callers of getHighestColumn get stale values
* Update changelog
* Fix remove a column out of range removes the last column
Given:
+---+---+
| A | B |
+---+---+
Attempting to remove 'D', should not alter the worksheet
* Avoid side effects when trying to remove more columns than exists
2019-10-28 18:52:06 +01:00
MarkBaker
e469b00508
Merge remote-tracking branch 'origin/master'
2019-10-28 18:45:12 +01:00
David Arenas
b82afe37dc
Bugfix/invalid cached highest column after column removed ( #1195 )
...
* Call garbage collector after removing a column
Otherwise callers of getHighestColumn get stale values
* Update changelog
2019-10-28 18:42:56 +01:00
MarkBaker
ddbd8ad0f5
Merge branch 'bugfix/invalid-cached-highest-column-after-column-removed' of https://github.com/darenas31415/PhpSpreadsheet
2019-10-28 18:38:26 +01:00
Marc Würth
311a34406e
Do not export .github folder ( #1211 )
2019-10-19 13:18:28 +02:00
David Arenas
edcdd8fead
Update changelog
2019-10-11 01:11:44 +01:00
David Arenas
703c670fbf
Call garbage collector after removing a column
...
Otherwise callers of getHighestColumn get stale values
2019-10-11 01:01:45 +01:00
Boris Momčilović
9d6736d303
Writer: Xlsx: Worksheet: handle PHP 7.4 deprecation notice
2019-09-20 16:22:08 -07:00
MarkBaker
f7d2ebac40
Minor fix to operator check
2019-09-20 16:22:08 -07:00
MarkBaker
a691516664
Improvements to default value binder
2019-09-20 16:22:08 -07:00
MarkBaker
b894b98a2c
Test fixes for PHP 7.4 stricter behaviour
2019-09-20 16:22:08 -07:00
Adrien Crivelli
8972d370a6
Merge pull request #1113 from PHPOffice/Further-Test-Refactoring
...
Further test refactoring
2019-09-20 16:15:29 -07:00
Adrien Crivelli
ee5134a954
Merge branch 'master' into Further-Test-Refactoring
2019-09-20 16:04:36 -07:00
Adrien Crivelli
a972943ac5
Mention PHP version change in changelog
2019-08-24 12:42:22 -07:00
Adrien Crivelli
48ccdc2716
Prepare for next version
2019-08-17 15:28:41 -07:00
Adrien Crivelli
09ab584a23
Merge tag '1.9.0'
...
1.9.0
### Added
- When <br> appears in a table cell, set the cell to wrap [#1071 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1071 ) and [#1070 ](https://github.com/PHPOffice/PhpSpreadsheet/pull/1070 )
- Add MAXIFS, MINIFS, COUNTIFS and Remove MINIF, MAXIF [#1056 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1056 )
- HLookup needs an ordered list even if range_lookup is set to false [#1055 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1055 ) and [#1076 ](https://github.com/PHPOffice/PhpSpreadsheet/pull/1076 )
- Improve performance of IF function calls via ranch pruning to avoid resolution of every branches [#844 ](https://github.com/PHPOffice/PhpSpreadsheet/pull/844 )
- MATCH function supports `*?~` Excel functionality, when match_type=0 [#1116 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1116 )
- Allow HTML Reader to accept HTML as a string [#1136 ](https://github.com/PHPOffice/PhpSpreadsheet/pull/1136 )
### Fixed
- Fix to AVERAGEIF() function when called with a third argument
- Eliminate duplicate fill none style entries [#1066 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1066 )
- Fix number format masks containing literal (non-decimal point) dots [#1079 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1079 )
- Fix number format masks containing named colours that were being misinterpreted as date formats; and add support for masks that fully replace the value with a full text string [#1009 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1009 )
- Stricter-typed comparison testing in COUNTIF() and COUNTIFS() evaluation [#1046 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1046 )
- COUPNUM should not return zero when settlement is in the last period [#1020 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1020 ) and [#1021 ](https://github.com/PHPOffice/PhpSpreadsheet/pull/1021 )
- Fix handling of named ranges referencing sheets with spaces or "!" in their title
- Cover `getSheetByName()` with tests for name with quote and spaces [#739 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/739 )
- Best effort to support invalid colspan values in HTML reader - [#878 ](https://github.com/PHPOffice/PhpSpreadsheet/pull/878 )
- Fixes incorrect rows deletion [#868 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/868 )
- MATCH function fix (value search by type, stop search when match_type=-1 and unordered element encountered) [#1116 ](https://github.com/PHPOffice/PhpSpreadsheet/issues/1116 )
- Fix `getCalculatedValue()` error with more than two INDIRECT [#1115 ](https://github.com/PHPOffice/PhpSpreadsheet/pull/1115 )
- Writer\Html did not hide columns [#985 ](https://github.com/PHPOffice/PhpSpreadsheet/pull/985 )
2019-08-17 15:27:37 -07:00
Adrien Crivelli
8dea03eaf6
1.9.0
2019-08-17 15:24:35 -07:00
Claudio Galdiolo
74bc0b826d
reword repeated text
2019-08-17 13:49:27 -07:00
Adrien Crivelli
05081c4acf
Standardize changelog to the simplest format
2019-08-17 13:31:40 -07:00
Andrey Dovbyshko
ed25365531
Fix Writer\Html did not hide columns
...
Closes #985
2019-08-17 13:26:28 -07:00
yunjusu
bbbfdb86a0
Fix `getCalculatedValue()` error with more than two INDIRECT
...
Closes #1115
2019-08-17 12:59:30 -07:00
Nathanael Noblet
95c8bb9918
Allow HTML Reader to load from string
...
We often want to export a table as an excel sheet. The system renders the
html and it seems like a waste of time to write it to the file system to
use the reader. This allows us to render the html and then just pass it to
a reader
Closes #1136
2019-08-17 12:54:22 -07:00
Adrien Crivelli
34675bdf5d
Remove dead code
2019-08-12 10:04:40 -07:00
Rolands Usāns
9df68f12e2
MATCH function fix
...
- fix boolean search
- add support for excel expressions `*?~`
Fixes #1116
Closes #1122
2019-08-11 20:11:36 -07:00
Adrien Crivelli
2166458de3
Duplicated call of strtoupper
2019-08-11 19:41:10 -07:00
Adrien Crivelli
7cca8d2bae
Consistent format name and value
2019-08-11 19:39:49 -07:00
rumbleh
1e1118d9e0
Update NumberFormat.php
...
Fix FORMAT_DATE_DDMMYYYY from 'dd/mm/yy' to 'dd/mm/yyyy'
2019-08-11 19:39:49 -07:00
Alex Pravdin
5fe0a796c7
Fix incorrect cache clearance on row deletion
...
Fixes #868
Closes #871
2019-08-11 18:36:07 -07:00
Fräntz Miccoli
0b387e767e
Branch pruning around IF function calls to avoid resolution of every branches
...
Calculation engine was resolving every function by first resolving its arguments
including IFs, this was causing significant over evaluation when IFs were used
as it meant for every case to be evaluated.
Introduce elements to identify ifs and enable better branch resolution
(pruning). We tag parsed tokens to associate a branch identifier to them.
Closes #844
2019-08-11 18:23:47 -07:00
MarkBaker
7219e665a0
As always, falling foul of codesniffer
2019-07-30 19:07:24 +02:00
MarkBaker
4c9d51c11b
Add Associative indexing to dataprovider for DATE
2019-07-30 19:00:00 +02:00
MarkBaker
aa35a2f85f
More refactoring Excel of Calculation Function Unit Tests
2019-07-30 18:54:37 +02:00
Mahmoud Abdo
785705b712
Best effort to support invalid colspan values in HTML reader
...
Closes #878
2019-07-27 23:31:23 -07:00
Christian WERNER
d6b3514431
Cover `getSheetByName()` with tests for name with quote and spaces
...
Fixes #739
Closes #893
2019-07-27 22:46:41 -07:00
MarkBaker
f14e5ea837
More refactoring Excel of Calculation Function Unit Tests
2019-07-27 16:35:27 +02:00
MarkBaker
905a697639
More work on refactoring Excel Calculation Function Unit Tests
2019-07-27 16:02:58 +02:00
MarkBaker
0b2dcae1be
Merge remote-tracking branch 'origin/master'
2019-07-27 14:29:06 +02:00
Mark Baker
26e87c45ae
Test refactoring ( #1112 )
...
* Merge branch 'master' of C:\Projects\PHPOffice\PHPSpreadsheet\develop with conflicts.
* Argument fix
* Text Test functions refactored into individual test files
* Codestyle (line at eof)
* docblocks
2019-07-27 14:28:16 +02:00
MarkBaker
dbb83ab184
Merge remote-tracking branch 'origin/master'
2019-07-26 22:22:20 +02:00