We load the template using
- Code: Select all
PresentationMLPackage pMLPackage =
(PresentationMLPackage)OpcPackage.load(new java.io.File(inputfilepath));
and save it finally using
- Code: Select all
pMLPackage.save(new File(System.getProperty("user.dir") + "/Outputs/BA_Multiple_INS_OUT.pptx"));
We do not close ...