public final class SlideShowRecordDumper extends Object
| Constructor and Description |
|---|
SlideShowRecordDumper(PrintStream ps,
String fileName,
boolean verbose,
boolean escher)
Constructs a Powerpoint dump from fileName.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDiskLen(Record r) |
String |
getPrintableRecordContents(Record r) |
static void |
main(String[] args)
right now this function takes one parameter: a ppt file, and outputs a
dump of what it contains
|
String |
makeHex(int number,
int padding) |
void |
printDump() |
void |
printEscherRecord(EscherRecord er,
int indent) |
static void |
printUsage() |
String |
reverseHex(String s) |
void |
walkTree(int depth,
int pos,
Record[] records,
int indent) |
public SlideShowRecordDumper(PrintStream ps, String fileName, boolean verbose, boolean escher) throws IOException
fileName - The name of the file to read.IOException - if there is a problem while parsing the document.public static void main(String[] args) throws IOException
IOExceptionpublic static void printUsage()
public void printDump()
throws IOException
IOExceptionpublic String makeHex(int number, int padding)
public int getDiskLen(Record r) throws IOException
IOExceptionpublic String getPrintableRecordContents(Record r) throws IOException
IOExceptionpublic void printEscherRecord(EscherRecord er, int indent)
public void walkTree(int depth,
int pos,
Record[] records,
int indent)
throws IOException
IOException