Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for reading error cells and non-numeric formula cells #33

Merged
merged 5 commits into from
Mar 23, 2015

Conversation

oliverholworthy
Copy link
Contributor

Changes discussed in issue #32.

  • read-cell supports error cells (returning keyword corresponding to type)
  • read-cell can read non-numeric formula cells
  • removal of trailing whitespace
  • addition to CHANGELOG.md under 1.9.0 (The current snapshot version)
  • note on error handling in README.md

On successful merge. Pull requests #7 #8 #11 #31 and issues #21 #27 #32 can be closed.

Adding method for Cell/CELL_TYPE_ERROR (The only unhandled cell type)

Returns keyword value of the FormulaError Enumeration

i.e. one of the following:

:VALUE :DIV0 :CIRCULAR_REF :REF :NUM :NULL :FUNCTION_NOT_IMPLEMENTED :NAME :NA
…ultimethod

DateUtil/isCellDateFormatted is only valid for numeric type cells. So
need to check this after evaluation of the formula when we know the type
of cell value.

Previously calling read-cell on a formula cell that evaluated to
anything other than a numeric value resulted in an
IllegalStateException.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants