6 Commits

Author SHA1 Message Date
Adrien Crivelli 77e6cc528c Apply PhpCsFixer phpdoc_to_property_type 2023-12-10 09:16:38 +01:00
Adrien Crivelli ec4098c8fd Strict mode for all tests
While we might never be able to have 100% of our code strict, we can at
the very least do it for all of our tests. This ensures that our tests
are using our API with the types as intended by the test author, and not
silently be cast to what our API requires.
2023-09-07 17:44:56 +08:00
oleibman 482fe6de64 Recognize 'Hidden' Attribute and Other Unsupported Options in Xml Spreadsheet (#3567)
* Recognize 'Hidden' Attribute in Xml Spreadsheet

Fix #3566; PhpSpreadsheet should now handle Hidden attribute for rows and columns in Xml spreadsheets. Also added the ability to load Xml spreadsheet from string rather than file, as can be done for Csv and Html.

* Add Support for Top Left Cell

Another missing piece.

* Font Bold/Italic

Was always setting to true rather than checking value for 0/1.

* Active Sheet Index

Had always been set to hard-coded 0. Read it from XML if available.

* Selected Cells

Get Selected Cells from XML when available.

* Worksheet Protection and Style Protection

Add support for those to Xml Reader.

* Column Spans

Not really an essential part of Excel, used in Xml to reduce file size.
2023-05-18 08:04:37 -07:00
Adrien Crivelli f122dc62be heredoc syntax does not break indentation anymore 2022-12-02 15:33:30 +01:00
Adrien Crivelli 49f87de165 Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
oleibman 3025824a48 Merge pull request #1698
* Merge pull request #4 from PHPOffice/master

* Restore Omitted Read XML Test
2020-12-17 17:00:19 +01:00