Skip to content

yuri-gerasimov-stenn/jsreport-fop-xsl-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsreport-fop-xsl-pdf

jsreport recipe which is rendering pdf using apache fop with xsl template

Installation

npm install jsreport-fop-xsl-pdf

Usage

To use recipe in for template rendering set template.recipe=fop-xsl-pdf in the rendering request.

{
  template: { content: '...', recipe: 'fop-xsl-pdf', enginne: '...' },
   data: {
        data: '....',
        outName: '...',
        outType: '...'}
}

Set xsl template in content or create it as template and use by name/id

Set xml data in the data field

Optional:

Set FileName in outName and FileType in outType(FileType - is a available type for Fop which are used)

It is possible to use fop.xconf. It should be added to the root directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages