PhpSpreadsheet/tests/PhpSpreadsheetTests/Worksheet
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
..
AutoFilter AutoFilter Improvements (#2393) 2021-11-16 07:46:07 -08:00
ColumnCellIterator2Test.php Let's see what Scrutinizer makes of these changes (#1859) 2021-02-18 12:39:24 +01:00
ColumnCellIteratorTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
ColumnDimensionTest.php Html import dimension conversions (#2152) 2021-06-11 17:29:49 +02:00
ColumnIteratorTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
ColumnTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
DefaultPaperSizeTest.php Improve PDF Support for Page Size and Orientation (#2410) 2021-12-01 23:00:02 -08:00
DrawingTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
IteratorTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
PageMarginsTest.php Stricter visibility 2020-07-19 12:30:31 +09:00
ProtectionTest.php Password and hash are exclusive 2020-05-31 22:36:37 +09:00
RowCellIterator2Test.php Let's see what Scrutinizer makes of these changes (#1859) 2021-02-18 12:39:24 +01:00
RowCellIteratorTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
RowDimensionTest.php Html import dimension conversions (#2152) 2021-06-11 17:29:49 +02:00
RowIteratorTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
RowTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
WorksheetNamedRangesTest.php Now That SettingsTest Is Well-Behaved 2021-06-30 13:15:20 -07:00
WorksheetTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00