Utility to dump drawing records.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ed9f2b0bac
commit
4b20a61ad7
24
src/java/org/apache/poi/util/DrawingDump.java
Normal file
24
src/java/org/apache/poi/util/DrawingDump.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
package org.apache.poi.util;
|
||||||
|
|
||||||
|
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
||||||
|
import org.apache.poi.hssf.usermodel.HSSFSheet;
|
||||||
|
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
||||||
|
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.FileNotFoundException;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dump out the aggregated escher records
|
||||||
|
*/
|
||||||
|
public class DrawingDump
|
||||||
|
{
|
||||||
|
public static void main( String[] args ) throws IOException
|
||||||
|
{
|
||||||
|
POIFSFileSystem fs =
|
||||||
|
new POIFSFileSystem(new FileInputStream(args[0]));
|
||||||
|
HSSFWorkbook wb = new HSSFWorkbook(fs);
|
||||||
|
HSSFSheet sheet = wb.getSheetAt(0);
|
||||||
|
sheet.dumpDrawingRecords();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user