An open API service indexing awesome lists of open source software.

https://github.com/jsreport/jsreport-fop-pdf

jsreport recipe which is rendering pdf using apache fop
https://github.com/jsreport/jsreport-fop-pdf

Last synced: 12 months ago
JSON representation

jsreport recipe which is rendering pdf using apache fop

Awesome Lists containing this project

README

          

⚠️ This extension is deprecated and is compatible only with the jsreport v2
--

# jsreport-fop-pdf
[![NPM Version](http://img.shields.io/npm/v/jsreport-fop-pdf.svg?style=flat-square)](https://npmjs.com/package/jsreport-fop-pdf)

jsreport recipe which is rendering pdf using [apache fop](https://xmlgraphics.apache.org/fop/)

See https://jsreport.net/learn/fop-pdf

## Installation
> npm install jsreport-fop-pdf

## Usage
To use `recipe` in for template rendering set `template.recipe=fop-pdf` in the rendering request.

```js
{
template: { content: '...', recipe: 'fop-pdf', enginne: '...' }
}
```

## jsreport-core
You can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)

```js
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-fop-pdf')())
```