{"id":18812581,"url":"https://github.com/jsreport/jsreport-unoconv","last_synced_at":"2025-04-13T21:24:49.247Z","repository":{"id":57286297,"uuid":"159021536","full_name":"jsreport/jsreport-unoconv","owner":"jsreport","description":"jsreport extension using unoconv to convert output report into openoffice supported output","archived":false,"fork":false,"pushed_at":"2021-08-20T16:56:38.000Z","size":188,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-09-18T10:04:38.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jsreport.net","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsreport.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-25T10:46:59.000Z","updated_at":"2023-05-09T20:00:53.000Z","dependencies_parsed_at":"2022-09-10T01:02:07.221Z","dependency_job_id":null,"html_url":"https://github.com/jsreport/jsreport-unoconv","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-unoconv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-unoconv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-unoconv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-unoconv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsreport","download_url":"https://codeload.github.com/jsreport/jsreport-unoconv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223606576,"owners_count":17172695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T23:34:12.949Z","updated_at":"2024-11-07T23:34:13.648Z","avatar_url":"https://github.com/jsreport.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**⚠️ This repository has been moved to the monorepo [jsreport/jsreport](https://github.com/jsreport/jsreport)**\r\n--\r\n\r\n# jsreport-unoconv\r\n[![NPM Version](http://img.shields.io/npm/v/jsreport-unoconv.svg?style=flat-square)](https://npmjs.com/package/jsreport-unoconv)\r\njsreport extension using [unoconv](https://github.com/dagwieers/unoconv) to convert outputs to the formats supported by openoffice\r\n\r\nSee https://jsreport.net/learn/unoconv\r\n\r\n## Installation\r\n\r\n\u003e **npm install jsreport-unoconv**\r\n\r\n\r\n## jsreport-core\r\nYou can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)\r\n\r\n```js\r\nvar jsreport = require('jsreport-core')()\r\njsreport.use(require('jsreport-docxtemplater')())\r\njsreport.use(require('jsreport-unoconv')({\r\n  command: 'unoconv'\r\n}))\r\n\r\nconst result = await reporter.render({\r\n  template: {\r\n      engine: 'none',\r\n      recipe: 'docxtemplater',\r\n      docxtemplater: {\r\n        templateAsset: {\r\n          content: fs.readFileSync(path.join(__dirname, 'template.docx'))\r\n        }\r\n      },\r\n      unoconv: {\r\n        format: 'pdf'\r\n      }\r\n    },\r\n    data: {\r\n      name: 'John'\r\n    }\r\n  }\r\n)\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-unoconv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsreport%2Fjsreport-unoconv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-unoconv/lists"}