folone / poi.scala

Excel meets scalaz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to read the data from the sheet?

vooolll opened this issue · comments

I read your documentation about scala poi, but I can't find out how to actually read the data from the sheet. For instance I want to read all from the document and print it out. May be I just don't understand the dsl. Could you help me?

@vooolll look at the Workbook.apply methods, it reads from inputstream or file or such

https://github.com/folone/poi.scala/blob/master/src/main/scala/info.folone/scala.poi/Workbook.scala#L136

Can we set the order of the sheets in the workbook? I was trying to read an save a file, but the order of the sheets is getting messed up.

@nlw0 I don't think this is possible at the moment. They are sorted alphabetically.

For future reference, see #52 for how to order sheets.

Assuming issue has been addressed. Feel free to reopen if incorrect.