Thank you for the template. We're gonna check if we can optimize processing a bigger XLSX template like this one
https://github.com/jsreport/jsreport/issues/1270
Jan Blaha
@admin
Posts made by admin
-
RE: Excel Template Render Timeout issueposted in general forum
-
RE: JSReport Puppeteer vulnerabilitiesposted in general forum
We will again update puppeteer/chromium in the next release. As always. Likely soon.
If you need to update just now, go ahead and update the puppeteer dependency.
You just need to list the latest puppeteer dependency in your package.json.Or build your own Docker image with the updated Chromium. However, note that the latest Chromium with the fix is not yet in the public repository at the time of writing this post.
-
RE: How can I change an object like rectangle color in PPTXposted in general forum
Unfortunately, this isn't supported yet.
I've added this feature to the backlog now
https://github.com/jsreport/jsreport/issues/1269 -
RE: NodeJS now required for standalone version?posted in general forum
Hi,
Unfortunately, we don't provide a compiled version of jsreport in the latest release. There is a problem with the technology used for compilation. We will try to support the compiled versions again in the next release.
I've updated the release notes. I apologize for the confusion.
Jan
-
RE: reportTimeout Behavior in Async Requestsposted in general forum
Unfortunately, it's not there. There was some controversy, but I am adding this now...
-
RE: JSReport Puppeteer vulnerabilitiesposted in general forum
The dependencies will be updated with the next release as always.
https://github.com/jsreport/jsreport?tab=readme-ov-file#vulnerabilitiesThe release is scheduled for this week.
-
RE: Merge external PDF into recipeposted in general forum
Yes, you can use a custom jsreport script where you can code what you need
https://jsreport.net/learn/scripts
https://jsreport.net/learn/pdf-utils#usage-in-scriptconst jsreport = require('jsreport-proxy') async function afterRender (req, res) { res.content = await jsreport.pdfUtils.merge(res.content, Buffer.from(req.data.externalPdf, 'base64')) }Full demo here
https://playground.jsreport.net/w/anon/2lCyXIBl -
RE: numbers of columns in html-embedded-in-docxposted in general forum
It works the way jsreport takes your html as is and puts it into the docx file source.
When you open the Word app, it interprets the HTML.
jsreport does not influence how it is interpreted.Perhaps you can try the docx recipe and
docxHtmlhelper, if you need to display just a simple html.
This would let you modify the page size and orientation in the word template.
https://jsreport.net/learn/docx#docxhtml -
RE: Component Evaluation Hookposted in general forum
Maybe you can implement your own helper "dynamicComponent" that receives the component code and returns the evaluated result.
It would be up to you where you download the component implementation.https://playground.jsreport.net/w/anon/CQZ_3bC4
const jsreport = require('jsreport-proxy') async function dynamicComponent(content, helpers) { return await jsreport.templatingEngines.evaluate({ engine: 'handlebars', content: content, helpers: helpers, data: this }, { entity: jsreport.req.template, entitySet: 'templates' }) }{{{dynamicComponent "some dynamic content {{myData}}" "function aHelper() {}"}}}