Example: savePresentations method

This example saves all the presentations opened in Lotus Symphony.

try {
  Application application = Application.getInstance();
  Presentations presentations = application.getPresentations();
  Presentation pre1 = presentations.openPresentation("D:\\test.odp", true);
  Presentation pre2 = presentations.openPresentation("D:\\test2.odp", true);
  Presentation pre3 = presentations.openPresentation("D:\\test3.odp", true);
  ...
  presentations.savePresentations();
} catch(Exception e) {
  e.printStackTrace();
}

Related information

savePresentations method