mirror of https://github.com/apache/poi.git
Update Javadoc somewhat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b07bb06837
commit
240579a854
|
@ -113,8 +113,16 @@ public abstract class CellRangeAddressBase {
|
||||||
return _lastRow;
|
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) {
|
public boolean isInRange(int rowInd, int colInd) {
|
||||||
return _firstRow <= rowInd && rowInd <= _lastRow &&
|
return _firstRow <= rowInd && rowInd <= _lastRow &&
|
||||||
_firstCol <= colInd && colInd <= _lastCol;
|
_firstCol <= colInd && colInd <= _lastCol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
package org.apache.poi.xssf.usermodel;
|
package org.apache.poi.xssf.usermodel;
|
||||||
|
|
||||||
import org.apache.poi.ss.usermodel.CreationHelper;
|
import org.apache.poi.ss.usermodel.CreationHelper;
|
||||||
|
import org.apache.poi.ss.usermodel.Hyperlink;
|
||||||
|
|
||||||
public class XSSFCreationHelper implements CreationHelper {
|
public class XSSFCreationHelper implements CreationHelper {
|
||||||
private XSSFWorkbook workbook;
|
private XSSFWorkbook workbook;
|
||||||
|
@ -38,6 +39,11 @@ public class XSSFCreationHelper implements CreationHelper {
|
||||||
return workbook.createDataFormat();
|
return workbook.createDataFormat();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new XSSFHyperlink.
|
||||||
|
*
|
||||||
|
* @param type - the type of hyperlink to create, see {@link Hyperlink}
|
||||||
|
*/
|
||||||
public XSSFHyperlink createHyperlink(int type) {
|
public XSSFHyperlink createHyperlink(int type) {
|
||||||
return new XSSFHyperlink(type);
|
return new XSSFHyperlink(type);
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class XSSFHyperlink implements Hyperlink {
|
||||||
/**
|
/**
|
||||||
* Create a new XSSFHyperlink. This method is protected to be used only by XSSFCreationHelper
|
* 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) {
|
protected XSSFHyperlink(int type) {
|
||||||
_type = type;
|
_type = type;
|
||||||
|
|
Loading…
Reference in New Issue