Example usage for org.apache.poi.xssf.usermodel XSSFName isFunctionName

List of usage examples for org.apache.poi.xssf.usermodel XSSFName isFunctionName

Introduction

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

Prototype

public boolean isFunctionName() 

Source Link

Document

Is the name refers to a user-defined function ?

Usage

From source file:uk.ac.manchester.cs.owl.semspreadsheets.model.xssf.impl.WorkbookXSSFImpl.java

License:Open Source License

public Collection<NamedRange> getNamedRanges() {
    Collection<NamedRange> result = new ArrayList<NamedRange>();
    for (int i = 0; i < workbook.getNumberOfNames(); i++) {
        XSSFName name = workbook.getNameAt(i);
        if (!name.isDeleted() && !name.isFunctionName()) {
            NamedRange range = new NamedRangeXSSFImpl(this, name);
            result.add(range);//from   w ww  .  j  a va  2  s. c  om
        }
    }
    return result;
}