public final class SlideShowDumper
extends java.lang.Object
To figure out what things are, and if they are atoms or not, used the list in hslf.record.RecordTypes
To peek inside PPDrawings, which hold Escher drawings, we use the DDF package from POI (but we can fake it by using the Escher listings from hslf.record.RecordTypes also)
Constructor and Description |
---|
SlideShowDumper(POIFSFileSystem filesystem,
java.io.PrintStream out)
Constructs a Powerpoint dump from a POIFS Filesystem.
|
Modifier and Type | Method and Description |
---|---|
static int |
getMaxRecordLength() |
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
|
void |
printDump() |
void |
setBasicEscher(boolean grok)
Control dumping of any Escher records found - should our built in
basic groker be used?
|
void |
setDDFEscher(boolean grok)
Control dumping of any Escher records found - should DDF be used?
|
static void |
setMaxRecordLength(int length) |
void |
walkEscherBasic(int indent,
int pos,
int len)
Use the basic record format groking code to walk the Escher records
|
void |
walkEscherDDF(int indent,
int pos,
int len)
Use the DDF code to walk the Escher records
|
void |
walkTree(int depth,
int startPos,
int maxLen) |
public SlideShowDumper(POIFSFileSystem filesystem, java.io.PrintStream out) throws java.io.IOException
filesystem
- the POIFS FileSystem to read fromjava.io.IOException
- if there is a problem while parsing the document.public static void setMaxRecordLength(int length)
length
- the max record length allowed for SlideShowDumperpublic static int getMaxRecordLength()
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public void setDDFEscher(boolean grok)
public void setBasicEscher(boolean grok)
public void printDump() throws java.io.IOException
java.io.IOException
public void walkTree(int depth, int startPos, int maxLen) throws java.io.IOException
java.io.IOException
public void walkEscherDDF(int indent, int pos, int len)
public void walkEscherBasic(int indent, int pos, int len) throws java.io.IOException
java.io.IOException
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.