From 0a50fdb2f1969cd27d5523e708706bf432354899 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 | 146 +++++++----------- 1 file changed, 54 insertions(+), 92 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 33e353c0fc..c0c21e96f1 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