FileDocCategorySizeDatePackage
DrawingDump.javaAPI DocApache Poi 3.0.11851Mon Jan 01 12:39:42 GMT 2007org.apache.poi.util

DrawingDump

public class DrawingDump extends Object
Dump out the aggregated escher records

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        POIFSFileSystem fs      =
                new POIFSFileSystem(new FileInputStream(args[0]));
        HSSFWorkbook wb = new HSSFWorkbook(fs);
        System.out.println( "Drawing group:" );
        wb.dumpDrawingGroupRecords(true);

        for (int sheetNum = 1; sheetNum <= wb.getNumberOfSheets(); sheetNum++)
        {
            System.out.println( "Sheet " + sheetNum + ":" );
            HSSFSheet sheet = wb.getSheetAt(sheetNum - 1);
            sheet.dumpDrawingRecords(true);
        }