Phpexcel crashes while creating pdf file with dompdf

时间:2017-06-15 10:33:22

标签: php phpexcel dompdf

I want to save phpexcel document as pdf, but created file has lot's extra lines which shouldn't be here and also contents of file don't fit in page with portrait orientation. I tried to change orientation to landscape, but creation crashed with the following mistake: Frame not found in cellmap

How can I fix this?

1 个答案:

答案 0 :(得分:0)

这有助于隐藏额外的行: $ phpDoc-> setActiveSheetIndex(0) - > setShowGridlines(假);

但我仍然不知道如何在不崩溃的情况下将文档方向更改为横向