PhpSpreadsheet/tests/PhpSpreadsheetTests/Writer/Html
oleibman 39df9c3bcc
Fix Some Pdf Problems (#2960)
* Fix Some Pdf Problems

Fix #1747. No support for text rotation in Pdf. That issue actually has a decent workaround, but PhpSpreadsheet should handle it on its own. Mpdf requires the proprietary text-rotate css attribute; Html and Dompdf will use the CSS3 attribute transform:rotate.

Fix #1713. Some paper-size values in PhpSpreadsheet are strings, some are 2-element float arrays. Dompdf accepts strings or 4-element float arrays, where the first 2 elements are always 0. Convert the PhpSpreadsheet array accordingly before passing it to Dompdf.

Some tests had been disabled when Dompdf and Tcpdf were slow to achieve PHP8 compliance. They achieved it some time ago. Re-enable the tests.

* Remove Tcpdf From One Test

No problem with the other tests I added it in for.
2022-07-29 06:14:28 -07:00
..
AllOrOneSheetTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
CallbackTest.php Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00
ExtendForChartsAndImagesTest.php Don't ouput row and columns without any cells in HTML writer 2020-06-28 22:03:37 +09:00
GridlinesTest.php Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00
HtmlCommentsTest.php Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00
HtmlNumberFormatTest.php Changes to the default arguments for `htmlspecialchars()` and `html_entity_decode()` requires setting of the argument value explicitly to prevent changes in behaviour. (#2176) 2021-06-21 12:56:03 +02:00
ImageCopyTest.php Copy from Xls(x) to Html/Pdf Loses Drawings (#2788) 2022-05-07 08:10:24 -07:00
ImagesRootTest.php 2 Tests vs. Scrutinizer/Phpstan 2021-07-01 11:15:02 +02:00
InvalidFileNameTest.php Testing - Delete Temp Files When No Longer Needed (#1488) 2020-05-24 20:03:07 +09:00
RepeatedRowsTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
TextRotationTest.php Fix Some Pdf Problems (#2960) 2022-07-29 06:14:28 -07:00
VisibilityTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
XssVulnerabilityTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00