Package org.apache.poi.hslf.dev
Class SlideShowRecordDumper
java.lang.Object
org.apache.poi.hslf.dev.SlideShowRecordDumper
This class provides a way to view the contents of a powerpoint file.
It will use the recored layer to grok the contents of the file, and
will print out what it finds.
- Author:
- Nick Burch
-
Constructor Summary
ConstructorsConstructorDescriptionSlideShowRecordDumper
(PrintStream ps, String fileName, boolean verbose, boolean escher) Constructs a Powerpoint dump from fileName. -
Method Summary
Modifier and TypeMethodDescriptionint
getDiskLen
(Record r) static void
right now this function takes one parameter: a ppt file, and outputs a dump of what it containsmakeHex
(int number, int padding) void
void
printEscherRecord
(EscherRecord er, int indent) static void
reverseHex
(String s) void
-
Constructor Details
-
SlideShowRecordDumper
public SlideShowRecordDumper(PrintStream ps, String fileName, boolean verbose, boolean escher) throws IOException Constructs a Powerpoint dump from fileName. Parses the document and dumps out the contents- Parameters:
fileName
- The name of the file to read.- Throws:
IOException
- if there is a problem while parsing the document.
-
-
Method Details
-
main
right now this function takes one parameter: a ppt file, and outputs a dump of what it contains- Throws:
IOException
-
printUsage
public static void printUsage() -
printDump
- Throws:
IOException
-
makeHex
-
reverseHex
-
getDiskLen
- Throws:
IOException
-
getPrintableRecordContents
- Throws:
IOException
-
printEscherRecord
-
walkTree
- Throws:
IOException
-