/** * Constructs a Powerpoint document from the underlying * HSLFSlideShow object. Finds the model stuff from this * * @param hslfSlideShow the HSLFSlideShow to base on */ public HSLFSlideShow(HSLFSlideShowImpl hslfSlideShow) { loadSavePhase.set(LoadSavePhase.INIT); // Get useful things from our base slideshow _hslfSlideShow = hslfSlideShow; // Handle Parent-aware Records for (Record record : _hslfSlideShow.getRecords()) { if(record instanceof RecordContainer){ RecordContainer.handleParentAwareRecords((RecordContainer)record); } } // Find the versions of the core records we'll want to use findMostRecentCoreRecords(); // Build up the model level Slides and Notes buildSlidesAndNotes(); loadSavePhase.set(LoadSavePhase.LOADED); }