src/main/java/org/sikuli/slides/api/Slides.java
public static List<Action> interpret(File file) throws IOException {
		checkNotNull(file);
		Interpreter interpreter = new DefaultInterpreter();
		SlidesReader reader = new PPTXSlidesReader();		
		List<Slide> slides;
		slides = reader.read(file);
		List<Action> actions = Lists.newArrayList();
		for (Slide slide : slides){
			Action action = interpreter.interpret(slide);
			actions.add(action);
			logger.info("Action interpreted: {}", action);
		}
		return actions;
	}
public static List<Action> interpret(File file) throws IOException {
		checkNotNull(file);
		Interpreter interpreter = new DefaultInterpreter();
		SlidesReader reader = new PPTXSlidesReader();		
		List<Slide> slides;
		slides = reader.read(file);
		List<Action> actions = Lists.newArrayList();
		for (Slide slide : slides){
			Action action = interpreter.interpret(slide);
			actions.add(action);
			logger.info("Action interpreted: {}", action);
		}
		return actions;
	}
public static List < Action > interpret ( File file ) throws IOException { checkNotNull ( file ) ; Interpreter interpreter = new DefaultInterpreter ( ) ; SlidesReader reader = new PPTXSlidesReader ( ) ; List < Slide > slides ; slides = reader . read ( file ) ; List < Action > actions = Lists . newArrayList ( ) ; for ( Slide slide : slides ) { Action action = interpreter . interpret ( slide ) ; actions . add ( action ) ; logger . info ( "Action interpreted: {}" , action ) ; } return actions ; }
Interpret a presentation file as a list of executable actions
@param file	the presentation file
@return	a list of {@link Action}
@throws IOException
Interpret a presentation file as a list of executable actions