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