Standalone Office Open XML files (Microsoft Office 2007 and later) generator for Word (docx), PowerPoint (pptx) and Excell (xlsx) in javascript. The output is a stream.
MIT License
2.65k
stars
471
forks
source link
Not able to add horizontal line when generating docx using json #285
This is my data array:
[ [ { // arr[0] is common option. align: 'center' }, { backline: 'EDEDED' }, { type: "image", path: path.resolve(__dirname, 'logo.png') } ], { type: "horizontalline" }, [ { type: "text", val: " backline text2.", opt: { color: '000088' } } ] ]
But the generated document doesn't seem to render the horizontal line.