-
Notifications
You must be signed in to change notification settings - Fork 47
Achieving Page Rotation with Rendering Plugin #25
Copy link
Copy link
Closed as not planned
Description
Hello!
We are using the rendering plugin (0.4.4) with grails version 2.2.4 to generate a pdf file via the RenderingService. Our controller uses the following lines of code to generate and save the file locally on the server:
new File(completeFileName).withOutputStream { outputStream ->
pdfRenderingService.render(controller: this, template: 'report/ReportPdfTmpl', model:[id : id], outputStream)};
We are trying to rotate the first page 90 degrees counterclockwise so that even if it is printed as portrait, it still has a default landscape orientation. This is similar to what we can achieve via the transform : rotate (-90deg) property in html markup in a browser. Is it possible to achieve this for the generated pdf? If so, please let us know how.
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels