Package org.apache.poi.hslf.dev
Class PPTXMLDump
java.lang.Object
org.apache.poi.hslf.dev.PPTXMLDump
Utility class which dumps raw contents of a ppt file into XML format
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dump
(byte[] data, int offset, int length, int padding) Dump a part of the document stream into XMLvoid
Dump the structure of the supplied PPT file into XMLvoid
dumpPictures
(byte[] data, int padding) Dumps the Pictures OLE stream into XML.static void
-
Constructor Details
-
PPTXMLDump
- Throws:
IOException
-
-
Method Details
-
dump
Dump the structure of the supplied PPT file into XML- Parameters:
outWriter
-Writer
to write out- Throws:
IOException
-
dump
Dump 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:
IOException
-
dumpPictures
Dumps the Pictures OLE stream into XML.- Parameters:
data
- from the Pictures OLE data streampadding
-- Throws:
IOException
-
main
- Throws:
Exception
-