Hi Jason,
I'm currently using org.docx4j:docx4j-JAXB-ReferenceImpl:8.3.1 to generate a document replacing variables.
I fetch the template (with placeholders) from a google drive using the export link for DOCX.
public InputStream getDocumentByTitle(String title, String loggedInEmail) {
try {
credential = createGoogleApiService("drive", loggedInEmail);
Drive service = new Drive.Builder(httpTransport, jsonFactory, credential)
.setApplicationName(applicationNames.get("drive"))
.build();
Drive.Files.List files = service.files().list()
.setQ("mimeType != 'application/vnd.google-apps.folder' and trashed = false and 'xxx' in parents and name = '" + title + "'")
.setCorpora("allDrives") ...

News of Plutext