public final class SlideShowRecordDumper
extends java.lang.Object
Constructor and Description |
---|
SlideShowRecordDumper(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() |
java.lang.String |
printEscherContainerRecord(EscherContainerRecord ecr) |
java.lang.String |
printEscherRecord(EscherRecord er) |
static void |
printUsage() |
java.lang.String |
reverseHex(java.lang.String s) |
void |
walkTree(int depth,
int pos,
Record[] records) |
public SlideShowRecordDumper(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 java.lang.String printEscherRecord(EscherRecord er)
public java.lang.String printEscherContainerRecord(EscherContainerRecord ecr)
public void walkTree(int depth, int pos, Record[] records) throws java.io.IOException
java.io.IOException
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.