Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ Rendering Grails Plugin

This plugin adds PDF, GIF, PNG and JPEG rendering facilities to Grails applications via the [XHTML Renderer](https://github.com/flyingsaucerproject/flyingsaucer) library.

Install
-------

To install just add to the dependency block in the `build.gradle`

For Grails 7.x
```groovy
implementation 'io.github.gpc:rendering:7.0.0-RC1'
```

For Grails 3.x - 6.x
```groovy
implementation 'org.grails.plugins:rendering:2.0.3'
```

Usage
-----

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

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