// For complete examples and data files, please go to https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-Java
// Set table column names to be extracted from the document.
DocumentTableSet tableSet = new DocumentTableSet(CommonUtilities.getDataPath(srcDocument), new ColumnNameExtractingDocumentTableLoadHandler());
// Set table names for conveniency.
tableSet.getTables().get(0).setName("Planets");
tableSet.getTables().get(1).setName("Persons");
tableSet.getTables().get(2).setName("Companies");
// Pass DocumentTableSet as a data source.
DocumentAssembler assembler = new DocumentAssembler();
assembler.assembleDocument(CommonUtilities.getDataPath(slideDoc), CommonUtilities.getOutPath("/Presentation Reports/out.pptx"), tableSet);