npm install @jsreport/jsreport-html-embedded-in-docx
The html-embedded-in-docx
recipe takes the html
output and embeds it into the docx based report. This is very straight forward way to generate docx/word reports from jsreport. However please note that such output docx file cannot be opened in some Office implementations like Open Office
.
The word support for inlined html is limited. If you want to create native docx reports running in all office implementations, you should check the docx recipe.
img
tags. This can be implemented using a custom helper. See demo.See general documentation for office preview in studio here.