jason height added to who we are page, patch from e. pugh:
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=3004 PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352842 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e8a78447ac
commit
432f37476d
@ -52,6 +52,7 @@
|
|||||||
<section title="Developers">
|
<section title="Developers">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Shawn Laubach (shawnlaubach at cox dot net)</li>
|
<li>Shawn Laubach (shawnlaubach at cox dot net)</li>
|
||||||
|
<li>Jason Height (jheight at chariot dot net dot au)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
@ -719,16 +719,16 @@ public class HSSFCell
|
|||||||
//Workbook.currentBook = null;
|
//Workbook.currentBook = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCellFormula() {
|
public String getCellFormula() {
|
||||||
//Workbook.currentBook=book;
|
//Workbook.currentBook=book;
|
||||||
SheetReferences refs = book.getSheetReferences();
|
SheetReferences refs = book.getSheetReferences();
|
||||||
String retval = FormulaParser.toFormulaString(refs, ((FormulaRecordAggregate)record).getFormulaRecord().getParsedExpression());
|
String retval = FormulaParser.toFormulaString(refs, ((FormulaRecordAggregate)record).getFormulaRecord().getParsedExpression());
|
||||||
//Workbook.currentBook=null;
|
//Workbook.currentBook=null;
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get the value of the cell as a number. For strings we throw an exception.
|
* get the value of the cell as a number. For strings we throw an exception.
|
||||||
* For blank cells we return a 0.
|
* For blank cells we return a 0.
|
||||||
@ -954,7 +954,7 @@ public class HSSFCell
|
|||||||
{
|
{
|
||||||
return record;
|
return record;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws RuntimeException if the bounds are exceeded.
|
* @throws RuntimeException if the bounds are exceeded.
|
||||||
*/
|
*/
|
||||||
@ -962,6 +962,9 @@ public class HSSFCell
|
|||||||
if (cellNum > 255) {
|
if (cellNum > 255) {
|
||||||
throw new RuntimeException("You cannot have more than 255 columns "+
|
throw new RuntimeException("You cannot have more than 255 columns "+
|
||||||
"in a given row (IV). Because Excel can't handle it");
|
"in a given row (IV). Because Excel can't handle it");
|
||||||
}
|
}
|
||||||
|
else if (cellNum < 0) {
|
||||||
|
throw new RuntimeException("You cannot reference columns with an index of less then 0.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user