From 1b45e2059555284a9e07af8d596f59fb1b76a317 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Sun, 26 Jun 2005 19:05:07 +0000 Subject: [PATCH] Use the new "most recent important records" record list when creating notes and slides. Makes the code much cleaner, and means that handling older versions of slides is taken care of in a much better manner git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353733 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hslf/usermodel/SlideShow.java | 144 +++++++----------- 1 file changed, 53 insertions(+), 91 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/SlideShow.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/SlideShow.java index 33e353c0f..c0c21e96f 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/SlideShow.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/SlideShow.java @@ -59,29 +59,9 @@ public class SlideShow // Friendly objects for people to deal with private Slide[] _slides; private Notes[] _notes; + // MetaSheets (eg masters) not yet supported // private MetaSheets[] _msheets; - /** - * right now this function takes one parameter: a ppt file, and outputs - * the text it can find for it - */ - public static void main(String args[]) throws IOException - { - HSLFSlideShow basefoo = new HSLFSlideShow(args[0]); - SlideShow foo = new SlideShow(basefoo); - - Slide[] slides = foo.getSlides(); - for(int i=0; i i) { - Vector thisSetsV = sortedSetsV[i]; - sets = new SlideAtomsSet[thisSetsV.size()]; - for(int j=0; j