Reading contents of spreadsheet - best practice
Posted: Sat Apr 19, 2008 4:05 am
I have made my first attempt at writing some java code to extract the contents of a spreadsheet. However, I am not particularly happy with the code as it stands, so I was hoping that some people here could offer some advice.
- It opens up calc to display the spreadsheet. I would prefer for the code to just run in the background.
- It appears that a cell contains either a double or a formula.
- Have I missed an interface?
- Is there a method to determine what the formula represents?
- Dates & times appear to be represented as doubles in the same way as lotus & excel
- I grabbed the code from Jakarta POI to convert the double to a date.
- Is there an OOo equivalent?
- Is there a better way to approach this problem?
- To be honest what I am looking for is the ODF equivalent of Jakarta POI
- Can use see any other obvious areas for improvement?