return _lastRow;
}
+ /**
+ * Determines if the given coordinates lie within the bounds
+ * of this range.
+ *
+ * @param rowInd The row, 0-based.
+ * @param colInd The column, 0-based.
+ * @return True if the coordinates lie within the bounds, false otherwise.
+ */
public boolean isInRange(int rowInd, int colInd) {
- return _firstRow <= rowInd && rowInd <= _lastRow &&
+ return _firstRow <= rowInd && rowInd <= _lastRow &&
_firstCol <= colInd && colInd <= _lastCol;
}
package org.apache.poi.xssf.usermodel;
import org.apache.poi.ss.usermodel.CreationHelper;
+import org.apache.poi.ss.usermodel.Hyperlink;
public class XSSFCreationHelper implements CreationHelper {
private XSSFWorkbook workbook;
return workbook.createDataFormat();
}
+ /**
+ * Create a new XSSFHyperlink.
+ *
+ * @param type - the type of hyperlink to create, see {@link Hyperlink}
+ */
public XSSFHyperlink createHyperlink(int type) {
return new XSSFHyperlink(type);
}
/**
* Create a new XSSFHyperlink. This method is protected to be used only by XSSFCreationHelper
*
- * @param type - the type of hyperlink to create
+ * @param type - the type of hyperlink to create, see {@link Hyperlink}
*/
protected XSSFHyperlink(int type) {
_type = type;