Control exported PDF page margins with Laravel-Excel
The PDF export functionality works great with Laravel-Excel except that I can't set/control the page margins. Is there anyway to set the PDF page margins from within the Laravel-Excel methods? I can control the PDF margins when creating a PDF directly, without Laravel-Excel, but in many cases we use the Laravel-Excel to create the desired output and then simply export it to a PDF as that seems to be the users preference (as opposed to as CSV or an Excel sheet).
We are using Laravel-Excel Package version - 2.0, Laravel version- 5.1(using laravel-dompdf version 0.6) Expected behaviour - Expect the PDF to follow the page margin settings of Laravel-Excel Actual behaviour - PDF exports via Laravel-Excel (->export('pdf')) do not use Laravel-Excel page margins parameters
Please or to participate in this conversation.