You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a small reporting engine that uses relatorio ods templates as the rendering layer. I am currently using unoconv to convert to other formats like XLS, XLSX, PDF ..etc. The problem with PDF is that some of the reports need to be in an A3 page or landscape layout to be exported properly.
I am wondering if there is some way to set the page size and layout.
P.S: I am using unoconv 0.6 on Ubuntu/trusty server
Thanks.
The text was updated successfully, but these errors were encountered:
However, under normal circumstances when a user sets the page size and layout inside LibreOffice (in preparation for printing, perhaps), these settings are saved within the document. Upon exporting to PDF, LibreOffice uses these same values to decide the size and orientation of the virtual pages of the PDF.
Thus, I would think that the easiest way round the problem is to modify your templates so that their printing settings are for A3 landscape, and LibreOffice will read this and output PDF to this size.
I am sorry I didn't provide you with feedback.
I found out it can be done from View->Page break preview and set your page breaks.
And also setting the page size from Format -> Page.
This functionality does not exist yet out-of-the-box, but can be achieved by modifying unoconv to perform the exact operations to change Page format before conversion. We have feature-request #84 for this, but I never got around a plugin mechanism yet.
Hi,
I have a small reporting engine that uses relatorio ods templates as the rendering layer. I am currently using unoconv to convert to other formats like XLS, XLSX, PDF ..etc. The problem with PDF is that some of the reports need to be in an A3 page or landscape layout to be exported properly.
I am wondering if there is some way to set the page size and layout.
P.S: I am using unoconv 0.6 on Ubuntu/trusty server
Thanks.
The text was updated successfully, but these errors were encountered: