Generating Word Document (docx) from HTML
We currently have a process for generating PDF documents from HTML (combined from a reapating list of fragments) but the client is requesting for a Word Document also to be generated at times where manual edits and back and forth communication between multiple parties is needed.
I've looked into a number of posts on Word Document generation in Pega Community including below post but have not found something that can be used with Pega 8.4.
The clostest option to what I need to do was found under one of the posts that was discussing the use of Docx4J library but in Pega 8.4 the pzGenerateDocument Function that uses this library is marked Depricated. What is recommended in Pega 8.4 is use of pxGenerateWordDocument but that does not seem to have the flexibiity that was there with Docx4J for using HTML inpout in order to generate the Word Document.
I would appreciate it any input on how this could be achieved in Pega 8.4 since it would not be possible to maintain two sets of document source (text/HTML and Word Template) for each section that needs to be included in current PDF generation as well as now needed Word Document.