I have merge fields in a table inside word Document template and I am trying To populate the rows only when the data is present. I am able To clean up the merge field references in the template after my Document has fini…...Document doc = new Document("path/to/your/template.docx"); // Set...options to remove empty table rows doc.getMailMerge().setCleanupOpt...