package org.apache.poi.hslf.dev;
+import java.io.IOException;
+
import org.apache.poi.hslf.record.EscherTextboxWrapper;
import org.apache.poi.hslf.record.PPDrawing;
import org.apache.poi.hslf.record.Record;
* searches those for text. Prints out any text it finds
*/
public final class PPDrawingTextListing {
- public static void main(String[] args) throws Exception {
+ public static void main(String[] args) throws IOException {
if(args.length < 1) {
System.err.println("Need to give a filename");
System.exit(1);
}
}
}
+
+ ss.close();
}
}
package org.apache.poi.hslf.dev;
+import java.io.IOException;
+
import org.apache.poi.hslf.record.Document;
import org.apache.poi.hslf.record.Record;
import org.apache.poi.hslf.record.RecordTypes;
* and reports how many, and what sorts of things they contain
*/
public final class SLWTListing {
- public static void main(String[] args) throws Exception {
+ public static void main(String[] args) throws IOException {
if(args.length < 1) {
System.err.println("Need to give a filename");
System.exit(1);
}
}
}
+
+ ss.close();
}
}
package org.apache.poi.hslf.dev;
+import java.io.IOException;
+
import org.apache.poi.hslf.record.Document;
import org.apache.poi.hslf.record.Record;
import org.apache.poi.hslf.record.SlideListWithText;
* what it finds.
*/
public final class SLWTTextListing {
- public static void main(String[] args) throws Exception {
+ public static void main(String[] args) throws IOException {
if(args.length < 1) {
System.err.println("Need to give a filename");
System.exit(1);
}
}
}
+
+ ss.close();
}
}
package org.apache.poi.hslf.dev;
+import java.io.IOException;
+
import org.apache.poi.hslf.record.Notes;
import org.apache.poi.hslf.record.NotesAtom;
import org.apache.poi.hslf.record.Record;
* Slides, Master Slides and Notes
*/
public final class SlideAndNotesAtomListing {
- public static void main(String[] args) throws Exception {
+ public static void main(String[] args) throws IOException {
if(args.length < 1) {
System.err.println("Need to give a filename");
System.exit(1);
System.out.println("");
}
}
+
+ ss.close();
}
}
package org.apache.poi.hslf.dev;
import java.io.ByteArrayOutputStream;
+import java.io.IOException;
import java.util.Map;
import org.apache.poi.hslf.record.Document;
public final class SlideIdListing {
private static byte[] fileContents;
- public static void main(String[] args) throws Exception {
+ public static void main(String[] args) throws IOException {
if(args.length < 1) {
System.err.println("Need to give a filename");
System.exit(1);
pos += baos.size();
}
+ ss.close();
+
System.out.println("");
}