Generating PDF Invoices from Word Templates with officeParser 0 ▲ Raymond Camden 6 hours ago · 7 min read1331 words · Tech · hide · 0 comments Last week I shared a demo ("Generating PDFs from Word Templates with officeParser") that made use of the awesome officeParser open source library. That demo was a simple "customer report" web app that took custom data and a Word template. Once the form was submitted, the library converted tokens in the Word template to real data and output a PDF. I decided to build another demo using the library, this time on the server with a simple Node.js script. As I mentioned previously, this new feature mimics Adobe's Document Generation API. At the time I wrote my blog post, the library just supported simple transformations. So given `` in your Word template, if you passed a name value of 'Ray', you would see that in the resulting PDF. Now the library's been updated to support: Conditional logic Looping Formatting of values Basically, and no shade to Adobe (not that I think they care), this open source library replicates the most of the same functionality, on your server, for free. Given these… No comments yet. Log in to reply on the Fediverse. Comments will appear here.