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 getDataValidations() {
    final DataValidityTable tb = _sheet.getOrCreateDataValidityTable();
    final List dataValidations = new ArrayList();
    final RecordVisitor rv = new DVRecordVisitor(dataValidations);
    tb.visitContainedRecords(rv); //populate the dataValidations list
    return dataValidations;
    }

你可能感兴趣的:(Java,Google,Apache)