unoconv

Extension using unoconv to convert reports to the OpenoOffice/LibreOffice supported formats

Installation

Linux

npm i jsreport-unoconv
apt-get install unoconv

Windows

  1. Install Python
  2. Download unoconv script.
  3. Install LibreOffice
  4. npm i jsreport-unoconv
  5. Configure jsreport
{ 
  "extensions": {
    "unoconv": {
      "command": "python [unoconvScriptPath]"
    }
  }
}

Usage

  1. Prepare template generating an office document like xlsx or docx
  2. Open unoconv properties and specify desired output format like pdf
  3. Run the template

unoconv

Configuration

{ 
  "extensions": {
    "unoconv": {
      "command": "custom unoconv command"
    }
  }
}

jsreport version