GroupDocsGists
10/24/2017 - 1:08 PM

Examples-GroupDocs.Assembly.Examples.Java-src-main-java-com-groupdocs-assembly-examples-GenerateReport-bulletedlisttxt.java

// For complete examples and data files, please go to https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-Java
String srcDocument = "/Text Templates/Bulleted List.txt";
String docReport = "/Text Reports/Bulleted List_report.txt";
try {
	DocumentAssembler assembler = new DocumentAssembler();
	assembler.assembleDocument(CommonUtilities.getDataPath(srcDocument),
			CommonUtilities.getOutPath(docReport), new DataStorage(), null);
} catch (Exception exp) {
	System.out.println("Exception: " + exp.getMessage());
}