private void buildTable(String inputFile, String outputFile) {
File destFile = new File(outputFile);
try {
Package pack = Package.open(inputFile, PackageAccess.READ_WRITE);
WordDocument docx = new WordDocument(pack);
TableDescription tableDesc = buildTestData();
// ADD TABLE TO DOC
docx.appendTable(tableDesc);
docx.save(destFile);
} catch (Exception e) {
logger.error(e);
}
}