public final class SlideShowRecordDumper
extends java.lang.Object
Constructor and Description |
---|
SlideShowRecordDumper(java.io.PrintStream ps, java.lang.String fileName, boolean verbose, boolean escher)
Constructs a Powerpoint dump from fileName.
|
Modifier and Type | Method and Description |
---|---|
int |
getDiskLen(Record r) |
java.lang.String |
getPrintableRecordContents(Record r) |
static void |
main(java.lang.String[] args)
right now this function takes one parameter: a ppt file, and outputs a dump of what it contains
(现在这个函数有一个参数:一个 ppt 文件,并输出它包含的内容的转储)
|
java.lang.String |
makeHex(int number, int padding) |
void |
printDump() |
void |
printEscherRecord(EscherRecord er, int indent) |
static void |
printUsage() |
java.lang.String |
reverseHex(java.lang.String s) |
void |
walkTree(int depth, int pos, Record[] records, int indent) |
public SlideShowRecordDumper(java.io.PrintStream ps, java.lang.String fileName, boolean verbose, boolean escher) throws java.io.IOException
fileName
- The name of the file to read.
(fileName - 要读取的文件的名称。)
java.io.IOException
- if there is a problem while parsing the document.
(java.io.IOException - 如果在解析文档时出现问题。)
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
(java.io.IOException)
public static void printUsage()
public void printDump() throws java.io.IOException
java.io.IOException
(java.io.IOException)
public java.lang.String makeHex(int number, int padding)
public java.lang.String reverseHex(java.lang.String s)
public int getDiskLen(Record r) throws java.io.IOException
java.io.IOException
(java.io.IOException)
public java.lang.String getPrintableRecordContents(Record r) throws java.io.IOException
java.io.IOException
(java.io.IOException)
public void printEscherRecord(EscherRecord er, int indent)
public void walkTree(int depth, int pos, Record[] records, int indent) throws java.io.IOException
java.io.IOException
(java.io.IOException)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.