public final class PPTXMLDump
extends java.lang.Object
Constructor and Description |
---|
PPTXMLDump(java.io.File ppt) |
Modifier and Type | Method and Description |
---|---|
void |
dump(byte[] data,
int offset,
int length,
int padding)
Dump a part of the document stream into XML
|
void |
dump(java.io.Writer outWriter)
Dump the structure of the supplied PPT file into XML
|
void |
dumpPictures(byte[] data,
int padding)
Dumps the Pictures OLE stream into XML.
|
static void |
main(java.lang.String[] args) |
public PPTXMLDump(java.io.File ppt) throws java.io.IOException
java.io.IOException
public void dump(java.io.Writer outWriter) throws java.io.IOException
outWriter
- Writer
to write outjava.io.IOException
- If writing to the writer failspublic void dump(byte[] data, int offset, int length, int padding) throws java.io.IOException
data
- PPT binary dataoffset
- offset from the beginning of the documentlength
- of the documentpadding
- used for formatting resultsjava.io.IOException
- If writing out information failspublic void dumpPictures(byte[] data, int padding) throws java.io.IOException
data
- from the Pictures OLE data streampadding
- How many leading blanks to add in the outputjava.io.IOException
- If writing out information failspublic static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.