/** * Constructs a Powerpoint document from a specific point in a * POIFS Filesystem. Parses the document and places all the * important stuff into data structures. * * @param dir the POIFS directory to read from * @throws IOException if there is a problem while parsing the document. */ public HSLFSlideShowImpl(DirectoryNode dir) throws IOException { super(handleDualStorage(dir)); // First up, grab the "Current User" stream // We need this before we can detect Encrypted Documents readCurrentUserStream(); // Next up, grab the data that makes up the // PowerPoint stream readPowerPointStream(); // Now, build records based on the PowerPoint stream buildRecords(); // Look for any other streams readOtherStreams(); }