Class PPTXMLDump

java.lang.Object
org.apache.poi.hslf.dev.PPTXMLDump

public final class PPTXMLDump extends Object
Utility class which dumps raw contents of a ppt file into XML format
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dump(byte[] data, int offset, int length, int padding)
    Dump a part of the document stream into XML
    void
    dump(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(String[] args)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • dump

      public void dump(Writer outWriter) throws IOException
      Dump the structure of the supplied PPT file into XML
      Parameters:
      outWriter - Writer to write out
      Throws:
      IOException
    • dump

      public void dump(byte[] data, int offset, int length, int padding) throws IOException
      Dump a part of the document stream into XML
      Parameters:
      data - PPT binary data
      offset - offset from the beginning of the document
      length - of the document
      padding - used for formatting results
      Throws:
      IOException
    • dumpPictures

      public void dumpPictures(byte[] data, int padding) throws IOException
      Dumps the Pictures OLE stream into XML.
      Parameters:
      data - from the Pictures OLE data stream
      padding -
      Throws:
      IOException
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception