too complex :)
If i always need to check normalizeEmpty , it should be part of the base function here is an old rejected FR i asked
docx: Add attribute to all docx helper - "enabled"
I will like to do something like this: {{list2table somedata}}
too complex :)
If i always need to check normalizeEmpty , it should be part of the base function here is an old rejected FR i asked
docx: Add attribute to all docx helper - "enabled"
I will like to do something like this: {{list2table somedata}}
Here are my top 2 use cases :
I will like to create my own function and use some Built-in helpers function.
for example manipulate some html and return docxHtml, Is this possible ??
function myHtml(data) {
// some logic on data (html)
return docxHtml (context=data) ;
}
Hi,
I would be happy to get some help here. You just committed a fix to a bug I created in the jsreport-docx
package, but the new package hasn't been released yet.
How can I install the latest commit on my production server, as the jsreport-docx
is not a standalone repo?
follow up question for the answer :
as pdfjs is already installed package in JSreport why do we need to use jsreport.npm.require
?
Yes ,
The json body is encrypted, for that i cannot use beforeRender.
first action is to decrypt the req.body and then start ..
When using the API route Im expecting to get the a valid request but the json will be encrypted.
I cannot use beforeRender or decode the json, i need to use an express middleware.
Can you please provide some guide for this ? TY
@bjrmatos @jan_blaha
You can see the example from the documentation,
https://jsreport.net/learn/docx#docximage
to make it works with multiple images just add a loop around the image placeholder.
Another wild option is using Docx as the base template, so Page number + TOC will be cover ,
The content will be html that will be create in a beforeRender script ..
I want to create document structure that will include:
the actual content of the document is a dynamic Template so using Components/childTemplate looks like the best option.
Another requirement is that the Component/childTemplate body will be provided from a API call .
Using the playground example for Components/childTemplate looks like the actual content is store in the DB.
Here are my questions ?
Thank you for the help