Example usage for org.apache.poi.xssf.model Comments getCellAddresses

List of usage examples for org.apache.poi.xssf.model Comments getCellAddresses

Introduction

In this page you can find the example usage for org.apache.poi.xssf.model Comments getCellAddresses.

Prototype

Iterator<CellAddress> getCellAddresses();

Source Link

Document

Returns all cell addresses that have comments.

Usage

From source file:utilities.SmapSheetXMLHandler.java

License:Apache License

private void init(Comments commentsTable) {
    if (commentsTable != null) {
        commentCellRefs = new LinkedList<>();
        for (Iterator<CellAddress> iter = commentsTable.getCellAddresses(); iter.hasNext();) {
            commentCellRefs.add(iter.next());
        }/* w  w w.j  ava  2s.c  o m*/
    }
}