Example usage for org.apache.poi.hssf.usermodel HSSFName isFunctionName

List of usage examples for org.apache.poi.hssf.usermodel HSSFName isFunctionName

Introduction

In this page you can find the example usage for org.apache.poi.hssf.usermodel HSSFName isFunctionName.

Prototype

public boolean isFunctionName() 

Source Link

Document

Checks if this name is a function name

Usage

From source file:uk.ac.manchester.cs.owl.semspreadsheets.model.hssf.impl.WorkbookHSSFImpl.java

License:BSD License

public Collection<NamedRange> getNamedRanges() {
    Collection<NamedRange> result = new ArrayList<NamedRange>();
    for (int i = 0; i < workbook.getNumberOfNames(); i++) {
        HSSFName name = workbook.getNameAt(i);
        if (!name.isDeleted() && !name.isFunctionName()) {
            NamedRange range = new NamedRangeHSSFImpl(this, name);
            result.add(range);//from  w  w  w .j  a va2 s  .  c o  m
        }
    }
    return result;
}