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
(将文档流的一部分转储到 XML)
|
void |
dump(java.io.Writer outWriter)
Dump the structure of the supplied PPT file into XML
(将提供的 PPT 文件的结构转储为 XML)
|
void |
dumpPictures(byte[] data, int padding)
Dumps the Pictures OLE stream into XML.
(将图片 OLE 流转储为 XML。)
|
static void |
main(java.lang.String[] args) |
public PPTXMLDump(java.io.File ppt) throws java.io.IOException
java.io.IOException
(java.io.IOException)
public void dump(java.io.Writer outWriter) throws java.io.IOException
outWriter
-
Writer
to write out
(outWriter - 写出的作家)
java.io.IOException
- If writing to the writer fails
(java.io.IOException - 如果写入写入器失败)
public void dump(byte[] data, int offset, int length, int padding) throws java.io.IOException
data
- PPT binary data
(data - PPT二进制数据)
offset
- offset from the beginning of the document
(offset - 从文档开头的偏移量)
length
- of the document
(长度 - 文档的长度)
padding
- used for formatting results
(padding - 用于格式化结果)
java.io.IOException
- If writing out information fails
(java.io.IOException - 如果写出信息失败)
public void dumpPictures(byte[] data, int padding) throws java.io.IOException
data
- from the Pictures OLE data stream
(数据 - 来自图片 OLE 数据流)
padding
- How many leading blanks to add in the output
(padding - 在输出中添加多少前导空格)
java.io.IOException
- If writing out information fails
(java.io.IOException - 如果写出信息失败)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
(java.lang.异常)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.