Package org.apache.poi.ss.util

Examples of org.apache.poi.ss.util.SheetReferences


    public String getSheetName(int sheet) {
        return this.workbook.getSheets().getSheetArray(sheet).getName();
    }
   
    public SheetReferences getSheetReferences() {
      SheetReferences sr = new SheetReferences();
      for(int i=0; i<getNumberOfSheets(); i++) {
        sr.addSheetReference(getSheetName(i), i);
      }
      return sr;
  }
View Full Code Here


        // TODO - there are 3 ways this method can return null. Is each valid?
        if (book == null) {
            return null;
        }

        SheetReferences refs = book.getSheetReferences();
        if (refs == null) {
            return null;
        }
        return refs.getSheetName(externSheetIndex);
    }
View Full Code Here

TOP

Related Classes of org.apache.poi.ss.util.SheetReferences

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.