Package org.apache.poi.hslf.dev
Class PPTXMLDump
- java.lang.Object
-
- org.apache.poi.hslf.dev.PPTXMLDump
-
public final class PPTXMLDump extends java.lang.ObjectUtility class which dumps raw contents of a ppt file into XML format
-
-
Constructor Summary
Constructors Constructor Description PPTXMLDump(java.io.File ppt)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(byte[] data, int offset, int length, int padding)Dump a part of the document stream into XMLvoiddump(java.io.Writer outWriter)Dump the structure of the supplied PPT file into XMLvoiddumpPictures(byte[] data, int padding)Dumps the Pictures OLE stream into XML.static voidmain(java.lang.String[] args)
-
-
-
Method Detail
-
dump
public void dump(java.io.Writer outWriter) throws java.io.IOExceptionDump the structure of the supplied PPT file into XML- Parameters:
outWriter-Writerto write out- Throws:
java.io.IOException
-
dump
public void dump(byte[] data, int offset, int length, int padding) throws java.io.IOExceptionDump a part of the document stream into XML- Parameters:
data- PPT binary dataoffset- offset from the beginning of the documentlength- of the documentpadding- used for formatting results- Throws:
java.io.IOException
-
dumpPictures
public void dumpPictures(byte[] data, int padding) throws java.io.IOExceptionDumps the Pictures OLE stream into XML.- Parameters:
data- from the Pictures OLE data streampadding-- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-