POI HSSFSheet

http://code.google.com/p/zkpoi/source/browse/branches/zkpoi/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java?r=14



//20100727, Henri Chen: handle DataValidation
    public List<DataValidation> getDataValidations() {
    final DataValidityTable tb = _sheet.getOrCreateDataValidityTable();
    final List<DataValidation> dataValidations = new ArrayList<DataValidation>();
    final RecordVisitor rv = new DVRecordVisitor(dataValidations);
    tb.visitContainedRecords(rv); //populate the dataValidations list
    return dataValidations;
    }

你可能感兴趣的:(java,apache,Google)