/** * Constructs a Powerpoint document from the underlying * HSLFSlideShow object. Finds the model stuff from this * * @param hslfSlideShow the HSLFSlideShow to base on */ public SlideShow(HSLFSlideShow hslfSlideShow) { // Get useful things from our base slideshow _hslfSlideShow = hslfSlideShow; _records = _hslfSlideShow.getRecords(); // Handle Parent-aware Records for (Record record : _records) { 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(); }