use of com.herewhite.sdk.domain.Scene in project whiteboard-android by netless-io.
the class ConverterV5 method getPpt.
private ConvertedFiles getPpt(ConversionInfo info, ConvertType type) {
int length = info.getConvertedFileList().length;
String[] sliderURLs = new String[length];
Scene[] scenes = new Scene[length];
for (int i = 0; i < length; i++) {
PptPage pptPage = info.getConvertedFileList()[i];
sliderURLs[i] = pptPage.getSrc();
scenes[i] = new Scene(String.valueOf(i + 1), pptPage);
}
ConvertedFiles files = new ConvertedFiles();
files.setTaskId(taskUuid);
files.setType(type);
files.setSlideURLs(sliderURLs);
files.setScenes(scenes);
return files;
}
Aggregations