root.getReportFieldFormats().put("letterTable.html", new ReportFieldFormatImpl("letterTable.html", "${html}"));
FileOutputStream outputStream = new FileOutputStream("./result/smoke/colontitules.doc");
DefaultFormatterFactory defaultFormatterFactory = new DefaultFormatterFactory();
defaultFormatterFactory.setOfficeIntegration(new OfficeIntegration(openOfficePath, 8100));
ReportFormatter formatter = defaultFormatterFactory.createFormatter(new FormatterFactoryInput("odt", root,
new ReportTemplateImpl("", "./modules/core/test/smoketest/colontitules.odt", "./modules/core/test/smoketest/colontitules.odt", ReportOutputType.doc), outputStream));
formatter.renderDocument();
IOUtils.closeQuietly(outputStream);
}