Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GroupDocsGists/b344e5c858da2e199934baf7038aee66 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/b344e5c858da2e199934baf7038aee66 to your computer and use it in GitHub Desktop.
// For complete examples and data files, please go to https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-Java
String srcDocument = "/Presentation Templates/Pie Chart.pptx";
String docReport = "/Presentation Reports/Pie Chart_report.pptx";
try {
DocumentAssembler assembler = new DocumentAssembler();
assembler.assembleDocument(CommonUtilities.getTestDataPath(srcDocument),
CommonUtilities.getTestOutPath(docReport),new DataSourceInfo( new DataStorage(), null));
} catch (Exception exp) {
System.out.println("Exception: " + exp.getMessage());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment