PhpSpreadsheet/tests/PhpSpreadsheetTests/Writer
oleibman 580c741c8e
Improve PDF Support for Page Size and Orientation (#2410)
Fix #1691. PhpSpreadsheet allows the setting of different page size and orientation on each worksheet. It also allows the setting of page size and orientation on the PDF writer. It isn't clear which is supposed to prevail when the two are in conflict. In the cited issue, the user expects the PDF writer setting to prevail, and I tend to agree. Code is changed to do this, and handling things in this manner is now explicitly documented.

PhpSpreadsheet uses a default paper size of Letter, and a default orientation of Default (which Excel treats as Portrait). New static routines are added to change the default for sheets created subsequent to such calls. This could allow users to configure these defaults better for their environments. The new functions are added to the documentation.
2021-12-01 23:00:02 -08:00
..
Csv Csv Handling of Booleans (and an 8.1 Deprecation) (#2232) 2021-08-04 07:00:17 -07:00
Html 2 Tests vs. Scrutinizer/Phpstan 2021-07-01 11:15:02 +02:00
Mpdf Improve PDF Support for Page Size and Orientation (#2410) 2021-12-01 23:00:02 -08:00
Ods Ods defined names unit tests (#2054) 2021-05-03 08:39:42 +02:00
Xls Merge branch 'master' into PHP8-Sane-Property-Names 2021-10-31 15:25:01 +09:00
Xlsx Don't corrupt file when using chart with fill color 2021-11-23 23:34:48 +09:00
PreCalcTest.php Scrutinizer and Phpstan 2021-05-29 12:52:11 +02:00
RetainSelectedCellsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00