Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
/ grails-rendering Public archive
forked from gpc/rendering

Provides rendering of GSPs as PDFs, JPEGs, GIFs and PNGs

License

Notifications You must be signed in to change notification settings

Ari651/grails-rendering

 
 

Repository files navigation

Build Status

Rendering Grails Plugin

This plugin adds PDF, GIF, PNG and JPEG rendering facilities to Grails applications via the XHTML Renderer library.

Rendering is either done directly via one of the «format»RenderingService services …

ByteArrayOutputStream bytes = pdfRenderingService.render(template: "/pdfs/report", model: [data: data])

Or via one of the render«format»() methods added to controllers …

renderPdf(template: "/pdfs/report", model: [report: reportObject], filename: reportObject.name)

Please see the User Guide for more information.

The plugin is released under the Apache License 2.0 and is produced under the Grails Plugin Collective. However, it does LGPL libraries: XhtmlRenderer and iText.

About

Provides rendering of GSPs as PDFs, JPEGs, GIFs and PNGs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Groovy 97.2%
  • Shell 2.8%