Changed CRLF to LF in .java base src files. Minor reformatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@776377 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e6a53dc85b
commit
bae270a565
@ -30,6 +30,7 @@ import org.apache.poi.ss.formula.WorkbookEvaluator;
|
||||
import org.apache.poi.ss.usermodel.Cell;
|
||||
import org.apache.poi.ss.usermodel.CellValue;
|
||||
import org.apache.poi.ss.usermodel.FormulaEvaluator;
|
||||
import org.apache.poi.ss.usermodel.Row;
|
||||
|
||||
/**
|
||||
* Evaluates formula cells.<p/>
|
||||
@ -277,11 +278,11 @@ public class HSSFFormulaEvaluator implements FormulaEvaluator {
|
||||
for(int i=0; i<wb.getNumberOfSheets(); i++) {
|
||||
HSSFSheet sheet = wb.getSheetAt(i);
|
||||
|
||||
for (Iterator rit = sheet.rowIterator(); rit.hasNext();) {
|
||||
HSSFRow r = (HSSFRow)rit.next();
|
||||
for (Iterator<Row> rit = sheet.rowIterator(); rit.hasNext();) {
|
||||
Row r = rit.next();
|
||||
|
||||
for (Iterator cit = r.cellIterator(); cit.hasNext();) {
|
||||
HSSFCell c = (HSSFCell)cit.next();
|
||||
for (Iterator<Cell> cit = r.cellIterator(); cit.hasNext();) {
|
||||
Cell c = cit.next();
|
||||
if (c.getCellType() == HSSFCell.CELL_TYPE_FORMULA)
|
||||
evaluator.evaluateFormulaCell(c);
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
package org.apache.poi.hssf.usermodel;
|
||||
|
||||
import org.apache.poi.hssf.model.Sheet;
|
||||
import org.apache.poi.hssf.record.CFRuleRecord;
|
||||
import org.apache.poi.hssf.record.aggregates.CFRecordsAggregate;
|
||||
import org.apache.poi.hssf.record.aggregates.ConditionalFormattingTable;
|
||||
|
@ -94,8 +94,7 @@ public enum SpreadsheetVersion {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the maximum number arguments that can be passed to a multi-arg
|
||||
* function (e.g. COUNTIF)
|
||||
* @return the maximum number arguments that can be passed to a multi-arg function (e.g. COUNTIF)
|
||||
*/
|
||||
public int getMaxFunctionArgs() {
|
||||
return _maxFunctionArgs;
|
||||
@ -112,7 +111,7 @@ public enum SpreadsheetVersion {
|
||||
/**
|
||||
*
|
||||
* @return the last valid column index in a ALPHA-26 representation
|
||||
* ( <code>IV</code> or <code>XFD</code>).
|
||||
* (<code>IV</code> or <code>XFD</code>).
|
||||
*/
|
||||
public String getLastColumnName() {
|
||||
return CellReference.convertNumToColString(getLastColumnIndex());
|
||||
|
Loading…
x
Reference in New Issue
Block a user